jurialmunkey / skin.arctic.horizon

A simple minimal skin for Kodi
Other
175 stars 49 forks source link

Kodi immediate crash soon as switching to Arctic Horizon on Linux #452

Open ShuraEx opened 2 years ago

ShuraEx commented 2 years ago

Hello

Kodi has been immediately crashing when opened. To figure out what was causing it I tried a fresh clean install and noticed it happens as soon as I install and try to switch to Arctic Horizon skin.This is a completely fresh clean install of kodi, the only things installed are the zip for the jurialmunkey repository, SkinVariables and TMDBHelper from said repository and finally the skin. Soon as I switch to the skin, it crashes. I have been able to delay the crash by using the kodi repository versions of SkinVariables and TMDBHelper; this stops the immediate crash when opened but even then kodi will randomly crash when using it. I have not had any crashes when using the default skin or the Eminence 2 skin. I've had these crashes occur on 3 different setups, an I7 6700k with Arch Linux/KDE, a Vaio laptop with i7 2600 with Arch Linux/KDE and an AMD Athlon 5350 HTPC running Arch Linux LTS/XFCE. I also have 3 Odroid N2+ running CoreELEC and Arctic Horizon skin but none of these have any issues.

I have also looked at similar threads with kodi crash issues but most of them seem to be caused by other addons that are installed. All my crashes are happening on a fresh clean install with only the Arctic Horizon skin installed. Any help in resolving this issue would be greatly appreciated; Arctic Horizon is my favorite skin and would love to go back to using it. Thank You also for making this wonderful skin.

kodi_crashlog-20220215_170003.log .

jurialmunkey commented 2 years ago

Probably Arch Linux overriding Kodi's default python packages with it's own and causing a crash due to dependency versions being different. I can't see much from the log but if it is only specifically on Arch then that's almost always the case.

Normally it is something related to NumPy and/or PIL/pillow modules being different from what is expected. TMDbHelper is a dependency of Arctic Horizon and it uses PIL.

See this comment for someone with a similar issue on Matrix: https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/581#issuecomment-962455234

For context, Linux distros overriding Kodi's python environment has been a constant issue for any Kodi addon using PIL or other modules that rely on numpy e.g. see this thread from Leia (fix won't be relevant for you but provided for context) https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/376

ShuraEx commented 2 years ago

Thank You for the reply, After reading your post, i've tried a few things to see if I can get it working. After trying many things to remedy the situation, I have two temporary solutions that may help others in a similar situation. The simplest option is to install the kodi flatpak, the flatpak version does not have the crash issue. The 2nd option is to install a package called "python39" from the Arch aur. Hopefully when kodi is built on Python 3.10, this issue will be fixed. Thank You again jurialmunkey for your reply and for this wonderful skin; looking forward to Arctic Horizon 2.

jurialmunkey commented 2 years ago

Excellent! I'm glad that you found a solution and thanks for taking the time to write up what worked for you! I'll keep this issue so that others can find it if they experience the same problem.

looking forward to Arctic Horizon 2

Some screenshots are coming very soon and hopefully an alpha release not long after! ;)