Open galaxyitcenter opened 7 years ago
I used this command
/image send 91972745XXXX "F:\IMAGES & PHOTOS\MIX\Photo0007.jpg"
<iq from="s.whatsapp.net" type="error" id="2">
<error code="501" text="feature-not-implemented">
</error>
</iq>
ERROR:yowsup.demos.cli.layer:Request upload for file F:\IMAGES & PHOTOS\MIX\Photo0007.jpg for 91972745XXXX@s.whatsapp.net failed
DEBUG:yowsup.layers.logger.layer:rx:
<iq from="s.whatsapp.net" type="error" id="2">
<error code="501" text="feature-not-implemented">
</error>
</iq>
DEBUG:yowsup.layers.protocol_iq.layer:ping queue size: 1
DEBUG:yowsup.layers.logger.layer:tx:
<iq id="3" type="get" xmlns="w:p">
</iq>
DEBUG:yowsup.layers.logger.layer:rx:
<iq from="91932824XXXX@s.whatsapp.net" type="result" id="3" t="1504172722">
</iq>
**Media is not uploading this is my debug log**
We have an issue here since several days. That is what issue 2149 is about. You'll have to wait a little bit while it gets solved.
Sending Image require encryption which is new requirement for Whatsup. Fixes are available in https://github.com/dietzi/yowsup
@azizasm Have you tested this. Actually i am using this but still unable to send images. If you have any working example please share.
Thanks
@galaxyitcenter yes tested and able to send image.
git clone https://github.com/dietzi/yowsup.git
sudo python setup.py install
./yowsup-cli demos -y -c whatsapp_config.txt
/L
/image send 6012XXXXXXX ./us.jpeg
Getting Problem
DEBUG:yowsup.env.env:Current env changed to android
Traceback (most recent call last):
File "./yowsup-cli", line 368, in
@azizasm PLEASE SHARE YOUR PYTHON CONFIG. Because it works in my only one system in other system it doesnt works.
Based on the error seems you dont have Imaging library installed. Please install by
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
sudo pip install -I pillow
@azizasm Thanks
@azizasm have the same error like @galaxyitcenter .
My environment is:
Raspberry Pi with Raspbian Stretch. I tried to install the packages like you are listed above, but not all of them are available in this versions. I have these versions installed:
ii libtiff5-dev:armhf 4.0.8-2+deb9u1 armhf Tag Image File Format library (TIFF), development files ii libjpeg-dev 1:1.5.1-2 all Development files for the JPEG library [dummy package] ii libjpeg62-turbo-dev:armhf 1:1.5.1-2 armhf Development files for the libjpeg-turbo JPEG library ii zlib1g-dev:armhf 1:1.2.8.dfsg-5 armhf compression library - development ii libfreetype6-dev 2.6.3-3.2 armhf FreeType 2 font engine, development files ii liblcms2-dev:armhf 2.8-4 armhf Little CMS 2 color management library development headers ii libwebp-dev:armhf 0.5.2-1 armhf Lossy compression of digital photographic images. ii tcl8.5-dev:armhf 8.5.19-2 armhf Tcl (the Tool Command Language) v8.5 - development files ii tk8.5-dev:armhf 8.5.19-1 armhf Tk toolkit for Tcl and X11, v8.5 - development files ii python-tk 2.7.13-1 armhf Tkinter - Writing Tk applications with Python
After running /usr/local/bin/yowsup-cli demos -y -c /home/pi/yowsup/config I got this error:
Traceback (most recent call last):
File "/usr/local/bin/yowsup-cli", line 4, in
Any hint for me?
I have the same problem and I have installed pillow
Any solution to this? I am facing the same problem after installing pillow also.
Thanks in advance