traceback on decryption of OpenPGP-encrypted messages
Bug description
Whenever I come online and receive OpenPGP-encrypted messages that were sent while I was offline, there are tracebacks. I never noticed these when receiving OpenPGP-encrypted messages while being online (but I could not yet test this).
Exception in thread Thread-53:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/path/to/local/gajim-hg/src/gui_interface.py", line 3051, in thread_function
output = func(*func_args)
File "/path/to/local/gajim-hg/src/common/connection_handlers.py", line 975, in decrypt_thread
self.gpg_messages_to_decrypt.remove([encmsg, keyID, obj])
ValueError: list.remove(x): x not in list
The messages still get decrypted and displayed.
Steps to reproduce
Go offline, have someone send you an OpenPGP-encrypted message. Go online.
Software versions
OS version: Ubuntu 12.04.2
GTK version: 2.24.10
PyGTK version: 2.24.0