[RELEASE] Texture Cache Maintenance utility
(2019-07-22, 17:09)redglory Wrote:
(2019-07-22, 16:50)radigast Wrote: I am attempting to scan a folder, Movies - Kids, for set artwork to cache. I believe I must be missing some artwork from a set which is causing texturecache.py to give an error. However, I have no idea which set is missing artwork as the the error doesn't yield the name of the collection for which the error is for. When this error has been present in the past, a specific subfolder with exact artwork name was provided. Any ideas how to either ignore the missing artwork or narrow down which specific file it is?

The command being run is:
Quote:texturecache.py jd sets | tools\mklocal.py --singlefolders --ignorebadprefix --local "Z:\Movies - Kids" --prefix "Z:\Movies - Kids" --artwork poster fanart clearlogo:logo clearart discart:disc characterart:character banner landscape --output | texturecache.py set
The error is:
Quote:Traceback (most recent call last):
File "D:\Kodi\portable_data\0. Custom\tools\mklocal.py", line 885, in <module>
main(init())
File "D:\Kodi\portable_data\0. Custom\tools\mklocal.py", line 868, in main
workitem = processItem(args, mediatype, media, download_items)
File "D:\Kodi\portable_data\0. Custom\tools\mklocal.py", line 417, in processItem
newname = processArtwork(args, mediatype, media, mediatitle, artitem["type"], mediafile, oldname, artpath_m, artpath_s, is_excess=False)
File "D:\Kodi\portable_data\0. Custom\tools\mklocal.py", line 508, in processArtwork
fname = pathToXBMC(getImage(args, mediatype, media, title, atype, filename, currentname, target))
File "D:\Kodi\portable_data\0. Custom\tools\mklocal.py", line 592, in getImage
ifile = open(target, "wb")
IOError: [Errno 13] Permission denied: 'Z:\\Movies - Kids\\poster'
Traceback (most recent call last):
File "D:\Kodi\portable_data\0. Custom\texturecache.py", line 8643, in <module>
main(sys.argv[1:])
File "D:\Kodi\portable_data\0. Custom\texturecache.py", line 8549, in main
setDetails_batch(dryRun=dryRun)
File "D:\Kodi\portable_data\0. Custom\texturecache.py", line 6246, in setDetails_batch
jdata = json.loads("".join(data))
File "C:\Python27\64-bit\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\64-bit\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\64-bit\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
IOError: [Errno 13] Permission denied: 'Z:\\Movies - Kids\\poster'

Do you have authorization for this path from where you are running the script? 
Yes, I do.  I ran the script multiple times before this caching artwork from both the movie and TV categories.  When the error came up in these scan, a specific missing file was flagged.  However, when run with the sets category, I am unable to find which subfolder to look in.
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
RE: [RELEASE] Texture Cache Maintenance utility - by radigast - 2019-07-22, 17:13


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617