Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Exception log
@ 2009-02-23  2:02 Jacob Certain
  2009-02-23  2:14 ` Jacob Certain
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Certain @ 2009-02-23  2:02 UTC (permalink / raw)


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.

jake at daedalus:~/.sup$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"

jake at daedalus:~/.sup$ uname -a
Linux daedalus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

jake at 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
-------------- next part --------------
--- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] Exception log
  2009-02-23  2:02 [sup-talk] Exception log Jacob Certain
@ 2009-02-23  2:14 ` Jacob Certain
  2009-02-23 18:47   ` Jacob Certain
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Certain @ 2009-02-23  2:14 UTC (permalink / raw)


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.
> 
> jake at daedalus:~/.sup$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=8.10
> DISTRIB_CODENAME=intrepid
> DISTRIB_DESCRIPTION="Ubuntu 8.10"
> 
> jake at daedalus:~/.sup$ uname -a
> Linux daedalus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
> 
> jake at 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] Exception log
  2009-02-23  2:14 ` Jacob Certain
@ 2009-02-23 18:47   ` Jacob Certain
  0 siblings, 0 replies; 4+ messages in thread
From: Jacob Certain @ 2009-02-23 18:47 UTC (permalink / raw)


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.
> > 
> > jake at daedalus:~/.sup$ cat /etc/lsb-release
> > DISTRIB_ID=Ubuntu
> > DISTRIB_RELEASE=8.10
> > DISTRIB_CODENAME=intrepid
> > DISTRIB_DESCRIPTION="Ubuntu 8.10"
> > 
> > jake at daedalus:~/.sup$ uname -a
> > Linux daedalus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
> > 
> > jake at 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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] Exception Log
@ 2009-07-07 17:44 Iain
  0 siblings, 0 replies; 4+ messages in thread
From: Iain @ 2009-07-07 17:44 UTC (permalink / raw)


I'm using Sup 0.8.1 on Ubuntu 8.10 -- from the .deb kindly put together
by Decklin Foster, <http://apt.rupamsunyata.org/sup/>.

A few minutes ago, sup crashed on me. ~/.sup/exception-log.txt :

--- NoMethodError from thread: main
undefined method `title' for nil:NilClass
/usr/lib/ruby/1.8/sup/buffer.rb:747:in `get_status_and_title'
/usr/lib/ruby/1.8/sup/buffer.rb:281:in `draw_screen'
/usr/bin/sup-mail:306

The crash may have something to do with receiving a new message (from an
automatic poll of a Maildir) at the same time as having just read and
archived the prior first message in the inbox, using: ".a".


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-07 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-23  2:02 [sup-talk] Exception log Jacob Certain
2009-02-23  2:14 ` Jacob Certain
2009-02-23 18:47   ` Jacob Certain
2009-07-07 17:44 [sup-talk] Exception Log Iain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox