Git Product home page Git Product logo

Comments (14)

vasani-arpit avatar vasani-arpit commented on August 16, 2024 1

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.

hbustos avatar hbustos commented on August 16, 2024 1

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.

marcelocecin avatar marcelocecin commented on August 16, 2024

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.

dafner avatar dafner commented on August 16, 2024

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.

marcelocecin avatar marcelocecin commented on August 16, 2024

try to use this https://github.com/mukulhase/WebWhatsapp-Wrapper

from whalesong.

dafner avatar dafner commented on August 16, 2024

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.

marcelocecin avatar marcelocecin commented on August 16, 2024

this one is async https://github.com/smashah/sulla

from whalesong.

hbustos avatar hbustos commented on August 16, 2024

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.

marcelocecin avatar marcelocecin commented on August 16, 2024

mukulhase/WebWhatsapp-Wrapper#404

from whalesong.

marcelocecin avatar marcelocecin commented on August 16, 2024

try to edit wapi.js again

from whalesong.

hbustos avatar hbustos commented on August 16, 2024

Same problem, wich is the best configuration?

OS?
firefox version?
geckodriver?

any one have this working ?

thanks!

from whalesong.

marcelocecin avatar marcelocecin commented on August 16, 2024

are you using whalesong or WebWhatsapp-Wrapper ?

from whalesong.

hbustos avatar hbustos commented on August 16, 2024

WebWhatsapp-Wrapper

from whalesong.

marcelocecin avatar marcelocecin commented on August 16, 2024

please open an issue in the WebWhatsapp-Wrapper repository, if possible include error print

from whalesong.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.