Exception on plugin upgrade
Got below exception today when starting Gajim and being requested to upgrade OMEMO and "url image preview" plugins (see versions below). This is on Gajim 0.16.5 distrib package of Ubuntu 16.04 LTS. I have some accounts configured with OpenPGP so concurrently there were a passphrase dialog open.
Traceback (most recent call last):
File "/home/miki/.local/share/gajim/plugins/plugin_installer/plugin_installer.py", line 438, in on_plugin_downloaded
plugins = self.scan_dir_for_plugin(plugin_dir)
File "/home/miki/.local/share/gajim/plugins/plugin_installer/plugin_installer.py", line 534, in scan_dir_for_plugin
module = __import__(full_module_name)
File "/usr/share/gajim/src/common/demandimport.py", line 95, in _demandimport
return _import(name, globals, locals, fromlist, level)
File "/home/miki/.local/share/gajim/plugins/omemo/ui.py", line 33, in <module>
from axolotl.state.sessionrecord import SessionRecord
File "/usr/share/gajim/src/common/demandimport.py", line 114, in _demandimport
mod = _origimport(name, globals, locals)
File "/usr/lib/python2.7/dist-packages/axolotl/state/sessionrecord.py", line 1, in <module>
from . import storageprotos
File "/usr/share/gajim/src/common/demandimport.py", line 112, in _demandimport
return _origimport(name, globals, locals, fromlist, level)
File "/usr/lib/python2.7/dist-packages/axolotl/state/storageprotos.py", line 41, in <module>
options=None),
File "/home/miki/.local/lib/python2.7/site-packages/google/protobuf/descriptor.py", line 497, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors should not be created directly, but only retrieved from their parent.
Plugins->Available:
Help->About:
System:
$ dpkg -l |grep gajim
ii gajim 0.16.5-0.1 all GTK+-based Jabber client
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ dpkg -l|grep nbxmpp
ii python-nbxmpp 0.5.3-1 all Non blocking Jabber/XMPP Python library
$ dpkg -l|grep libgtk
ii libgtk-3-0:amd64 3.18.9-1ubuntu3.3 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.18.9-1ubuntu3.3 amd64 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.18.9-1ubuntu3.3 all common files for the GTK+ graphical user interface library
ii libgtk-3-dev:amd64 3.18.9-1ubuntu3.3 amd64 development files for the GTK+ library
ii libgtk-vnc-2.0-0:amd64 0.5.3-1.3ubuntu2.1 amd64 VNC viewer widget for GTK+3 (runtime libraries)
ii libgtk2-perl 2:1.2498-1 amd64 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2.0-0:amd64 2.24.30-1ubuntu1.16.04.2 amd64 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.30-1ubuntu1.16.04.2 amd64 programs for the GTK+ graphical user interface library
ii libgtk2.0-cil 2.12.10-6 amd64 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-common 2.24.30-1ubuntu1.16.04.2 all common files for the GTK+ graphical user interface library
ii libgtk2.0-dev 2.24.30-1ubuntu1.16.04.2 amd64 development files for the GTK+ library
ii libgtk3.0-cil 2.99.3-2 amd64 CLI binding for the GTK+ 3.0 toolkit
ii libgtkimageview0 1.6.4+dfsg-1 amd64 image viewer widget for GTK+
ii libgtkmm-2.4-1v5:amd64 1:2.24.4-2 amd64 C++ wrappers for GTK+ (shared libraries)
ii libgtkmm-3.0-1v5:amd64 3.18.0-1 amd64 C++ wrappers for GTK+ (shared libraries)
ii libgtksourceview-3.0-1:amd64 3.18.2-1 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-common 3.18.2-1 all common files for the GTK+ syntax highlighting widget
ii libgtksourceview2.0-0 2.10.5-2ubuntu2 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview2.0-common 2.10.5-2ubuntu2 all common files for the GTK+ syntax highlighting widget
ii libgtkspell0 2.0.16-1.1ubuntu1 amd64 a spell-checking addon for GTK's TextView widget
ii libgtkspell3-3-0:amd64 3.0.7-2 amd64 spell-checking addon for GTK+'s TextView widget