Git Product home page Git Product logo

Comments (4)

Julian-O avatar Julian-O commented on June 6, 2024

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.

Julian-O avatar Julian-O commented on June 6, 2024

Believed fixed in V2.0.3.

from pyslobs.

Julian-O avatar Julian-O commented on June 6, 2024

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.

Julian-O avatar Julian-O commented on June 6, 2024

Closed as unreproducible. Feel free to post more info.

from pyslobs.

Related Issues (17)

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.