mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 797 forks source link

GetUnreadMessages Error #244

Open iciani opened 6 years ago

iciani commented 6 years ago

Hi all, sorry to bother... but... after last update of Whatsapp smth went wrong, and i am not being able to get new unread messages. Actually, i am using Whatsapp For Business installed in cellphones, but, it was working fine. I don't think that has smth to do with my issue.

Actually, the error messages is the following:

Error in function getUnreadMessages (ReferenceError: Store is not Defined). Command: return WAPI.getUnreadMessages(false, false, arguments[0])

Does anybody has any clue about this?

Thanks in Advance! Regards!

bot1

kevinkit commented 6 years ago

Did you pull the latest Release?

Ignacio Julian Ciani notifications@github.com schrieb am Mi., 30. Mai 2018, 17:47:

Hi all, sorry to bother... but... after last update of Whatsapp smth went wrong, and i am not being able to get new unread messages. Actually, i am using Whatsapp For Business installed in cellphones, but, it was working fine. I don't think that has smth to do with my issue.

Actually, the error messages is the following:

Error in function getUnreadMessages (ReferenceError: Store is not Defined). Command: return WAPI.getUnreadMessages(false, false, arguments[0])

Does anybody has any clue about this?

Thanks in Advance! Regards!

[image: whatsapp image 2018-05-30 at 12 40 00 pm] https://user-images.githubusercontent.com/22899807/40731531-a1a0005e-6407-11e8-8234-1d131f7703c9.jpeg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/244, or mute the thread https://github.com/notifications/unsubscribe-auth/AGhecap4rXWIZ4mEIW6bjIlzYeDPkZvcks5t3r8qgaJpZM4UTjBo .

mhndm commented 6 years ago

get the latest version

On Wed, May 30, 2018, 6:47 PM Ignacio Julian Ciani notifications@github.com wrote:

Hi all, sorry to bother... but... after last update of Whatsapp smth went wrong, and i am not being able to get new unread messages. Actually, i am using Whatsapp For Business installed in cellphones, but, it was working fine. I don't think that has smth to do with my issue.

Actually, the error messages is the following:

Error in function getUnreadMessages (ReferenceError: Store is not Defined). Command: return WAPI.getUnreadMessages(false, false, arguments[0])

Does anybody has any clue about this?

Thanks in Advance! Regards!

[image: whatsapp image 2018-05-30 at 12 40 00 pm] https://user-images.githubusercontent.com/22899807/40731531-a1a0005e-6407-11e8-8234-1d131f7703c9.jpeg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/244, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdkDkmlopkA0thKD_fZHTB9EnipR2glks5t3r8ogaJpZM4UTjBo .

kevinkit commented 6 years ago

see #217

tapankumar commented 6 years ago

@kevinkit : I am really sorry but latest pull is not working for me. I am not getting any messages from get_unread. Any suggestions?

WilliamCampolina commented 6 years ago

I have the same problem

mhndm commented 6 years ago

this error on python 2.7 on python 3 work fine

On Thu, May 31, 2018, 1:45 AM William notifications@github.com wrote:

I have the same problem

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/244#issuecomment-393343699, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdkDtmivckWYiDjTRZN3xHJ1NzRlbnKks5t3yEQgaJpZM4UTjBo .

tapankumar commented 6 years ago

@WilliamCampolina : Installing from pip works fine. It seems version (2.0.5) available at pip is working fine however master branch code is not.

pip install webwhatsapi

fyudelgado commented 6 years ago

@tapankumar on version 2.0.5 the sample async_echo.py does not works, the script loops in the line for contact in await driver.get_unread() that not receive any message that I send to my account.

tapankumar commented 6 years ago

@fyudelgado: I am sorry but I only use echo.py as per my need not async_echo. I also having very limited knowledge on python as well.

lgualpa81 commented 6 years ago

Hi guys, I have the same error with async_echo.py, I tried to run with python 3.5.2. Someone found a solution about it?

webwhatsapi/async_driver.py", line 73
    yield from self.get_chat_from_id(chat_id)
               ^
SyntaxError: 'yield from' inside async function