2018-05-14, 17:54
Platform: 17.6 Windows
Downloading files works fine the first time. Each time I download after I get the error in Kodi "Aerial Error, check the log for more information"
Log only shows:
08:47:16.942 T:8 ERROR: EXCEPTION: Unknown exception thrown from the call "read"
08:47:16.947 T:8 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unknown exception thrown from the call "read"
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\entrypointscript.py", line 26, in <module>
atv.run(bool(len(sys.argv)>1))
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\atv.py", line 164, in run
off.offline()
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\offline.py", line 43, in offline
down.downloadall(download_list)
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\downloader.py", line 53, in downloadall
file_checksum = hashlib.md5(f.read()).hexdigest()
RuntimeError: Unknown exception thrown from the call "read"
-->End of Python script error report<--
<settings>
<setting id="check-dpms" value="0" />
<setting id="download-folder" value="E:\Screensaver\" />
<setting id="dpms-action" value="0" />
<setting id="enable-checksums" value="true" />
<setting id="enable-china" value="true" />
<setting id="enable-dubai" value="true" />
<setting id="enable-greenland" value="true" />
<setting id="enable-hawaii" value="true" />
<setting id="enable-hongkong" value="true" />
<setting id="enable-liwa" value="true" />
<setting id="enable-london" value="true" />
<setting id="enable-losangeles" value="true" />
<setting id="enable-newyorkcity" value="true" />
<setting id="enable-sanfrancisco" value="true" />
<setting id="is_locked" value="false" />
<setting id="manual-dpms" value="5" />
<setting id="refuse-stream" value="false" />
<setting id="show-notifications" value="false" />
<setting id="show-previewwindow" value="false" />
<setting id="time-of-day" value="3" />
<setting id="toggle-cecoff" value="false" />
<setting id="toggle-displayoff" value="false" />
</settings>
To fix, I just delete all the files in the download directory...and it will run once.
Just an FYI, no rush due to workaround.
Downloading files works fine the first time. Each time I download after I get the error in Kodi "Aerial Error, check the log for more information"
Log only shows:
08:47:16.942 T:8 ERROR: EXCEPTION: Unknown exception thrown from the call "read"
08:47:16.947 T:8 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unknown exception thrown from the call "read"
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\entrypointscript.py", line 26, in <module>
atv.run(bool(len(sys.argv)>1))
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\atv.py", line 164, in run
off.offline()
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\offline.py", line 43, in offline
down.downloadall(download_list)
File "C:\Users\Administrator\AppData\Roaming\Kodi\addons\screensaver.atv4\resources\lib\downloader.py", line 53, in downloadall
file_checksum = hashlib.md5(f.read()).hexdigest()
RuntimeError: Unknown exception thrown from the call "read"
-->End of Python script error report<--
<settings>
<setting id="check-dpms" value="0" />
<setting id="download-folder" value="E:\Screensaver\" />
<setting id="dpms-action" value="0" />
<setting id="enable-checksums" value="true" />
<setting id="enable-china" value="true" />
<setting id="enable-dubai" value="true" />
<setting id="enable-greenland" value="true" />
<setting id="enable-hawaii" value="true" />
<setting id="enable-hongkong" value="true" />
<setting id="enable-liwa" value="true" />
<setting id="enable-london" value="true" />
<setting id="enable-losangeles" value="true" />
<setting id="enable-newyorkcity" value="true" />
<setting id="enable-sanfrancisco" value="true" />
<setting id="is_locked" value="false" />
<setting id="manual-dpms" value="5" />
<setting id="refuse-stream" value="false" />
<setting id="show-notifications" value="false" />
<setting id="show-previewwindow" value="false" />
<setting id="time-of-day" value="3" />
<setting id="toggle-cecoff" value="false" />
<setting id="toggle-displayoff" value="false" />
</settings>
To fix, I just delete all the files in the download directory...and it will run once.
Just an FYI, no rush due to workaround.