On Sun, Sep 04, 2016 at 08:23:00PM +0200, Ferdinand Pöll wrote:
> Package: python-axolotl

Hi Ferdinand,

Thanks for your report

> I installed python-axolotl for use with gajim-omemo, but I cannot activate the
> plugin and the description shows "Warning: Error: No module named
> legacymessageexception". Gajim prints to stderr "(E) gajim.plugin_system.omemo
> No module named legacymessageexception" on startup.

Is this the only warning/error you get? I could not reproduce it
The module legacymessageexception after the debian package installation should
be under "/usr/lib/python2.7/dist-packages/axolotl"

Did you check your Python path?

> Then I installed the python-axolotl package from pip, and that works as
> expected. What are the differences between the package from pip and the one
> from debian?

Right now the only differences between the debian package and the pip one are:

 - This patch which is required to build python-axolotl with the latest version
   of Protobuf:

   
https://sources.debian.net/src/python-axolotl/0.1.35-1/debian/patches/000-rename-protobuf-genetared-files.patch/


 - The path where the module is installed e.g:
   Debian installs their python modules under
   "/usr/lib/pythonX.Y/dist/packages/<module_name> " and pip installs the 
modules
   under: "/usr/local/lib/python2.7/dist-packages"


Both of above do not affect the access to legacymessageexception module, maybe
this is an issue with gajim-omemo itself using some weird path?

Cheers

---
Josue Ortega
«Happy Hacking»
http://josueortega.org

Attachment: signature.asc
Description: PGP signature

Reply via email to