vasani-arpit / WBOT

A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 4th, 2024
Other
990 stars 314 forks source link

Suggestions configured not show - Mac OS #146

Closed marcelloinfoweb closed 4 years ago

marcelloinfoweb commented 4 years ago

Describe the bug Does not show the suggestions configured in the bot.json to send.

Screenshots Captura de Tela 2020-06-09 às 12 56 09 Captura de Tela 2020-06-09 às 12 56 47

App information (please complete the following information):

marcelloinfoweb commented 4 years ago

I realize you're not adding the div, when do you think you'll get an update?

It's not fair to offer a great feature without at least testing on other platforms and still put it to use.

Looking forward to an upgrade, thanks for your great service!

pavanmehta91 commented 4 years ago

@marcelloinfoweb Since it's a free open source project everybody is invited to contribute. @vasani-arpit Arpit does not own a mac so he can't test on a mac. Hope you understand thanks.

marcelloinfoweb commented 4 years ago

I fully understand and appreciate the invitation to contribute, but it is unwise to offer a system without testing. I would at least post a warning about problems with that version on other systems.

pavanmehta91 commented 4 years ago

Only if the guy had Mac to test. So it's not unwise imo. He's not providing any commercial services so it's unwise to expect everything would work as it's and not break. It's only wise to create PRs, contribute and report issues when necessary. But expecting perfection for an unpaid work is defnitely unwise.

marcelloinfoweb commented 4 years ago

Sorry for the way I expressed it, I just wanted to say that it's not cool to offer an untested system as if it were normal, at least you could put a notice on LINK, even though you have the notice on read me. I still hoped it would work, and the question of being paid or not is another reason not to do an incomplete job. Again excuse me, your initiative is wonderful!

marcelloinfoweb commented 4 years ago

LOG Running from source package


Looks like you got an error. Error: Evaluation failed: TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node. at puppeteer_evaluation_script:12:22 Error: Evaluation failed: TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'. at puppeteer_evaluation_script:12:22 at ExecutionContext._evaluateInternal (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/ExecutionContext.js:81:15) at at process._tickCallback (internal/process/next_tick.js:182:7) -- ASYNC -- at ExecutionContext. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:111:15) at DOMWorld.evaluate (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/DOMWorld.js:112:20) at at process._tickCallback (internal/process/next_tick.js:182:7) -- ASYNC -- at Frame. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:111:15) at Page.evaluate (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/Page.js:833:43) at Page. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:112:23) at setupSmartReply (/home/msc/Downloads/WBOT/src/index.js:171:20) at at process._tickCallback (internal/process/next_tick.js:182:7) Don't worry errors are good. They help us improve. A screenshot has already been saved as error.png in current directory. Please mail it on vasani.ar.

(node:2939) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is . at puppeteer_evaluation_script:12:22 at ExecutionContext._evaluateInternal (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/ExecutionContext.js:81:15) at at process._tickCallback (internal/process/next_tick.js:182:7) -- ASYNC -- at ExecutionContext. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:111:15) at DOMWorld.evaluate (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/DOMWorld.js:112:20) at at process._tickCallback (internal/process/next_tick.js:182:7) -- ASYNC -- at Frame. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:111:15) at Page.evaluate (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/Page.js:833:43) at Page. (/home/msc/Downloads/WBOT/node_modules/puppeteer-core/lib/helper.js:112:23) at setupSmartReply (/home/msc/Downloads/WBOT/src/index.js:171:20) at at process._tickCallback (internal/process/next_tick.js:182:7) (node:2939) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function witho) (node:2939) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will te.

vasani-arpit commented 4 years ago

We have solved the last one by disabling quick-reply feature in latest release v0.12.8

marcelloinfoweb commented 4 years ago

I would like to use the suggestions.

vasani-arpit commented 4 years ago

I am working on a solution as this is my side project, I can't allocate much time to this.