Ankit404butfound / PyWhatKit

Send WhatsApp message at certain time and many other things.
MIT License
1.28k stars 289 forks source link

image cannot be sent in ubuntu. using pywhatkit.sendwhats_image #324

Closed sandeepraizada closed 2 months ago

sandeepraizada commented 2 months ago

Message gets sent but the image does not get sent.

i have also installed copyq on ubuntu 22.04. version of pywhatkit = site-packages (5.4)

To Reproduce the code is as follows in jupyter notebook

import pywhatkit img = "/home/sandeep/Downloads/scrn1.png" pywhatkit.sendwhats_image("+91944925XXXX", img, "test image3", 15, True, 3)

response is: true

Steps to Reproduce the Bug

Screenshots

Screenshot from 2024-03-27 11-43-59

Version Information

sandeepraizada commented 2 months ago

It worked by increase the time to 30 seconds

pywhatkit.sendwhats_image("+919449XXXXX", img, "test", 30, True, 5)

So closing the bug.

sandeepraizada commented 2 months ago

It worked by increase the time to 30 seconds

pywhatkit.sendwhats_image("+919449XXXXX", img, "test", 30, True, 5)

So closing the bug.