I'm developing a firefox addon which is depended on Python (which means that the user must install PyXpcomExt on his firefox). On the other hand I used PyCrypto lib (based on python) for encryption purposes.
So when firefox is loaded I have registered path to this library. However when the extension is run I get the following error:
File "/home/.../.mozilla/firefox/qvpgc3wq.default/extensions/..../pylib/mycryptoclass.py", line 4, in from Crypto.Cipher import AES
ImportError: /home/.../.mozilla/firefox/qvpgc3wq.default/extensions/.../platform/Linux_x86-gcc3/pylib/Crypto/Cipher/AES.so: undefined symbol: PyExc_ValueError
I also tried:
import Crypto from Crypto import Cipher
No error is thrown!
Any Ideas?
Thanks