2016-06-29, 09:59
Good morning,
tested new script version, i performed the scan without new setting.
about half an hour to scan 840 folders.
the script goes till the end but no images has been written and in the log i found lines like this:
i think related to the write permissions you talked about.
i tried with new setting, and i received another error about unicode character (ignored in previous scan, that's strange)
this is the first part of the log during second scan with new setting on
the strange thing, after second scan, is that for scanned folders the folder.jpg are saved only in the deepest folders, the one the kodi manage itself.
i liked the info window with the paths shown. but it has been shown only during first scan without the option to create thumbs in userdata folder on.
tested new script version, i performed the scan without new setting.
about half an hour to scan 840 folders.
the script goes till the end but no images has been written and in the log i found lines like this:
Code:
08:23:30 T:6688 ERROR: XFILE::CDirectory::Create - Error creating //NSA325-V2/photo/Foto/2001\
08:23:30 T:6688 ERROR: XFILE::CDirectory::Create - Error creating //NSA325-V2/photo/Foto/2001\08-03-2001_Benny\
i tried with new setting, and i received another error about unicode character (ignored in previous scan, that's strange)
Code:
09:17:25 T:6520 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 96: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Peppe\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 326, in <module>
intCancel = scanPaths( path, g, pathsNr )
File "C:\Users\Peppe\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 232, in scanPaths
MakeTumbs( filesInTree2, absolutePath.encode('utf-8') )
File "C:\Users\Peppe\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 147, in MakeTumbs
xbmcvfs.copy(tempdir.encode('utf-8'), destPath.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 96: ordinal not in range(128)
-->End of Python script error report<--
this is the first part of the log during second scan with new setting on
Code:
09:17:07 T:6520 NOTICE: THUMBS >> PATH: >>//NSA325-V2/photo/Foto/<<
09:17:07 T:6520 NOTICE: THUMBS >> PATH: >>//NSA325-V2/photo/Foto/2001<<
09:17:07 T:6520 NOTICE: THUMBS >> PATH: >>//NSA325-V2/photo/Foto/2001\02-22-2001_Etna<<
09:17:07 T:6520 NOTICE: THUMBS >> PATH: >>//NSA325-V2/photo/Foto/2001\08-03-2001_Benny<<
09:17:08 T:6520 NOTICE: THUMBS >> THUMB TEMP SAVED: >>C:\Users\Peppe\AppData\Roaming\Kodi\cache\folder.jpg<<
09:17:08 T:6520 ERROR: XFILE::CDirectory::Create - Error creating C:\
09:17:08 T:6520 NOTICE: THUMBS >> COPIED TEMP TO: >>C:\Users\Peppe\AppData\Roaming\Kodi\userdata\addon_data\script.visual_thumbs\2001\02-22-2001_Etna\folder.jpg<<
09:17:08 T:6520 NOTICE: THUMBS >> DELETED TEMP: >>C:\Users\Peppe\AppData\Roaming\Kodi\cache\folder.jpg<<
09:17:08 T:6520 NOTICE: THUMBS >> PATH: >>//NSA325-V2/photo/Foto/2001\07-05-2001_Arenella<<
09:17:09 T:6520 NOTICE: THUMBS >> THUMB TEMP SAVED: >>C:\Users\Peppe\AppData\Roaming\Kodi\cache\folder.jpg<<
09:17:09 T:6520 ERROR: XFILE::CDirectory::Create - Error creating C:\
09:17:09 T:6520 NOTICE: THUMBS >> COPIED TEMP TO: >>C:\Users\Peppe\AppData\Roaming\Kodi\userdata\addon_data\script.visual_thumbs\2001\08-03-2001_Benny\folder.jpg<<
i liked the info window with the paths shown. but it has been shown only during first scan without the option to create thumbs in userdata folder on.