orkestral / venom

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design architecture for WhatsApp.
https://orkestral.io
Apache License 2.0
6.13k stars 1.21k forks source link

inconsistent error on getUnreadMessages #1874

Closed acognigni-evotecnia closed 2 years ago

acognigni-evotecnia commented 2 years ago

Description

yesterday it was running ok i restarted it and it was still running ok today (by design) it restarted itself but it chrashed with an errro on getUnreadMessages (see console log below) i restarted it again and it seems to be working

Environment

Steps to Reproduce

Unknown. so far it has only happened once so far

Log Output

*this has the default log output. since i have not been able to replicate the issue, this is all I've got

 Evaluation failed: TypeError: Cannot read properties of undefined (reading '_models') at window.WAPI.window.WAPI.getUnreadMessages (C:\backend\chatbot-client\node_modules\venom-bot\dist\lib\wapi\wapi.js:1:68216) at pptr://__puppeteer_evaluation_script__:1:64 at ExecutionContext._ExecutionContext_evaluate (C:\backend\chatbot-client\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:286:15) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ExecutionContext.evaluate (C:\backend\chatbot-client\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:117:16) at async Whatsapp.getUnreadMessages (C:\backend\chatbot-client\node_modules\venom-bot\dist\api\layers\retriever.layer.js:220:16) at async start (C:\backend\chatbot-client\index.js:38:26)

Your Code

github-actions[bot] commented 2 years ago

Thank you for joining our community, happy. We are currently fixing this bug, our new version will be released soon.

Working with Love!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.