Sup does not work with ruby-gpgme because of new 2.0.0 API

Bug #890972 reported by Clint Byrum
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
sup-mail (Debian)
Fix Released
Unknown
sup-mail (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ sup-mail
[Tue Nov 15 20:32:37 -0800 2011] ERROR: oh crap, an exception
----------------------------------------------------------------
I'm very sorry. It seems that an error occurred in Sup. Please
accept my sincere apologies. Please submit the contents of
/home/clint/.sup/exception-log.txt and a brief report of the
circumstances to http://masanjin.net/sup-bugs/ so that I might
address this problem. Thank you!

Sincerely,
William
----------------------------------------------------------------
--- NoMethodError from thread: main
undefined method `set_engine_info' for GPGME:Module
/usr/lib/ruby/1.8/sup/crypto.rb:61:in `initialize'
/usr/lib/ruby/1.8/sup/util.rb:622:in `new'
/usr/lib/ruby/1.8/sup/util.rb:622:in `init'
/usr/lib/ruby/1.8/sup.rb:167:in `start'
/usr/lib/ruby/1.8/sup.rb:167:in `each'
/usr/lib/ruby/1.8/sup.rb:167:in `start'
/usr/bin/sup-mail:162

sup-mail:
  Installed: 0.12.1-1
  Candidate: 0.12.1-1
  Version table:
 *** 0.12.1-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Changed in sup-mail (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sup-mail (Ubuntu):
status: New → Confirmed
Revision history for this message
Jim Cheetham (jim.cheetham) wrote :

My error is similar, although starting sup-mail displays old mail initially. sup dies when polling for new messages, so I've reproduced it more simply with sup-sync :-

jim@maru:~$ sup-sync
[Fri Apr 27 17:40:27 +1200 2012] WARNING: can't find character set by using locale, defaulting to utf-8
Scanning maildir:/home/jim/Maildir/INBOX...
/usr/lib/ruby/1.8/sup/crypto.rb:181:in `verify': undefined method `empty' for GPGME::Data:Class (NoMethodError)
 from /usr/lib/ruby/1.8/sup/util.rb:618:in `send'
 from /usr/lib/ruby/1.8/sup/util.rb:618:in `method_missing'
 from /usr/lib/ruby/1.8/sup/message.rb:558:in `inline_gpg_to_chunks'
 from /usr/lib/ruby/1.8/sup/message.rb:520:in `message_to_chunks'
 from /usr/lib/ruby/1.8/sup/message.rb:259:in `load_from_source!'
 from /usr/lib/ruby/1.8/sup/message.rb:328:in `build_from_source'
 from /usr/lib/ruby/1.8/sup/poll.rb:158:in `poll_from'
 from /usr/lib/ruby/1.8/sup/maildir.rb:106:in `poll'
 from /usr/lib/ruby/1.8/sup/util.rb:615:in `each_with_index'
 from /usr/lib/ruby/1.8/sup/maildir.rb:105:in `each'
 from /usr/lib/ruby/1.8/sup/maildir.rb:105:in `each_with_index'
 from /usr/lib/ruby/1.8/sup/maildir.rb:105:in `poll'
 from /usr/lib/ruby/1.8/sup/maildir.rb:90:in `each'
 from /usr/lib/ruby/1.8/sup/maildir.rb:90:in `poll'
 from /usr/lib/ruby/1.8/sup/poll.rb:155:in `poll_from'
 from /usr/lib/ruby/1.8/sup/util.rb:618:in `send'
 from /usr/lib/ruby/1.8/sup/util.rb:618:in `method_missing'
 from /usr/bin/sup-sync:122
 from /usr/bin/sup-sync:117:in `each'
 from /usr/bin/sup-sync:117

Revision history for this message
Guillaume Emont (guijemont) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 890972] Re: Sup does not work with ruby-gpgme because of new 2.0.0 API

Excerpts from Guillaume Emont's message of Tue May 15 08:15:18 UTC 2012:
> There seems to be a patch there
> http://gitorious.org/sup/mainline/merge_requests/12
>

I wrote that patch, with the intention of eventually shipping it in
Debian/Ubuntu.

However, it has caused some strange issues with sending signed messages
and I haven't had much time to figure them out.

Changed in sup-mail (Debian):
status: New → Fix Released
Revision history for this message
Iain Parris (ipv2) wrote :

Fixed upstream in Debian (in 2012)

Changed in sup-mail (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.