Hallo zusammen,
meine WhatApp Benachrichtigung unter fhem funktioniert auf einmal nicht mehr! Ich bekomme folgende Meldung:
2017.12.01 00:00:11 2: WhatsApp: starting yoswup-cli: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 6, in <module>
from yowsup.env import YowsupEnv
File "/opt/yowsup-master/yowsup/env/__init__.py", line 1, in <module>
from .env import YowsupEnv
File "/opt/yowsup-master/yowsup/env/env.py", line 15, in <module>
class YowsupEnv(with_metaclass(YowsupEnvType, object)):
File "/usr/lib/python2.7/abc.py", line 87, in __new__
cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Wie kann man dieses Problem beseitigen?
Ich habe gerade folgendes probiert:
sudo apt-get install python3-setuptools
sudo apt-get install python3-pip
sudo pip install six==1.10
Jetzt bekomme ich die o.g. Fehlermeldung nicht mehr, aber dafür folgende Meldung:
sudo python yowsup-cli demos -c /opt/yowsup-config/yowsup.config -s 49<Rufnummer> "Test"
yowsup-cli v2.0.15
yowsup v2.5.0
Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate
Authentication Error: not-authorized
Vielen Dank im Voraus.