2016-01-14, 19:12
I created an addon that show for random images and a clock, in my computer the addon works, but when I execute it in a raspberry it gives me the following error:
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.kodi/userdata/addon_data/script.multi.cam/1452791297.72.0.jpg')
Traceback (most recent call last):
File "/storage/.kodi/addons/demo6/default.py", line 101, in <module>
with CamView() as viewer:
File "/storage/.kodi/addons/demo6/default.py", line 55, in __init__
urllib.urlretrieve(url, image_file)
File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 243, in retrieve
IOError: (2, 'No such file or directory', '/storage/.kodi/userdata/addon_data/script.multi.cam/1452791297.72.0.jpg')
-->End of Python script error report<--
what might be causing this error?
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.kodi/userdata/addon_data/script.multi.cam/1452791297.72.0.jpg')
Traceback (most recent call last):
File "/storage/.kodi/addons/demo6/default.py", line 101, in <module>
with CamView() as viewer:
File "/storage/.kodi/addons/demo6/default.py", line 55, in __init__
urllib.urlretrieve(url, image_file)
File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 243, in retrieve
IOError: (2, 'No such file or directory', '/storage/.kodi/userdata/addon_data/script.multi.cam/1452791297.72.0.jpg')
-->End of Python script error report<--
what might be causing this error?