-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect through ws: with websocket-client version > 0.48.0. #59
Comments
Same Problem here. |
well, you can try my fork mpfshell,The author vaporized. |
@junhuanchen: thanks, I will try shortly. |
I testet a little bit, seems to work better. Will there be a pull request, and someday a new pipy version??? |
I will accept a PR for this. |
Removing the second parameter 'ws' in on_message and on_error in conwebsock.py seems to fix the issue (at least it is working for me). I.e.: |
Fantastic, can you issue a PR that updates the dependency version and removes the parameter? |
Which version should I put in the requirements file? I have tested it with websocket_client-0.56.0. |
Hi guys.
I've been trying to use mpfshell with my Wemos D1 mini pro and noticed that it won't connect through ws: if websocket-client version is > 0.48.0.
In debug I see:
2018-09-01 10:51:36,860 ERROR error from callback <bound method ConWebsock.on_message of <ConWebsock(Thread-1, started daemon 140001679963904)>>: on_message() missing 1 required positional argument: 'message'
2018-09-01 10:51:36,964 ERROR error from callback <bound method ConWebsock.on_error of <ConWebsock(Thread-1, started daemon 140001679963904)>>: on_error() missing 1 required positional argument: 'error'
2018-09-01 10:51:37,005 ERROR error from callback <bound method ConWebsock.on_close of <ConWebsock(Thread-1, started daemon 140001679963904)>>: on_close() missing 1 required positional argument: 'ws'
2018-09-01 10:51:41,535 ERROR
The text was updated successfully, but these errors were encountered: