[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

help getting dirwatch 0.90 running

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

1 Answer

Paulo Larisch

1/18/2008 6:23:00 PM

0

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... 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 Remes 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
>
--
Posted via http://www.ruby-....