Problem running larch

15 views
Skip to first unread message

Harry Rickards

unread,
Oct 22, 2009, 4:25:43 PM10/22/09
to larch
Hi,

I'm getting the following output from larch:

./larch --from imap://localhost --to imaps://imap.gmail.com --from-
folder 'Inbox.ARCHIVE' --to-folder 'Google Mail/All Mail'
Source username (localhost): hrickards
Source password (localhost):
Destination username (imap.gmail.com): hric...@gmail.com
Destination password (imap.gmail.com):
/var/lib/gems/1.8/gems/larch-1.0.2/lib/larch/logger.rb:31:in `level=':
invalid log level: ~/.larch/larch.db (ArgumentError)
from /var/lib/gems/1.8/gems/larch-1.0.2/lib/larch/logger.rb:16:in
`initialize'
from /var/lib/gems/1.8/gems/larch-1.0.2/lib/larch.rb:27:in `new'
from /var/lib/gems/1.8/gems/larch-1.0.2/lib/larch.rb:27:in `init'
from ./larch:107

Anyone got any pointers?


Thanks
Harry Rickards

Ryan Grove

unread,
Oct 22, 2009, 5:13:17 PM10/22/09
to la...@googlegroups.com

The error message refers to larch.db, which wasn't added until Larch
1.1.0 (currently in development). Did you perhaps install the Larch
development gem at some point? It seems like you've got an odd mix of
Larch components -- possibly a 1.1.0 binary and a 1.0.2 lib.

Try completely uninstalling Larch (all versions) with `gem uninstall
larch`, then reinstall whichever version you prefer to use.

- Ryan

Reply all
Reply to author
Forward
0 new messages