-
Notifications
You must be signed in to change notification settings - Fork 209
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
Upgrade to Ubuntu 24 and Python 3.12.3 #2462
Comments
Did you tried development branch? I've updated multiple libraries and it may improve the results. |
Got frustrated with pip and forced it This is from the dev branch
|
Can you make this line: File "/opt/Bazarr/bazarr/app/scheduler.py", line 324
Looks like this:
This should fix this single issue, lets hope there's not much more. |
Using the prod version with your changes I get:
Using the dev I get:
|
While waiting, I was able to install python3.11.9 on Ubuntu 24 Noble following the instructions here https://radwanelourhmati7.medium.com/installing-python-3-11-on-ubuntu-step-by-step-a46631d4e293 with a small change I did a Now I'm down to this:
|
Update setuptools using |
I'm working to add basic compatibility for Python 3.12. I don't have a lot of spare time so it could take a while. |
I figured as much which is why I installed Python 3.11 to solve the problem but this is the hangup now. Not sure how to fix it. |
I think I have it working however ran into an error. Perhaps an upgrade issue?
Specifically |
Here's how I got it to work using the normal Bazarr release on Ubuntu 24 Noble. This also works for Tautulli as well.
The only thing remaining is the error I posted above about the unique constraint. |
Let me know if it works fine for you. |
Should I test with the dev branch again? |
Yes you can get latest bazarr.zip asset there: https://github.com/morpheus65535/bazarr/releases/tag/v1.4.3-beta.24 |
The dev branch is working somewhat with 3.12... I still see the unique constraint issue. Not sure about the other parts.
|
On a different note, with Python 3.11, the master branch threw this error below in syslog. What is causing that error
|
Fixed in dev branch. |
This fix should take care of the SyntaxWarning. The unique constraint is because you're trying to update a movie with a path already present for another one. |
How do I fix that?? |
Check first if you have the same movie indexed multiple time (Vanishing Son (1994)). If not, we may have a problem with the sync logic but it's hard to say without knowing the exact sequence of events. Did you made change to this movies recently? |
Describe the bug
I made the mistake of updating to Ubuntu 24 to fix some other issues and didn't think of compatibility with a few of the packages. Ubuntu 24 uses Python 3.12.3. Are there any plans to update the code to support the newer Python or is there a compat package that can be installed to resolve this?
To Reproduce
Steps to reproduce the behavior:
Upgrade from Ubuntu 22 to 24 and then Bazarr no longer starts due to incompatibility with the newer python.
Expected behavior
Hoping to find a way to restore functionality.
Software (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: