[DRE-maint] Bug#766168: sup-mail: crashes when saving draft encoded with UTF-8
Per Andersson
avtobiff at debian.org
Tue Oct 21 09:52:18 UTC 2014
Package: sup-mail
Version: 0.20.0-1
Severity: normal
Tags: upstream
Forwarded: https://github.com/sup-heliotrope/sup/issues/340
Reporting this myself so I can track it.
When trying to save a draft encoded with UTF-8, sup-mail crashes.
[2014-10-21 11:38:30 +0200] ERROR: oh crap, an exception
----------------------------------------------------------------
We are very sorry. It seems that an error occurred in Sup. Please
accept our sincere apologies. Please submit the contents of
/home/avtobiff/.sup/exception-log.txt and a brief report of the
circumstances to https://github.com/sup-heliotrope/sup/issues so that
we might address this problem. Thank you!
Sincerely,
The Sup Developers
----------------------------------------------------------------
--- ArgumentError from thread: main
invalid byte sequence in UTF-8
/usr/lib/ruby/vendor_ruby/sup/modes/edit_message_mode.rb:672:in `gsub'
/usr/lib/ruby/vendor_ruby/sup/modes/edit_message_mode.rb:672:in
`sanitize_body'
/usr/lib/ruby/vendor_ruby/sup/modes/edit_message_mode.rb:630:in
`write_message'
/usr/lib/ruby/vendor_ruby/sup/modes/edit_message_mode.rb:549:in `block
in save_as_draft'
/usr/lib/ruby/vendor_ruby/sup/draft.rb:19:in `block in write_draft'
/usr/lib/ruby/vendor_ruby/sup/draft.rb:19:in `open'
/usr/lib/ruby/vendor_ruby/sup/draft.rb:19:in `write_draft'
/usr/lib/ruby/vendor_ruby/sup/util.rb:658:in `method_missing'
/usr/lib/ruby/vendor_ruby/sup/modes/edit_message_mode.rb:549:in
`save_as_draft'
/usr/lib/ruby/vendor_ruby/sup/mode.rb:59:in `handle_input'
/usr/lib/ruby/vendor_ruby/sup/buffer.rb:222:in `handle_input'
/usr/bin/sup-mail:270:in `<module:Redwood>'
/usr/bin/sup-mail:74:in `<main>'
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sup-mail depends on:
ii ruby 1:2.1.0.4
ii ruby-chronic 0.10.2-2
ii ruby-highline 1.6.21-1
ii ruby-locale 2.1.0-2
ii ruby-lockfile 2.1.3-1
ii ruby-mime-types 1.25-2
ii ruby-ncurses 1.4.7+dfsg-1+b2
ii ruby-rubymail 1.0.0-2
ii ruby-trollop 2.0-1
ii ruby-unicode 0.4.4-2+b2
ii ruby-xapian 1.2.18-1
ii ruby1.9.1 [ruby-interpreter] 1.9.3.484-2
ii ruby2.0 [ruby-interpreter] 2.0.0.484+really457-2
ii ruby2.1 [ruby-interpreter] 2.1.2-4
Versions of packages sup-mail recommends:
ii ruby-gpgme 2.0.5-1+b1
sup-mail suggests no packages.
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list