[RELEASE] Texture Cache Maintenance utility
Ugh, didn't realize I didnt have Kodi running when I ran that last to get the error message for you.

Once Kodi is running, I get the following error message:
Code:
usage: mklocal.py [-h] [-l DIRECTORY] [-p PATH] [-A PATH] [-i [FILENAME]] [-o [FILENAME]]
                  [--dryrun] [-r] [--ignorebadprefix] [-a TYPE [TYPE ...]]
                  [-c TYPE [TYPE ...]] [-s [TYPE [TYPE ...]]] [-e [TYPE [TYPE ...]]] [-1]
                  [-nk] [--info] [-q | -v]
mklocal.py: error: local DIRECTORY L:\Videos\ does not exist!
Traceback (most recent call last):
  File "C:\texturecache.py", line 7923, in <module>
    main(sys.argv[1:])
  File "C:\texturecache.py", line 7736, in main
    extraFields=_extraFields, query=_query)
  File "C:\texturecache.py", line 4246, in jsonQuery
    jcomms.dumpJSON(data, decode, ensure_ascii)
  File "C:\texturecache.py", line 2592, in dumpJSON
    self.logger.out(json.dumps(data, indent=2, ensure_ascii=ensure_ascii, sort_keys=True), newLine=True)
  File "C:\texturecache.py", line 925, in out
    sys.stdout.write("%-s%s" % (udata, NL))
  File "C:\Python34\lib\codecs.py", line 369, in write
    self.stream.write(data)
OSError: [Errno 22] Invalid argument

C:\>

and I did check the permissions on the folder and it is correct. The weird thing is that this was working fine before, but it has been a few months since I ran it last.

Thank you for the fast reply, and all your help.
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by Mychale - 2015-08-11, 02:04
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
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17