Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whatsapp.py and yowsup 3.0.0 #332

Open
dfroger opened this issue Apr 23, 2019 · 4 comments
Open

whatsapp.py and yowsup 3.0.0 #332

dfroger opened this issue Apr 23, 2019 · 4 comments
Labels
feature New feature request

Comments

@dfroger
Copy link

dfroger commented Apr 23, 2019

It seems that whatsapp.py needs to be upgraded for yowsup 3.0.0, these imports do not work for me:

from yowsup.layers.auth import AuthError
@dfroger
Copy link
Author

dfroger commented Apr 23, 2019

Related commit in yowsup.

@dfroger
Copy link
Author

dfroger commented Apr 23, 2019

also, self.getStack() no more has .setCredentials attribute

@dfroger
Copy link
Author

dfroger commented Apr 27, 2019

Note: I start working on it in this branch (but I don't have much time for it today)

@sand4rt
Copy link

sand4rt commented Jul 13, 2024

@dfroger were you able to get whatsapp.py working? I installed both Yowsup v3 and v2, but facing the following error:

python: stdout/stderr (?): /.local/share/weechat/python/autoload/whatsapp.py:1432: SyntaxWarning: invalid escape sequence '\ '
python: stdout/stderr (?):   weechat.prnt("", "whatsapp: use only characters: a-z A-Z 0-9 [ \ ] ^ _ - { | } @ .")
python: stdout/stderr (?): Package python-yowsup (yowsup) must be installed to use whatsapp protocol.
python: stdout/stderr (?): Get yowsup with your package manager, or at this URL: https://github.com/tgalal/yowsup
python: stdout/stderr (?): Traceback (most recent call last):
python: stdout/stderr (?):   File ".local/share/weechat/python/autoload/whatsapp.py", line 396, in <module>
python: stdout/stderr (?):     class Server(YowInterfaceLayer):
python: stdout/stderr (?):                  ^^^^^^^^^^^^^^^^^
python: stdout/stderr (?): NameError: name 'YowInterfaceLayer' is not defined
python: unable to parse file ".local/share/weechat/python/autoload/whatsapp.py"
script: 313 scripts for WeeChat 4.3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

3 participants