- 
                Notifications
    You must be signed in to change notification settings 
- Fork 230
Description
Script / WeeChat
- Name of script: whatsapp.py
- Script version: 0.2
- WeeChat version: 4.5.1
Bug summary
Thank you for creating weechat! I’d love to use a single chat client for all messages, including WhatsApp. It worked for me some time ago, but i’m now encountering issues. It seems others are experiencing the same problem, as mentioned here: https://stackoverflow.com/questions/71370880/unable-to-start-weechat-with-whastapp-script
edit: using matrix; https://github.com/poljar/weechat-matrix-rs + a whatsapp bridge is an better option..
Steps to reproduce
1. pip install yowsup
2. curl -o ~/.local/share/weechat/python/whatsapp.py https://raw.githubusercontent.com/weechat/scripts/main/python/whatsapp.py
3. /script load whatsapp.py in weechat
Current behavior
weechat is unable to find the YowInterfaceLayer (or any other yowsup imports)
21:36:50        weechat     │ python: stdout/stderr (?):   File "/home/q4pa/.local/share/weechat/python/autoload/whatsapp.py", line 397, in <module>
21:36:50        weechat     │ python: stdout/stderr (?):     class Server(YowInterfaceLayer):
21:36:50        weechat     │ python: stdout/stderr (?):                  ^^^^^^^^^^^^^^^^^
21:36:50        weechat     │ python: stdout/stderr (?): NameError: name 'YowInterfaceLayer' is not definedExpected behavior
To now throw the 'YowInterfaceLayer' is not defined error