* Removing :draft label
@ 2011-02-18 9:27 Gaute Hope
0 siblings, 0 replies; only message in thread
From: Gaute Hope @ 2011-02-18 9:27 UTC (permalink / raw)
To: Sup Talk
Hi,
I saved a draft for a message; later opened it, finished it and sent
it.. Now all the messages in the thread show: this is a draft message
hit e to edit, y to send. They are all incoming or sent messages, and if
I try to edit them to delete them sup crashes with:
--- NoMethodError from thread: main
undefined method `fn_for_offset' for #<Redwood::SentLoader:0x00000002539258>
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message.rb:182:in `draft_filename'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/resume-mode.rb:8:in `initialize'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/thread-view-mode.rb:416:in `new'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/thread-view-mode.rb:416:in `edit_draft'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/mode.rb:59:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:277:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:271:in `<module:Redwood>'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:80:in `<top (required)>'
/home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `load'
/home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `<main>'
I tried to enter the console find the message and manually remove :draft
using message.remove_label :draft. But this does not seem to do the
trick.. Also tried Index.save or xapian.flush.. but how can I make the
change go through ?
This does not seem to work anymore:
http://www.mail-archive.com/sup-talk@rubyforge.org/msg00874.html
Best regards, Gaute
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-18 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 9:27 Removing :draft label Gaute Hope
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox