Skip to content
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

"Could not decode byte to value" Error while using PySide6. #2

Open
listpplo opened this issue Apr 10, 2024 · 2 comments
Open

"Could not decode byte to value" Error while using PySide6. #2

listpplo opened this issue Apr 10, 2024 · 2 comments

Comments

@listpplo
Copy link

Encounter the following error "Could not decode byte to value" while using the library with the pyside6 running it in a separate thread.
If same code is run again in a different program in a thread (without pyqside6) it works great and does not produce the error.

  • First implementation
    snip of code
    Produces the Error.

  • Second Implementation
    snip of threading code

Thanks in Advance.

Regards
Swapnil Diwakar

@NothinRandom
Copy link
Owner

@listpplo,

Sorry for late response here. Were you able to figure this out or is it still an issue? I am not familiar with PySide6, but what I can recommend would be to enable debug mode to get logging going here. Send them over and let me see what the issue is.

Thanks,

@NothinRandom
Copy link
Owner

If you haven't tried this already, could you run the same code in PySide6 as the thread? Maybe there's something weird going on with the if reconnet: logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants