Closed pven closed 5 years ago
I suppose you are running from source and not inside a docker container? Are you using some kind of package to install Bazarr?
Yes, I am running from source. Docker is not working at my Synology. I downloaded it from github, and run it using Python. I had problems before, they were solved after installing Python Modules on my Synology.
You didn't specify your Python version. The issue template for bugs include questions that need to be answered to help us in debug process. This isn't optional.
Sorry, here it is
Describe the bug When starting Bazarr after applying the last update, it won't start. See the log above.
Expected behavior Start ;-)
Software (please complete the following information):
Additional context Just let me know if I missed some information, and I will provide it.
Try to update python. Version 2.7.13 is minimal requirement.
I have no idea yet how to update Python on my DSM. But it has my attention.
No clue either. Good luck! ;-)
When I succeeded in updating I will re-open this issue, when needed. Thx!
I mailed with Synology support. They are not going to update Python2, since I probably installed it by a custom package. However: they do support Python3.
Is Bazarr supported on Python3? Last time I tried it with Python3 it failed.
'version 3.x not supported'
Hm, that sucks. :-) Any idea if this is on the list somewhere?
In the meanwhile I traced the error to this line in libs/scandir.py
libc = ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True)
Can you try the dev branch?
I just tried, I get exactly the same error.
Let me focus on the python-upgrade. However I have the feeling that somehow that won't solve the problem with the missing library.
Have you seen this post?
Yes
I just also found out that setting a variable works !!! :-)
export PY_CTYPES_LIBPATH=/usr/lib/python2.7/ctypes
Damn, so easy. But hard to find...
Thanks for all the support on this issue!
Thanks for reporting! I hope it will help other users! :-)
Just to mention: I was able to install the last update without any problems. It looks solved for good. :-)
I just got a warning telling me to restart Bazarr to apply the last update. After this, Bazarr does not start anymore. I am running at a Synology.
When I start it at the prompt, I see:
What can I do to get it starting?