Help getting dirwatch 0.90 running

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:intransaction’
/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:intransaction’
/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:inopen’
/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:ininitialize’
/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:ininit_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:increate’
/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:increate’
/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:inattempt’
/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:inattempt’
/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:inattempt’
/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:ininitialize’
/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:increate’
/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:inmain’
/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:inlogcatch’
/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

Have you ever solved your problem?
I am stucked at my first step on windows: what to do with the
uncompressed “dirwatch-0.9.0” (I downloaded the “dirwatch-0.9.0.gz” file
at
http://raa.ruby-lang.org/project/dirwatch/ as I don’t know also what to
do with the other files in the structure).
What would be the step by step way of doing it?

Thanks for any hint,
paulo

Chuck R. wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs