Chuck Remes
11/15/2006 7:58:00 PM
I'd like to play around with dirwatch but I can't seem to get it running.
After installing all of its dependencies (alib, sldb, lockfile, sqlite, modifying dirwatch.rb to also require rubygems), I started going through the tutorial. It fails immediately (though "dirwatch --help" runs correctly).
Any ideas?
cremes$ dirwatch $tmp create
F, [2006-11-15T13:52:31.404874 #14975] FATAL -- : uninitialized constant SQLite::BusyException (NameError)
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:934:in `__busy_catch'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:629:in `transaction'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:878:in `__synchronizing'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:625:in `transaction'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:846:in `__bootstrap'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:839:in `open'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:839:in `__bootstrap'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:878:in `__synchronizing'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:832:in `__bootstrap'
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:590:in `initialize'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/mainhelper.rb:72:in `new'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/mainhelper.rb:72:in `init_db'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:63:in `create_db'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:29:in `create'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:25:in `open'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:25:in `create'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:283:in `lock'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in `attempt'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in `catch'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in `attempt'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in `loop'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in `attempt'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:209:in `lock'
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:198:in `initialize'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:24:in `new'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:24:in `create'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/main.rb:102:in `send'
/opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/main.rb:102:in `main'
/opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:321:in `run'
/opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:355:in `logcatch'
/opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:310:in `run'
/opt/local/bin/dirwatch:5