[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [issue36] label tab completion with utf-8 chars fail



Apparently I can't even send messages when I enter the UTF-8 email address
manually. sup fails after having edited message and returning to the
edit message view. Attached is the exception log.

- gaute

Excerpts from Gaute Hope's message of 2010-01-03 16:51:55 +0100:
> This goes for tab completion with contacts containing UTF-8 chars.
> Possibly other places as well.
> 
> Similar exception, see attached exception log.
> 
> - gaute
> 
> Excerpts from Gaute Hope's message of 2009-12-25 15:02:35 +0100:
> > 
> > New submission from Gaute Hope <eg@gaute.vetsj.com>:
> > 
> > When trying to label a thread with a label containing unicode chars and pressing 
> > TAB I get this. When typing in the whole label manually it ads it with some 
> > minor glitches in the rendering of the message-line. When restarting sup I get a 
> > one space between the subject and the label that doesn't change background color 
> > when selected.
> > 
> > [2009-12-25 14:51:11 +0100] ERROR: oh crap, an exception
> > ----------------------------------------------------------------
> > I'm very sorry. It seems that an error occurred in Sup. Please
> > accept my sincere apologies. If you don't mind, please send the
> > contents of /home/gaute/.sup/exception-log.txt and a brief report of the
> > circumstances to sup-talk at rubyforge dot orgs so that I might
> > address this problem. Thank you!
> > 
> > Sincerely,
> > William
> > ----------------------------------------------------------------
> > --- Encoding::CompatibilityError from thread: main
> > incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `block (2 levels) in 
> > ask_many_with_completions'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `select'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `block in 
> > ask_many_with_completions'
> > /home/gaute/dev/ruby/sup.git/lib/sup/textfield.rb:75:in `call'
> > /home/gaute/dev/ruby/sup.git/lib/sup/textfield.rb:75:in `handle_input'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:572:in `ask'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:450:in 
> > `ask_many_with_completions'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:519:in `ask_for_labels'
> > /home/gaute/dev/ruby/sup.git/lib/sup/util.rb:546:in `method_missing'
> > /home/gaute/dev/ruby/sup.git/lib/sup/modes/thread-index-mode.rb:536:in 
> > `edit_labels'
> > /home/gaute/dev/ruby/sup.git/lib/sup/mode.rb:52:in `handle_input'
> > /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:266:in `handle_input'
> > bin/sup:244:in `<module:Redwood>'
> > bin/sup:67:in `<main>'
> > 
> > ----------
> > messages: 97
> > nosy: gauteh
> > priority: bug
> > ruby_version: 1.9.1
> > status: unread
> > sup_version: git
> > title: label tab completion with utf-8 chars fail
> > 
> --- Encoding::CompatibilityError from thread: main
> incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `block (2 levels) in ask_many_emails_with_completions'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `select'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `block in ask_many_emails_with_completions'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/textfield.rb:74:in `call'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/textfield.rb:74:in `handle_input'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:578:in `ask'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:472:in `ask_many_emails_with_completions'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:548:in `ask_for_contacts'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/compose-mode.rb:24:in `spawn_nicely'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:331:in `<module:Redwood>'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:78: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>'
--- Encoding::CompatibilityError from thread: main
incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:205:in `match'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:205:in `match'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:205:in `mime_encode_address'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `block (2 levels) in build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `map'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `block in build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:369:in `each'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:369:in `build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:322:in `send_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/mode.rb:51:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:272:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:285:in `<module:Redwood>'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:78: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>'

Attachment: signature.asc
Description: PGP signature