Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Not able to send images #28

@MHilhorst

Description

@MHilhorst

Hello firstly lovely repo that makes this work!

When im trying to send an image I get the following error:

E 2019-06-07 19:34:24,619 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last):
File "/usr/lib/python3.6/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python3.6/asyncore.py", line 423, in handle_read_event
self.handle_read()
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/network/dispatcher/dispatcher_asyncore.py", line 48, in handle_read
self.connectionCallbacks.onRecvData(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/network/layer.py", line 100, in onRecvData
self.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/network/layer.py", line 103, in receive
self.toUpper(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/noise/layer_noise_segments.py", line 39, in receive
self.toUpper(bytes(data))
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/noise/layer.py", line 156, in receive
self._flush_incoming_buffer()
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/noise/layer.py", line 144, in _flush_incoming_buffer
self.toUpper(self._wa_noiseprotocol.receive())
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/coder/layer.py", line 21, in receive
self.toUpper(node)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/axolotl/layer_control.py", line 35, in receive
self.toUpper(protocolTreeNode)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 194, in receive
s.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 34, in receive
self.toUpper(protocolTreeNode)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 194, in receive
s.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 126, in receive
if not self.processIqRegistry(node):
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 161, in processIqRegistry
successClbk(protocolTreeNode, originalIq)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/protocol_media/layer.py", line 74, in onRequestUploadSuccess
self.toUpper(ResultRequestUploadIqProtocolEntity.fromProtocolTreeNode(resultNode))
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/interface/interface.py", line 77, in receive
if not self.processIqRegistry(entity):
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/interface/interface.py", line 56, in processIqRegistry
successClbk(entity, originalIq)
File "/home/wapp/yowsapp-framework/app/mac/mac.py", line 191, in
caption)
File "/home/wapp/yowsapp-framework/app/mac/mac.py", line 278, in on_request_upload_result
True)
File "/usr/local/lib/python3.6/dist-packages/yowsup/layers/protocol_media/mediauploader.py", line 18, in init
WARequest.init(self)
TypeError: init() missing 1 required positional argument: 'config'
b

I am using latest version, with Ubuntu 18.04

path = app/assets/images/1.png

Does anyone knows how to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions