Skip to content

ValueError: too many values to unpack (expected 3) #2996

@dm-s

Description

@dm-s

when i try to execute this command: "yowsup-cli demos -c /root/.config/yowsup/7950xxxxx24/config.json -s 79xxxxxx389 "test"".
I receive this errors:

yowsup-cli v3.2.0
yowsup v3.2.3

Copyright (c) 2012-2019 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

I 2020-07-03 07:32:17,676 yowsup.layers.network.layer - Connecting to e10.whatsapp.net:443
I 2020-07-03 07:32:17,787 yowsup.axolotl.manager - Loaded 812 unsent prekeys
E 2020-07-03 07:32:17,789 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last):
File "/usr/lib/python3.7/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python3.7/asyncore.py", line 440, in handle_write_event
self.handle_connect_event()
File "/usr/lib/python3.7/asyncore.py", line 428, in handle_connect_event
self.handle_connect()
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/network/dispatcher/dispatcher_asyncore.py", line 34, in handle_connect
self.connectionCallbacks.onConnected()
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/network/layer.py", line 54, in onConnected
self.emitEvent(YowLayerEvent(YowNetworkLayer.EVENT_STATE_CONNECTED))
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 94, in emitEvent
self.__upper.emitEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 94, in emitEvent
self.__upper.emitEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 94, in emitEvent
self.__upper.emitEvent(yowLayerEvent)
[Previous line repeated 3 more times]
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 88, in emitEvent
if self.__upper and not self.__upper.onEvent(yowLayerEvent):
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 212, in onEvent
stopEvent = stopEvent or s.onEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 109, in onEvent
return self.event_callbackseventName
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/auth/layer_authentication.py", line 36, in on_connected
passive=self.getProp(self.PROP_PASSIVE, False)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 202, in subBroadcastEvent
self.broadcastEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 103, in broadcastEvent
self.__lower.broadcastEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 103, in broadcastEvent
self.__lower.broadcastEvent(yowLayerEvent)
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 103, in broadcastEvent
self.__lower.broadcastEvent(yowLayerEvent)
[Previous line repeated 1 more time]
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 98, in broadcastEvent
if self.__lower and not self.__lower.onEvent(yowLayerEvent):
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/init.py", line 109, in onEvent
return self.event_callbackseventName
File "/usr/local/lib/python3.7/dist-packages/yowsup-3.2.3-py3.7.egg/yowsup/layers/noise/layer.py", line 109, in on_auth
locale_country="US"
File "/usr/local/lib/python3.7/dist-packages/consonance-0.1.3.post1-py3.7.egg/consonance/config/useragent.py", line 58, in init
app_version = AppVersionConfig(app_version)
File "/usr/local/lib/python3.7/dist-packages/consonance-0.1.3.post1-py3.7.egg/consonance/config/appversion.py", line 15, in init
self._primary, self._secondary, self._tertiary = map(lambda v:int(v), dissected)
ValueError: too many values to unpack (expected 3)

Can you kindly help me to solve this. I really cant find out what i'm doing wrong

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions