Comments (4)
Thanks for your report. I haven't seen this error before.
Here what I think is happening:
- You are connecting to StreamLabs Desktop running on a different machine to the script. That is supported by the API, but hasn't been exercised by the tests.
- The websocket has failed, for some vague networky reason, and an exception is raised. You will need to reconnect if this happens.
- The library tries to catch this as an OSError, but the
websocket-client
library reraises this as a different exception that is NOT caught. - The correct behaviour would be to catch this exception, and other WebSocket exceptions, and shut down the connection gracefully.
I hope to get to this in the next week.
from pyslobs.
Believed fixed in V2.0.3.
from pyslobs.
Please provide more details in your bug reports. How are you trying to install it?
When I try, it works fine:
> pip install pyslobs==2.0.3
Collecting pyslobs==2.0.3
Downloading PySLOBS-2.0.3-py3-none-any.whl (33 kB)
Collecting websocket-client
Using cached websocket_client-1.5.3-py3-none-any.whl (56 kB)
Installing collected packages: websocket-client, pyslobs
Successfully installed pyslobs-2.0.3 websocket-client-1.5.3
from pyslobs.
Closed as unreproducible. Feel free to post more info.
from pyslobs.
Related Issues (17)
- tests and examples not included in PyPI package HOT 3
- Python 3.9 required for Typing HOT 5
- There was something wrong with the set_scale and set_settings methods of the SceneItem class defined in pyslobs/slobs/scenenode.py. HOT 2
- Is it possible to change the visibility of sources? HOT 2
- SceneNode.set_visibility does not update cached visibility.
- Sceneitem_factory wrong return HOT 2
- AuthenticationFailure HOT 3
- I want to play the video I've made during the live broadcast. HOT 2
- Can I control someone else's OBS? HOT 1
- Waiting for luamacros script... HOT 1
- StreamLabs sends message without id or result field HOT 3
- StreamLabs OBS changed name to StreamLabs Desktop HOT 1
- StreamLabs Desktop uses undocumented NEWS NotificationSubtype HOT 1
- Use of id_ inconsistent. HOT 1
- Should be able to close a SlobsConnection without an async loop.
- WARNING:slobsapi._SlobsWebSocket:Websocket failure: (Connection to remote host was lost.). Shutting down. HOT 1
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 pyslobs.