Excerpts from Hamish D's message of dom nov 28 19:51:43 -0300 2010: > OK, here is a set of 4 patches that implement the change over to the > gpgme library. There's quite a bit of work in there so I thought I'd > leave it as a few patches, but I have done some tidying. > > I have some more ideas for improvements, but I'm happy that this > reproduces the behaviour of using the gpg binary, and I find sup usage > much smoother with this change.
When the gpgme gem is not installed, this patch makes sup die on start with: [mié ene 19 13:05:39 -0300 2011] No 'gpgme' gem detected. Install it for email encryption, decryption and signatures. [mié ene 19 13:05:39 -0300 2011] dynamically loading setlocale() from libc.so.6 [mié ene 19 13:05:39 -0300 2011] setting locale... [mié ene 19 13:05:39 -0300 2011] locking /home/alvherre/.sup/lock... [mié ene 19 13:05:39 -0300 2011] stopped cursing [mié ene 19 13:05:39 -0300 2011] ERROR: oh crap, an exception [mié ene 19 13:05:39 -0300 2011] unlocking /home/alvherre/.sup/lock... ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/alvherre/.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 ---------------------------------------------------------------- --- NameError from thread: main uninitialized constant Redwood::CryptoManager::GPGME /home/alvherre/Code/sup-mail/lib/sup/crypto.rb:49:in `initialize' ... Ruby is from Debian package ruby1.8, ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] I'm gonna install the gem now, but this should probably be fixed nonetheless. -- Álvaro Herrera -- Se vende casa en Ñuñoa: www.portalinmobiliario.com/993147 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel