-
Notifications
You must be signed in to change notification settings - Fork 23
Strange issue with transwhat running under Spectrum2 #85
Comments
Try again with Python 3. |
I'm experiencing the same issue and I agree it is a python 2/3 related error. However,
EDIT: downgrading |
If I'm not mistaken it is only |
after installing through python 3 and running, we get:
|
I think you have to use Python 2.7 because of e4u for now... I am looking into a way to replace e4u completely. |
@stv0g is there a solution already for e4u and Python 3? |
No, I haven't found a replacement yet. |
@stv0g what exactly e4u do? convert from SoftBank encoding? How another yowsup-based app do that? We just found an active yowsup fork which requires python3, wonder how it works without e4u :) |
Yes, that's the only purpose of e4u: Line 49 in 35afbe5
It converts Emojis from Softbank to Unicode encoding. Could you try to just remove this part? Maybe WhatsApp already switched to Unicode? |
Hello,
I've installed, configured prosody and just working fine for months.
I got a problem with using transwhat with Spectrum2
Steps to reproduce as follows:
Note: all sensitive information below were replaced, e.g. password, domain.tld, etc.
• prosody configuration edited -
/etc/prosody/prosody.cfg.lua
, added the new component:• Spectrum2 were installed and transport were configured here:
/etc/spectrum2/transports/whatsapp.cfg
:• cloned transwhat:
• Installed dependencies that are required -
pip install --pre e4u protobuf python-dateutil yowsup2
• Preformed running python setup script:
~/transwhat# python setup.py build
and~/transwhat# python setup.py install
• Checked if backend were installed to expected place:
And finally, restarting Spectrum2
# spectrum2_manager start
and getting the following:Would you have any idea what's going on?
I'll appreciate any help.
The text was updated successfully, but these errors were encountered: