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
python-numpy update recreates bug that crashes Kodi 19 which was fixed by python pillow on Arch Linux. #18848
Comments
Does anyone know what the bug is? |
It all started here. |
I believe we're already tracking the root cause (lack of sub-interpreter support) in #18586. The updates "fixing" and "unfixing" the Kodi problems are probably just red herrings. |
I'm in no position to help, can follow what others have talked about, but no real python knowledge at all. And the only thing I could get is what is installed by that -I don't know if it uses another pillow or numpy version or just disables them: |
I'm sorry you are getting bounced around from repo to repo, but there's no bug in numpy that we re-introduced recently. numpy has never supported being run in Python sub-interpreters. Probably what changed is something in one of the Kodi plugins, like TMDbHelper, causing an import of numpy (probably through Pillow). If Kodi has moved to using sub-interpreters, all of the plugins will have to studiously avoid importing numpy entirely. |
TMDBH's dev changed his addon, and that worked ever since, and his changes led a reader to suggest the pillow fix which seemed to work for a day until the python-numpy updated. |
Not necessarily. Try, for example, temporarily inserting a Since |
|
I decided to edit directly line 37 of /home/k/.kodi/addons/script.module.websocket/lib/websocket/_abnf.py and replace "import numpy" with: After initial testing this seems to solves crashes on Arch Linux and Kodi 19.1 seems to work fine. |
When python-pillow updated on 2021-04-23, Kodi worked fine, but one day later python-numpy updated and crashing began again.
python-pillow/Pillow#5323
The text was updated successfully, but these errors were encountered: