Kodi Community Forum
Android Plugin fails due to missing Python standard library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Android Plugin fails due to missing Python standard library (/showthread.php?tid=329478)



Plugin fails due to missing Python standard library - Botster - 2018-03-11

A user reported (ref.) the failure of my plugin to execute on NVIDIA SHIELD Android TV. From an excerpt of the log, it is apparent that it is not finding a Python standard library module:
Quote:Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named _multiprocessing
The wiki Python Libraries page says:
Quote:Kodi Python comes with all the standard modules from Python 2.7 or later. See https://docs.python.org/2.7/library/ for reference.
The Python reference page documents the multiprocessing module at 16.6. So, I thought I could rely upon it.

Is the documentation in error, or is this a possible bug in the Android version (NVIDIA SHIELD Android TV with Android 7.0.0 API level 24, kernel: Linux ARM 64-bit version 3.10.96+)?


RE: Plugin fails due to missing Python standard library - Roman_V_M - 2018-03-19

Missing random binary modules from the Standard Lib on some platform is a known issue. E.g. on Windows notorious culprits are datetime and cElementTree.


RE: Plugin fails due to missing Python standard library - Botster - 2018-03-19

Ah, okay. Thank you.

I searched for information on missing standard library modules, but came up empty. Is there a list of these missing modules documented somewhere so one could know what exceptions need to be caught?


RE: Plugin fails due to missing Python standard library - wsnipex - 2018-03-19

if someone could compile a list, we can try to fix the missing


RE: Plugin fails due to missing Python standard library - compy - 2018-03-29

Multiprocessing on Android is not supported, is there any other way for Kodi on Android ?