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

Bazarr hangs on wanted subtitle search with ValueError: set_wakeup_fd only works in main thread #1719

Closed
xAyx opened this issue Feb 13, 2022 · 2 comments

Comments

@xAyx
Copy link

xAyx commented Feb 13, 2022

Describe the bug
Bazarr hangs on wanted subtitle search (manual/automatic).
The job starts and the first subtitle are downloaded successfully, but then Bazarr hangs and not moving forward to the next wanted subtitle.
When checking 'Background Tasks' under the GUI, you can see that the task is running but it's stuck on the first successful downloaded subtitle.

Manual search is working for a specific episode/movie.
Manual/Automatic search is not working when using a 'Wanted' bulk search.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Wanted'
  2. Click on 'Search All'
  3. See error

Expected behavior
After the first downloaded subtitle, keep going for the next one.

Screenshots
image
Keep in mind, when the screenshot was taken the job is running for 32min.

Software (please complete the following information):

  • Bazarr Version 1.0.2
  • Sonarr Version 3.0.6.1342
  • Radarr Version 4.0.4.5922
  • Operating System Windows-10-10.0.19041-SP0
  • Python Version 3.8.0

Additional context
bazarr.log

@morpheus65535
Copy link
Owner

ValueError: set_wakeup_fd only works in main thread

It's a bug in early Python 3.8.x that have been fixed since then. You can note the user of your Bazarr service, uninstall Bazarr and reinstall using the latest installer that use 3.10. Unless you've installed Bazarr itsefl in %programdata%\Bazarr, you wont loose your settings.

@morpheus65535 morpheus65535 changed the title Bazarr hangs on wanted subtitle search Bazarr hangs on wanted subtitle search with ValueError: set_wakeup_fd only works in main thread Feb 13, 2022
@morpheus65535 morpheus65535 pinned this issue Feb 13, 2022
@xAyx
Copy link
Author

xAyx commented Feb 13, 2022

morpheus65535 As you said, reinstalling Bazarr with the latest installer solved the problem.
Python is now version 3.10.0 and search for wanted subtitle does not hang.

morpheus65535 Thank you for your help.

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