whatsapp-email-bridge icon indicating copy to clipboard operation
whatsapp-email-bridge copied to clipboard

yowsup v2.5.0 is not working

Open steglicd opened this issue 8 years ago • 3 comments

with recent version of yowsup (v2.5.0) the script will not start because of import errors:

Traceback (most recent call last): File "./WhatsAppEmailForwarder.py", line 71, in <module> from yowsup.layers.axolotl import YowAxolotlLayer # FIXME ImportError: cannot import name YowAxolotlLayer

Is there recommended version of yowsup to be used?

steglicd avatar May 24 '16 14:05 steglicd

BTW: when uncommenting the related YowAxolotlLayer import (which seems not to be used and also removed from yowsup) I get the script running but facing the same issue as described here #22 . But I am using SMTP Server instead of IMAP client. So I assume #22 is not related to IMAP client but to yowsup encryption layer.

steglicd avatar May 24 '16 21:05 steglicd

I seem to have the same issue, installed it on a Raspberry Pi 2 with up to date Debian Jessie. The class which the faulty line tries to import doesn't exist (anymore?), there are there classes defined for this layer: AxolotlSendLayer, AxolotlControlLayer and AxolotlReceivelayer. Instead of just commenting-out the faulty line I tried to replace with an import of the above classes, but no change (still doesn't work). Not sure if this broken class import is related to the malfunction of the send raise in #22.

palto42 avatar May 29 '16 10:05 palto42

I'm sorry to hear you have some issues with the code, unfortunately I don't have the time at the moment to take a look and fix. If someone can investigate and report what they find, it would probably help a lot. Thanks for posting.

axel-angel avatar Jun 02 '16 17:06 axel-angel