Hallo zusammen,
ich hab immer wieder das Problem dass bei eintreffen von Commands über yowsup das ganze System stirbt.
Ich hab mir momentan mit nagios und einem eventhandler beholfen um in diesem Fall fhem wieder zu starten,
doch erscheint es mir nicht als finale Lösung des Problems.
Ich hab folgende Meldung direkt bei einem Absturz aus dem Log gezogen.
Unmatched [ in regex; marked by <-- HERE in m/,connected]:[connected]:[connected]:[ <-- HERE 49***********,/ at ./FHEM/32_yowsup.pm line 374.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/yowsup-master/yowsup/demos/cli/cli.py", line 153, in startInputThread
cmd = self._queuedCmds.pop(0) if len(self._queuedCmds) else input(self.getPrompt()).strip()
EOFError: EOF when reading a line
Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 327, in <module>
if not parser.process():
File "/opt/yowsup-master/yowsup-cli", line 231, in process
self.startCmdline()
File "/opt/yowsup-master/yowsup-cli", line 259, in startCmdline
stack.start()
File "/opt/yowsup-master/yowsup/demos/cli/stack.py", line 25, in start
self.stack.loop(timeout = 0.5, discrete = 0.5)
File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 167, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 73, in handle_read
self.receive(data)
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 80, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 28, in receive
self.processReceived()
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 48, in processReceived
self.toUpper(oneMessageData)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 63, in receive
self.toUpper(payload)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 160, in receive
s.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 97, in receive
if not self.processIqRegistry(node):
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 132, in processIqRegistry
successClbk(protocolTreeNode, originalIq)
File "/opt/yowsup-master/yowsup/layers/protocol_iq/layer.py", line 30, in onPong
self.toUpper(ResultIqProtocolEntity.fromProtocolTreeNode(protocolTreeNode))
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/interface/interface.py", line 71, in receive
self.callbacks[entityType](entity)
File "/opt/yowsup-master/yowsup/demos/cli/layer.py", line 435, in onIq
print(entity)
IOError: [Errno 32] Broken pipe
Zusätzlich finden sich folgende Meldungen im Logfile:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/yowsup-master/yowsup/demos/cli/cli.py", line 153, in startInputThread
cmd = self._queuedCmds.pop(0) if len(self._queuedCmds) else input(self.getPrompt()).strip()
EOFError: EOF when reading a line
und:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/yowsup-master/yowsup/demos/cli/cli.py", line 153, in startInputThread
cmd = self._queuedCmds.pop(0) if len(self._queuedCmds) else input(self.getPrompt()).strip()
IOError: [Errno 104] Connection reset by peer
Hat das noch jemand beobachtet?
Das sind alles Meldungen von dem yowsup cli, das ist klar, aber kann man das nicht irgendwie abfangen damit das nicht fhem zum Absturz bringt und im zweifel reconnected?
Hier noch ein list des Devices:
Internals:
CONNECTS 6
FD 49
LAST_DISCONNECT 2015-08-15 21:04:16
NAME WhatsApp
NR 708
NTFY_ORDER 50-WhatsApp
PARTIAL
PID 23100
STATE connected
TIME 2015-08-15 21:48:45
TYPE yowsup
Readings:
2015-08-05 17:39:52 sent 49zzzzzzzzz Heyho.
2015-08-15 21:04:31 state connected
Attributes:
acceptFrom 49xxxxxxxxx,49yyyyyyyyyy,49zzzzzzzzzz
cmd /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
home PWD
nickname Home, Sweet Home
room yowsup
Fhem info:
Release : 5.6
OS : linux
Arch : arm-linux-gnueabihf-thread-multi-64int
Perl : v5.14.2
# $Id: 32_yowsup.pm 8925 2015-07-08 20:38:25Z justme1968 $
Gruß tdoe
welche version des modul benutz du? die normale aus dem update oder die mit der erweiterung für die gruppen?
wie schaut deine zeile 374 genau aus?
was steht im log wenn du verbose auf 4 stellt?
gruss
andre
Moin,
hab gerade ein command hingesendet, daraufhin ist prompt die connection abgerissen. Fhem hat diesmal wohl überlebt.
2015.08.15 22:01:09 4: WhatsApp: parse: CHATSTATE:
State: paused
From: 49yyyyyyyyyy@s.whatsapp.net
2015.08.15 22:01:09 4: WhatsApp: parse:
Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 327, in <module>
if not parser.process():
File "/opt/yowsup-master/yowsup-cli", line 231, in process
self.startCmdline()
File "/opt/yowsup-master/yowsup-cli", line 259, in startCmdline
stack.start()
File "/opt/yowsup-master/yowsup/demos/cli/stack.py", line 25, in start
self.stack.loop(timeout = 0.5, discrete = 0.5)
File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 167, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 73, in handle_read
self.receive(data)
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 80, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 28, in receive
self.processReceived()
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 48, in processReceived
self.toUpper(oneMessageData)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 63, in receive
self.toUpper(payload)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 160, in receive
s.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 101, in receive
recv(node)
File "/opt/yowsup-master/yowsup/layers/protocol_notifications/layer.py", line 41, in recvNotification
self.raiseErrorForNode(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 117, in raiseErrorForNode
raise ValueError("Unimplemented notification type %s " % node)
ValueError: Unimplemented notification type <notification type="encrypt" from="s.whatsapp.net" id="3008???????" t="14396??????">
<count value="0">
</count>
</notification>
2015.08.15 22:01:09 3: WhatsApp: sending /disconnect
2015.08.15 22:01:09 3: WhatsApp: Disconnected
2015.08.15 22:01:09 3: WhatsApp: read: end of file reached while sysread
2015.08.15 22:01:20 2: WhatsApp: setting $HOME to /opt/fhem
2015.08.15 22:01:20 2: WhatsApp: starting yoswup-cli: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2015.08.15 22:01:23 4: WhatsApp: parse: Yowsup Cli client
==================
Type /help for available commands
2015.08.15 22:01:23 4: WhatsApp: parse:
[offline]:
2015.08.15 22:01:23 3: WhatsApp: sending /L
2015.08.15 22:01:23 3: WhatsApp: sending /presence available
2015.08.15 22:01:23 3: WhatsApp: sending /presence name 'Home, Sweet Home'
Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 327, in <module>
if not parser.process():
File "/opt/yowsup-master/yowsup-cli", line 231, in process
self.startCmdline()
File "/opt/yowsup-master/yowsup-cli", line 259, in startCmdline
stack.start()
File "/opt/yowsup-master/yowsup/demos/cli/stack.py", line 25, in start
self.stack.loop(timeout = 0.5, discrete = 0.5)
File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 167, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 73, in handle_read
self.receive(data)
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 80, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 28, in receive
self.processReceived()
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 48, in processReceived
self.toUpper(oneMessageData)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 63, in receive
self.toUpper(payload)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 160, in receive
s.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 101, in receive
recv(node)
File "/opt/yowsup-master/yowsup/layers/protocol_notifications/layer.py", line 41, in recvNotification
self.raiseErrorForNode(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 117, in raiseErrorForNode
raise ValueError("Unimplemented notification type %s " % node)
ValueError: Unimplemented notification type <notification type="encrypt" offline="1" from="s.whatsapp.net" id="3008338???" t="14396??????">
<count value="0">
</count>
</notification>
2015.08.15 22:01:29 4: WhatsApp: parse: Auth: Logged in!
[connected]:[connected]:[connected]:
2015.08.15 22:01:29 3: WhatsApp: sending /disconnect
2015.08.15 22:01:29 3: WhatsApp: Disconnected
2015.08.15 22:01:29 3: WhatsApp: read: end of file reached while sysread
2015.08.15 22:01:39 2: WhatsApp: setting $HOME to /opt/fhem
2015.08.15 22:01:39 2: WhatsApp: starting yoswup-cli: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2015.08.15 22:01:42 4: WhatsApp: parse: Yowsup Cli client
==================
..........
==================
Type /help for available commands
2015.08.15 22:02:22 4: WhatsApp: parse:
[offline]:
2015.08.15 22:02:22 3: WhatsApp: sending /L
2015.08.15 22:02:22 3: WhatsApp: sending /presence available
2015.08.15 22:02:22 3: WhatsApp: sending /presence name 'Home, Sweet Home'
2015.08.15 22:02:23 4: WhatsApp: parse: Auth: Logged in!
2015.08.15 22:02:23 4: WhatsApp: parse:
[connected]:[connected]:[connected]:
2015.08.15 22:03:13 4: WhatsApp: parse: Iq:
ID: 1
Type: result
from: 49xxxxxxxxxx@s.whatsapp.net
2015.08.15 22:03:13 4: WhatsApp: parse:
Hier noch wie Zeile 374 aussieht:
366 my $number = $1;
367 my $time = $2;
368 my $id = $3;
369 my $message = $4;
370
371 my $chash = $modules{yowsup}{defptr}{$number};
372 if( !$chash ) {
373 my $accept_from = AttrVal($name, "acceptFrom", undef );
374 if( !$accept_from || ",$accept_from," =~/,$number,/ ) {
375 my $define = "$number yowsup $number";
376 my $cmdret = CommandDefine(undef,$define);
377 if($cmdret) {
378 Log3 $name, 1, "$name: Autocreate: An error occurred while creating device for number '$number': $cmdret";
379 } else {
380 #$cmdret = CommandAttr(undef,"$number alias ".$result->{$id}{name});
381 $cmdret = CommandAttr(undef,"$number room yowsup");
382 #$cmdret = CommandAttr(undef,"$number IODev $name");
383 }
384
385 $chash = $modules{yowsup}{defptr}{$number};
386 }
387 }
388
Ich teste weiter...
Nachtrag:
Ich hab folgende Änderung im Modul:
http://forum.fhem.de/index.php/topic,27543.msg319884.html#msg319884
(http://forum.fhem.de/index.php/topic,27543.msg319884.html#msg319884)
Gruss tdoe
deine zeilennummern passen nicht zu meinen. welche version des moduls ist das?
Hi,
Ich hab folgende Änderung im Modul:
http://forum.fhem.de/index.php/topic,27543.msg319884.html#msg319884 (http://forum.fhem.de/index.php/topic,27543.msg319884.html#msg319884)
Gruss tdoe
Ich habe hier so ziemlich genau das gleiche Problem.
Modul-Version:
# $Id: 32_yowsup.pm 8925 2015-07-08 20:38:25Z justme1968 $
Zeile 371ff:
my $chash = $modules{yowsup}{defptr}{$number};
if( !$chash ) {
my $accept_from = AttrVal($name, "acceptFrom", undef );
if( !$accept_from || ",$accept_from," =~/,$number,/ ) {
my $define = "$number yowsup $number";
my $cmdret = CommandDefine(undef,$define);
if($cmdret) {
Log3 $name, 1, "$name: Autocreate: An error occurred while creating device for number '$number': $cmdret";
} else {
#$cmdret = CommandAttr(undef,"$number alias ".$result->{$id}{name});
$cmdret = CommandAttr(undef,"$number room yowsup");
#$cmdret = CommandAttr(undef,"$number IODev $name");
}
$chash = $modules{yowsup}{defptr}{$number};
}
}
(374 fängt mit "if( !$accept_from ||..." an)
Attribut acceptFrom ist gesetzt auf "49xxxx,49yyyy".
Das Problem tritt nicht immer auf.
Ich habe das Gefühl, dass es nach etwas längerer fhem-Laufzeit auftritt und zwar schon wenn man anfängt zu schreiben (der chatstate also auf composing geht). Vor dem Schreiben wird das Haus in WhatsApp auf dem Handy als "online" angezeigt. Schon kurz nach dem ersten Buchstaben (vor dem Absenden) wird es als "zuletzt online am..." angezeigt.
Hilft das bei der Hilfe schon weiter? :)
Moin,
ich schliesse mich mal an....hab seit einiger Zeit yowsup laufen, um zu schauen ob es stabil läuft (in der Vergangenheit Problem gehabt). Läuft,aber :
accepptFrom hinzugefügt, ein Kommando gesendet --> WhatsApp offline, reconnect bringt folgendes:
Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 327, in <module>
if not parser.process():
File "/opt/yowsup-master/yowsup-cli", line 231, in process
self.startCmdline()
File "/opt/yowsup-master/yowsup-cli", line 259, in startCmdline
stack.start()
File "/opt/yowsup-master/yowsup/demos/cli/stack.py", line 25, in start
self.stack.loop(timeout = 0.5, discrete = 0.5)
File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 167, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 73, in handle_read
self.receive(data)
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 80, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 28, in receive
self.processReceived()
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 48, in processReceived
self.toUpper(oneMessageData)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 63, in receive
self.toUpper(payload)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 160, in receive
s.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 101, in receive
recv(node)
File "/opt/yowsup-master/yowsup/layers/protocol_notifications/layer.py", line 41, in recvNotification
self.raiseErrorForNode(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 117, in raiseErrorForNode
raise ValueError("Unimplemented notification type %s " % node)
ValueError: Unimplemented notification type <notification type="encrypt" offline="3" from="s.whatsapp.net" id="1280259918" t="1440754558">
<count value="0">
</count>
</notification>
2015.08.28 11:36:58 3: Haus: sending /disconnect
2015.08.28 11:36:58 3: Haus: Disconnected
2015.08.28 11:36:58 3: Haus: read: end of file reached while sysread
Habe danach accepptFrom wieder gelöscht, bekomme das Haus aber nicht wieder online....
Any suggestions?
LG
Marie
Hallo,
habe so ziehmlich die gleichen Probleme damit.
Yoswup und Fhem mit Yowsup ist anfgangs super gelaufen aber seit ca. 1 Woche nur Probleme damit.
Sobald eine Nachricht an FHEM geht stürzt Yowsup ab.
Auth: Logged in!
[connected]:Traceback (most recent call last):
File "/opt/yowsup-master/yowsup-cli", line 327, in <module>
if not parser.process():
File "/opt/yowsup-master/yowsup-cli", line 231, in process
self.startCmdline()
File "/opt/yowsup-master/yowsup-cli", line 259, in startCmdline
stack.start()
File "/opt/yowsup-master/yowsup/demos/cli/stack.py", line 25, in start
self.stack.loop(timeout = 0.5, discrete = 0.5)
File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 167, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)
File "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)
File "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 73, in handle_r ead
self.receive(data)
File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 80, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 28, in receive
self.processReceived()
File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 48, in processReceived
self.toUpper(oneMessageData)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 63, in recei ve
self.toUpper(payload)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 55, in toUpper
self.__upper.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 160, in receive
s.receive(data)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 101, in receive
recv(node)
File "/opt/yowsup-master/yowsup/layers/protocol_notifications/layer.py", line 41, in recvNotification
self.raiseErrorForNode(node)
File "/opt/yowsup-master/yowsup/layers/__init__.py", line 117, in raiseErrorFo rNode
raise ValueError("Unimplemented notification type %s " % node)
ValueError: Unimplemented notification type <notification type="encrypt" offline ="3" from="s.whatsapp.net" id="3920258297" t="1441643034">
<count value="0">
</count>
</notification>
Wäre auch um eine Lösung Dankbar.
# $Id: 32_yowsup.pm 9191 2015-09-01 20:29:24Z justme1968 $
Habs jetzt endlich selbst hin bekommen.
einfach den Aufruf von Yowsup erweitern mit der option --moxie
attr WhatsApp cmd /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --moxie --yowsup