Android Kodi ssh python script *no such file or directory*
#4
Ok so that didn't work. From what i believe it to be is permission based.

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 13] Permission denied
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.hyperion/hyperion_on.py", line 22, in <module>
stderr=subprocess.PIPE)
File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-21/lib/python2.7/subprocess.py", line 711, in __init__
File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-21/lib/python2.7/subprocess.py", line 1343, in _execute_child
OSError: [Errno 13] Permission denied
-->End of Python script error report<--

Due to Android locking down the sdcard = /storage/emulated/0/... i cant set the python file to be executable.
Anyone know away around this? I thought i read somewhere that if you create an actual addon you can tell it its executable??

Ideally I want to avoid rooting the Xiamoi Mi Box if I dont have to.
Reply


Messages In This Thread
RE: Kodi ssh python script *no such file or directory* - by bkafi - 2018-12-18, 09:03
Logout Mark Read Team Forum Stats Members Help
Kodi ssh python script *no such file or directory*0