2014-07-21, 07:13
I'm getting a script error from PTVL when I start XBMC. The error is towards the end of my debug log, though I'm not sure what to do to fix it. I'm running this on Amazon Fire TV...
Error:
Full debug log...
Error:
Code:
22:06:26 T:1573528376 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.pseudotv.live-development/service.py", line 150, in <module>
HubSwap()
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.pseudotv.live-development/service.py", line 101, in HubSwap
chanlist = ChannelList()
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.pseudotv.live-development/resources/lib/ChannelList.py", line 97, in __init__
self.t = tvdb_api.Tvdb()
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.pseudotv.live-development/resources/lib/tvdb_api.py", line 417, in __init__
self.config['cache_location'] = self._getTempDir()
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.pseudotv.live-development/resources/lib/tvdb_api.py", line 510, in _getTempDir
return os.path.join(tempfile.gettempdir(), "tvdb_api-%s" % (uid))
File "/home/jenkins/workspace/XBMC-Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-14/lib/python2.6/tempfile.py", line 254, in gettempdir
File "/home/jenkins/workspace/XBMC-Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-14/lib/python2.6/tempfile.py", line 201, in _get_default_tempdir
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
-->End of Python script error report<--
Full debug log...