Comments (14)
As this project doesn't have wapi.js you may need to edit it here. https://github.com/alfred82santa/whalesong/blob/master/js/src/whalesong/index.js#L319
and build the source again.
from whalesong.
thanks, whit firefox 61.02 can't scan QR, web whatsapp page is not displayed properly!
whit Chrome, get this error.
selenium.common.exceptions.JavascriptException: Message: javascript error: circular reference
Windows 10.
Firefox 61.0.2
Geckodriver 0.26.0
webwhassapi 2.0.3 install from git.
selenium 3.141.0
from whalesong.
change wapi.js
//webpackJsonp([], {'parasite': (x, y, z) => getStore(z)}, ['parasite']);
if (typeof webpackJsonp === 'function') {
webpackJsonp([], {'parasite': (x, y, z) => getStore(z)}, ['parasite']);
} else {
webpackJsonp.push([
['parasite'],
{
parasite: function (o, e, t) {
getStore(t);
}
},
[['parasite']]
]);
}
from whalesong.
thanks!
I put the following code in the file js/src/whalesong/index.js and then ran the command make build-js
/*
webpackJsonp([], {
'whalesong': (x, y, z) => discoveryModules(z)
}, ['whalesong']);
*/
if (typeof webpackJsonp === 'function') {
webpackJsonp([], {'whalesong': (x, y, z) => discoveryModules(z)}, ['whalesong']);
} else {
webpackJsonp.push([
['whalesong'],
{
whalesong: function (o, e, t) {
discoveryModules(t);
}
},
[['whalesong']]
]);
}
After the whalesong.js file was generated correctly and applying the recommendation indicated by vasani-arpit from Sep 30, 2019 in comment # 121 (#121 (comment) ), since there is no correction so far in the library; I ran the minibot.js example again, to verify the correct operation of the library and I got the following error:
$ python3 minibot.py
Monitor stream
Stream value: Stream.CONNECTED
Monitor new messages
[email protected]
Task exception was never retrieved
future: <Task finished coro=<Minibot.make_echo() done, defined at minibot.py:89> exception=ManagerNotFound('Manager chats not found',)>
Traceback (most recent call last):
File "minibot.py", line 94, in make_echo
message.id)))
whalesong.errors.ManagerNotFound: Manager chats not found
Has anyone had this same error when using the library and has fixed it?
By the way, is there any other more correct method to solve the problem indicated in # 121 (ManagerNotFound: Manager messages not found) without having to try different values to adjust the delay?
I will appreciate any help you can give me to have the application operational again using this library.
Thanks in advance
from whalesong.
try to use this https://github.com/mukulhase/WebWhatsapp-Wrapper
from whalesong.
thanks for your answer marcelocecin, but it is the only option that I have?
By your suggest, I considerer that this proyect is dead
It is very dificult to migrate an async application to a sync, but if it is not more updates here I will need to considerer migrate my application
thanks
from whalesong.
this one is async https://github.com/smashah/sulla
from whalesong.
change
wapi.js
//webpackJsonp([], {'parasite': (x, y, z) => getStore(z)}, ['parasite']); if (typeof webpackJsonp === 'function') { webpackJsonp([], {'parasite': (x, y, z) => getStore(z)}, ['parasite']); } else { webpackJsonp.push([ ['parasite'], { parasite: function (o, e, t) { getStore(t); } }, [['parasite']] ]); }
Hi Marcelo, after change wapi.js, get this error
selenium.common.exceptions.JavascriptException: Message: Cyclic object value
can you help me ?
from whalesong.
mukulhase/WebWhatsapp-Wrapper#404
from whalesong.
try to edit wapi.js again
from whalesong.
Same problem, wich is the best configuration?
OS?
firefox version?
geckodriver?
any one have this working ?
thanks!
from whalesong.
are you using whalesong or WebWhatsapp-Wrapper ?
from whalesong.
WebWhatsapp-Wrapper
from whalesong.
please open an issue in the WebWhatsapp-Wrapper repository, if possible include error print
from whalesong.
Related Issues (20)
- Not able to run examples HOT 2
- Forward Image HOT 2
- Problem Execute example HOT 1
- How can i add participants to group? HOT 5
- Error after executing the minibot.py HOT 3
- Problems using pyppeteer and Chromium HOT 3
- Custom Sticker HOT 2
- problem running minibot.py example HOT 3
- Message: Service geckodriver unexpectedly exited. Status code was: -11 HOT 1
- Clearing chats
- No such file or directory - Windows HOT 4
- ManagerNotFound: Manager messages not found HOT 18
- exception=ManagerNotFound('Manager messages not found' HOT 3
- error on chromium HOT 2
- Delete or archive Chat
- Help to hire someone with this expertise (Whalesong) HOT 3
- smartrply and calatalogos functions HOT 1
- Images/documents failed to send HOT 1
- error on send text message HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whalesong.