help getting dirwatch 0.90 running

Discussion in 'Ruby' started by cremes.devlist@mac.com, Nov 15, 2006.

  1. Guest

    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
     
    , Nov 15, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benjamin Rutt
    Replies:
    2
    Views:
    982
    Peter Hansen
    Dec 20, 2005
  2. Ara.T.Howard

    [ANN] dirwatch-0.0.3

    Ara.T.Howard, Oct 15, 2004, in forum: Ruby
    Replies:
    0
    Views:
    124
    Ara.T.Howard
    Oct 15, 2004
  3. Ara.T.Howard

    [ANN] dirwatch-0.0.6

    Ara.T.Howard, Nov 4, 2004, in forum: Ruby
    Replies:
    0
    Views:
    226
    Ara.T.Howard
    Nov 4, 2004
  4. Ara.T.Howard

    [ANN] dirwatch-0.9.0

    Ara.T.Howard, Jul 2, 2005, in forum: Ruby
    Replies:
    4
    Views:
    283
  5. Replies:
    13
    Views:
    453
    Tad McClellan
    May 11, 2005
Loading...

Share This Page