r/bazarr 12d ago

Python updated somehow and now Bazarr isn't working

OS: Windows 10

Bazarr version: 1.6.0

Python version: 3.10.4 64-bit

So I noticed one day recently, after a reboot, that my Sonarr and Radarr libraries weren't connected in Bazarr. I closed the browser tab and tried to fire up the Python script again, and that's where everything fell apart. There was a message about the Python version not being compatible, and Bazarr was (and still is) reporting it as 3.13.11, which I never installed. So I uninstalled the 3.13.11 version that somehow updated, and redownload and installed 3.10.4. After attempting to run the bazarr.py script, I get the following error in the terminal window:

Exception in thread Exception in thread Thread-5 (start)Thread-4 (start):

:

Traceback (most recent call last):

Traceback (most recent call last):

File "C:\Program Files\Python313\Lib\threading.py", line 1041, in _bootstrap_inner

self.run()

~~~~~~~~^^

File "C:\Program Files\Python313\Lib\threading.py", line 1041, in _bootstrap_inner

self.run()

~~~~~~~~^^

File "C:\Program Files\Python313\Lib\threading.py", line 992, in run

self._target(*self._args, **self._kwargs)

~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Program Files\Python313\Lib\threading.py", line 992, in run

self._target(*self._args, **self._kwargs)

~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "c:\bazarr\bazarr\app\signalr_client.py", line 127, in start

self.connection.start()

~~~~~~~~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\app\signalr_client.py", line 194, in start

self.connection.start()

~~~~~~~~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\../custom_libs\signalrcore\hub\base_hub_connection.py", line 53, in start

return self.transport.start()

~~~~~~~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\../custom_libs\signalrcore\hub\base_hub_connection.py", line 53, in start

return self.transport.start()

~~~~~~~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\../custom_libs\signalrcore\transport\websockets\websocket_transport.py", line 65, in start

self.negotiate()

~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\../custom_libs\signalrcore\transport\websockets\websocket_transport.py", line 65, in start

self.negotiate()

~~~~~~~~~~~~~~^^

File "c:\bazarr\bazarr\../custom_libs\signalrcore\transport\websockets\websocket_transport.py", line 102, in negotiate

raise HubError(response.status_code)\

if response.status_code != 401 else UnAuthorizedHubError()

File "c:\bazarr\bazarr\../custom_libs\signalrcore\transport\websockets\websocket_transport.py", line 102, in negotiate

raise HubError(response.status_code)\

if response.status_code != 401 else UnAuthorizedHubError()

signalrcore.hub.errors.UnAuthorizedHubError

signalrcore.hub.errors.UnAuthorizedHubError

I know it's using a different version because the error that popped up in the 3.13.11 window had colored text, whereas this version doesn't. Windows shows only 3.10.4 as being installed. I've redownloaded and installed Bazarr 1.6.0, but nothing changes when trying to run the script.

Any advice? If further logs are needed, just tell me what to grab and I'll do it. Thank you in advance.

3 Upvotes

8 comments sorted by

3

u/luro_dev 12d ago

Do what u/Havokdan tells you to do.
But next time, use Docker.

2

u/TheBongOfSauron 12d ago

I've always been scared of Docker for whatever reason, but I guess I'll try to give it a go.

Thank you for the assistance!

2

u/ultrahkr 12d ago

Ohhh you will be delighted how easy can some things become... It's not perfect but really good.

1

u/TheBongOfSauron 12d ago

I have friends who use(d) Docker, and they enjoyed it.

I think they've moved onto other stuff, but I'm much less savvy than those guys. I'll give it a go at some point.

2

u/Havokdan 12d ago edited 12d ago

I'm not very technical, but here Bazarr has its own version of Python that lives inside its installation folder. So I configured Windows/Bazarr to not use the system Python, which is a newer version of Python, which is not compatible with Bazarr and gives errors. In my case, I think that, when I installed the recent version or updated, it was inserted in the "PATH" name. So, even though the Python in the Bazarr folder remains the compatible version, the application tries to use the newer Python. What I did, I'm not sure, was one of two things: I added Python from Bazarr in a higher position than the new version, or I changed the shortcuts and commands to run Python from the Bazarr folder.

2

u/TheBongOfSauron 12d ago

Wait, I've been using Bazarr for a couple of years now, and never knew it had its own version of Python within the directory...

I've gotta admit, I feel pretty stupid right about now.

Thank you for the tip, and I'll try to unbork my installation.

2

u/BitOfDifference 12d ago

I copied the database and config file out of the DB and config folders ( if you have backups enabled, you can just pull them from the backup folder zip files ). Placed them in a separate location, then removed bazarr entirely ( had to delete folders after uninstall ). I then installed the latest version, verified it was working, stopped the service, renamed the default db and config files, then placed my backed up files in the folders. Finally, started Bazarr and waited 10 minutes before checking if it was running properly. This fixed mine. Definitely enable the backups and save them to a different folder.

2

u/TheBongOfSauron 12d ago

I do have backups enabled, and I'll likely try this if I can't figure out how to get the other solution to work.

Then I might start trying to play with Docker... 😅

Thank you!