New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sending image with sendwhats_image #109
Comments
Hey @illives , try to pass on the path like this |
hello.. |
Please upgrade your installation to the latest version. |
@aaryanrr thank you. issue solved. |
unfortunately it didn't work. pwk.sendwhats_image("+551197xxxxxxx", "D:\\R_DELFOS_PREVISAO_MOBILE\\My_Pictures\\chart01.png", "Here is the image", 10, True, 5) |
Can you try it again by placing the image in the same directory as of the script. Also, Is this error with a particular format of image? |
Hi Sir... i have also has the same issue.. I use latest pywhatkit==5.1. but no image upload and not able to send the message.. i already change wait time >30s .. but still no respond and I am using windows 10. Can anyone advise how to fix the bugs... |
Hey @kue5573, this bug has been fixed in version 5.2. It will be released by tomorrow! |
Thanks a lot.. I am really excited to use it. |
hi there, it says you were going to release a new version to fix this bug but where still in version 5.1, i'm having this issue, not sending the image just text. |
Hey @Costosmaya, we apologize for the delay in update. All the core maintainers are currently busy with other stuff and there are a lot of changes that have to be finalized for the next update. Thanks for bearing with us. |
Hey @aaryanrr thanks for your reply. I understand, your library is the best so far for what i need to do, but this has given me so frustration when not sending the img, i realized it "fixes" when clearing browsers cache, so i just setted up an automatic batch file to clear the browser's cache. Btw, is there any upcoming feature to send attachments, like pdf files? |
So far we haven't found any way to send attachments like word files or pdfs but we are looking into it. |
I am having the same problem. I am using version 5.3 Python 3.10.1 No errors. There is, however, an error when I intentionally write the path incorrectly. |
import pywhatkit as pwk pwk.sendwhats_image(phone_no="+917904*******", img_path="C:/User/MI/OneDrive/Desktop/thubel.png", caption="Example image sent!") |
this error will be resolved in the next release you can use asyncpyewhatkit in mean time |
Hi...I also spent quite some time trying to solve this same problem. In my case two details helped me. 1º I put the full path, exactly this way below: 2º just below the line of whatsapp code I put the timesleep(5), like this: pywhatkit.sendwhats_image("+3532498XXXX39" ,r "C:\Users\Cliente\ipynb\inves.png") |
Hello @Costosmaya. I have installed latest pywhatkit version 5.4 but it is showing an error that unable to access pywhatkit api right now |
I am using python 3.8.7 version and pywhatkit==5.1.
When I try to send an image, only the text goes.
I am using windows 10.
pwk.sendwhats_image("+551197xxxxxxxxx", "D:\path\testewhatkit.jpg", "Here is the image", 10, True, 5)
The text was updated successfully, but these errors were encountered: