Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: bwalton@artsci.utoronto.ca (Ben Walton)
Subject: [sup-talk] exception with undomanager
Date: Sun, 07 Jun 2009 08:33:49 -0400	[thread overview]
Message-ID: <1244377876-sup-7845@ntdws12.chass.utoronto.ca> (raw)


Hi All,

I bumped into this this morning.  I've not used the undo stuff much,
but I tried it today.  The (rough) sequence of events leading to this
was: I archived two threads separately and then decided I wanted to
undo the first of two actions.  I hit u once and got the latest thread
back and when I hit it again, sup crashed.  If I get a chance I'll
look into it myself, but I'm tossing it out for people more familiar
with these bits to see also.

Thanks
-Ben


$ less ~/.sup/exception-log.txt 
--- NoMethodError from thread: main
undefined method `content_width' for nil:NilClass
./sup/modes/thread-index-mode.rb:868:in `from_width'
./sup/modes/thread-index-mode.rb:793:in `text_for_thread_at'
/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`each_with_index'
./sup/modes/thread-index-mode.rb:792:in `each'
./sup/modes/thread-index-mode.rb:792:in `each_with_index'
./sup/modes/thread-index-mode.rb:792:in `text_for_thread_at'
./sup/modes/thread-index-mode.rb:753:in `regen_text'
./sup/util.rb:346:in `map_with_index'
/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`each_with_index'
./sup/util.rb:346:in `each'
./sup/util.rb:346:in `each_with_index'
./sup/util.rb:346:in `map_with_index'
./sup/modes/thread-index-mode.rb:753:in `regen_text'
./sup/modes/thread-index-mode.rb:228:in `update'
./sup/modes/thread-index-mode.rb:697:in `add_or_unhide'
./sup/modes/thread-index-mode.rb:319:in `actually_toggle_spammed'
./sup/undo.rb:28:in `call'
./sup/undo.rb:28:in `undo'
./sup/undo.rb:28:in `each'
./sup/undo.rb:28:in `undo'
./sup/util.rb:505:in `send'
./sup/util.rb:505:in `method_missing'
./sup/modes/thread-index-mode.rb:217:in `undo'
./sup/mode.rb:50:in `send'
./sup/mode.rb:50:in `handle_input'
./sup/buffer.rb:249:in `handle_input'
../bin/sup:237
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090607/3fcc2660/attachment.bin>


             reply	other threads:[~2009-06-07 12:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 12:33 Ben Walton [this message]
2009-06-08 17:18 ` William Morgan
2009-06-08 18:18   ` Edward Z. Yang
2009-06-08 18:50     ` Ben Walton
2009-06-08 19:02       ` Edward Z. Yang
2009-06-08 19:20         ` Ben Walton
2009-06-08 18:59     ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244377876-sup-7845@ntdws12.chass.utoronto.ca \
    --to=bwalton@artsci.utoronto.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox