Right, so, I can reproduce.

1. Delete ~/.sup folder
2. Start and close sup successfully
3. Run through sup-config add sup-add adding a mailbox (I used a local mbox for 
my system account)
4. Delete the mailbox entry in ~/.sup/sources.yaml

-OR-

4. rm ~/.sup/sources.yaml*

Merely deleting the last two masanjin sent & draft lines in the file is fine.

I guess I'm expecting sup to cope better a) a sources.yaml file without a 
mailbox; b) no sources.yaml file.

Anyway, hope this helps!

jake

On Sun, Feb 22, 2009 at 06:14:29PM -0800, Jacob Certain wrote:
> Damnation. I've gone and been an idiot, and deleted my ~/.sup folder.
> I know.. should've just renamed it. I tried wiping out the sources.yaml
> file again before configuring sup at all, but sup still starts and exits
> fine.
> 
> jake
> 
> 
> On Sun, Feb 22, 2009 at 06:02:31PM -0800, Jacob Certain wrote:
> > Got an exception, probably my fault : )
> > 
> > I ran sup, it worked. I closed sup. I edited my sources.yaml file. Old, 
> > then new copies are below. Next run of sup crashed. Attached is the 
> > exception log sup asked me to send y'all.
> > 
> > Lemme know if I can be of more help.
> > 
> > j...@daedalus:~/.sup$ cat /etc/lsb-release
> > DISTRIB_ID=Ubuntu
> > DISTRIB_RELEASE=8.10
> > DISTRIB_CODENAME=intrepid
> > DISTRIB_DESCRIPTION="Ubuntu 8.10"
> > 
> > j...@daedalus:~/.sup$ uname -a
> > Linux daedalus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 
> > GNU/Linux
> > 
> > j...@daedalus:~/.sup$ sup --version
> > [Sun Feb 22 17:57:19 -0800 2009] using character set encoding "UTF-8"
> > [Sun Feb 22 17:57:19 -0800 2009] optional 'chronic' library not found
> > (run 'gem install chronic' to install)
> > sup v0.6
> > 
> > 
> >   1 ---
> >   2 - !masanjin.net,2006-10-01/Redwood/MBox/Loader
> >   3   uri: mbox:/home/jake/mbox
> >   4   cur_offset: 133901
> >   5   usual: true
> >   6   archived: true
> >   7   id: 1
> >   8   labels:
> >   9   - system
> >  10 - !masanjin.net,2006-10-01/Redwood/IMAP
> >  11   uri: imaps://imap.gmail.com:993/INBOX
> >  12   username: jace42
> >  13   password: ****************
> >  14   cur_offset: 12336959040043986
> >  15   usual: true
> >  16   archived: false
> >  17   id: 2
> >  18   labels:
> >  19   - gmail
> >  20 - !masanjin.net,2006-10-01/Redwood/IMAP
> >  21   uri: imaps://imap.gmail.com:993/wotd
> >  22   username: jace42
> >  23   password: ***********
> >  24   cur_offset: 12336424920007821
> >  25   usual: true
> >  26   archived: false
> >  27   id: 3
> >  28   labels:
> >  29   - wotd
> >  30 - !masanjin.net,2006-10-01/Redwood/SentLoader
> >  31   cur_offset: 0
> >  32 - !masanjin.net,2006-10-01/Redwood/DraftLoader
> >  33   cur_offset: 0
> > 
> > 
> > 
> > 
> > ---
> > - !masanjin.net,2006-10-01/Redwood/MBox/Loader
> >   uri: mbox:/home/jake/mbox
> >   cur_offset: 133901
> >   usual: true
> >   archived: true
> >   id: 1
> >   labels:
> >   - system
> > j
> 
> > --- RuntimeError from thread: load threads for thread-index-mode
> > invalid source 2
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/index.rb:364:in `build_message'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/index.rb:263:in 
> > `each_id_by_date'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/thread.rb:330:in `call'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/thread.rb:330:in 
> > `load_n_threads'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/index.rb:263:in 
> > `each_id_by_date'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/index.rb:263:in `each'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/index.rb:263:in 
> > `each_id_by_date'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/thread.rb:326:in 
> > `load_n_threads'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/modes/thread-index-mode.rb:499:in
> >  `__unprotected_load_n_threads'
> > (eval):12:in `load_n_threads'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/modes/thread-index-mode.rb:483:in
> >  `load_n_threads_background'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup.rb:85:in `reporting_thread'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup.rb:83:in `initialize'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup.rb:83:in `new'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup.rb:83:in `reporting_thread'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/modes/thread-index-mode.rb:482:in
> >  `load_n_threads_background'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/lib/sup/modes/thread-index-mode.rb:552:in
> >  `__unprotected_load_threads'
> > (eval):12:in `load_threads'
> > /usr/lib/ruby/gems/1.8/gems/sup-0.6/bin/sup:166
> > /usr/bin/sup:19:in `load'
> > /usr/bin/sup:19
> 
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to