Hey Folks
My addon works fine (and has done for years now) on Windows, Linux, OSX, etc. Even older versions of Kodi/Android.
However, there seems to be an issue with Kodi 17 and PIL on Android.
I’ve got a user reporting Kodi crashes and it’s been isolated to OzWeather – the last line logged is:
21:37:18.774 T:18446744072311687656 DEBUG: Downloaded background texture…now converting from indexed to RGB – IDR.legend.0.png
Full log at:
https://www.dropbox.com/s/xbc6lauwsasy2en/kodi.log?dl=0
The code that follows this log line is:
Code:
im = Image.open( imageFileIndexed )
rgbimg = im.convert('RGBA')
rgbimg.save(imageFileRGB, "PNG")
os.remove(imageFileIndexed)
And platform details are:
Code:
21:37:09.094 T:18446744072289448192 NOTICE: Starting Kodi (17.0 Git:20170201-a10c504). Platform: Android ARM 32-bit
21:37:09.094 T:18446744072289448192 NOTICE: Using Release Kodi x32 build
21:37:09.094 T:18446744072289448192 NOTICE: Kodi compiled Feb 1 2017 by GCC 4.9.0 for Android ARM 32-bit API level 21 (API level 21)
21:37:09.094 T:18446744072289448192 NOTICE: Running on amlogic MX MAX with Android 5.1.1 API level 22, kernel: Linux ARM 64-bit version 3.14.29
21:37:09.094 T:18446744072289448192 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
21:37:09.094 T:18446744072289448192 NOTICE: Host CPU: AArch64 Processor rev 4 (aarch64), 4 cores available
21:37:09.094 T:18446744072289448192 NOTICE: Product: p200_2G, Device: p200_2G, Board: p200_2G - Manufacturer: amlogic, Brand: Android, Model: MX MAX, Hardware: amlogic
….Pretty sure this is a bug in Kodi/packaging, right? Could someone have a look please?