Skip to content
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

example code not work, and make session crashed for unknown reason on google colab #8

Open
sugizo opened this issue Apr 14, 2024 · 4 comments

Comments

@sugizo
Copy link

sugizo commented Apr 14, 2024

info

  • env : google colab
  • os : ubuntu jammy x86_64
  • python : 3.10.12

steps

pip install -U whatsfly
!wget -c 'https://i.ytimg.com/vi/vEYsdh6uiS4/maxresdefault.jpg'
from whatsfly import WhatsApp
chat = WhatsApp()
# send mesage
chat.sendMessage(phone = "6283139750000", message = "oi")
# send mesage
chat.sendImage(phone = "6283139750000", image_path = "maxresdefault.jpg", caption = "oi")

result
not work, and make session crashed for unknown reason on google colab

best regards

@cloned-doy
Copy link
Owner

Thank you for submitting the report. Could you kindly provide the console logs as well?

@sugizo
Copy link
Author

sugizo commented Apr 15, 2024

image

best regards

@Labfox
Copy link

Labfox commented Jul 16, 2024

Probably an error with whatsmeow

@Labfox
Copy link

Labfox commented Jul 16, 2024

Also you should chat.connect after whatsapp instantiation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants