2016-08-03, 22:53
Yeah, I used AD for years without any problems until now .
Being on Win7 with a smb share I tried the following:
But I always get:
Traceback (most recent call last):
File "C:\...\texturecache\texturecache.py", line 8572, in <module>
main(sys.argv[1:])
File "C:\...\texturecache\texturecache.py", line 8380, in main
extraFields=_extraFields, query=_query, drop_items=_drop_items)
File "C:\...\texturecache\texturecache.py", line 4627, in jsonQuery
jcomms.dumpJSON(data, decode, ensure_ascii)
File "C:\...\texturecache\texturecache.py", line 2853, in dumpJSON
self.logger.out(json.dumps(data, indent=2, ensure_ascii=ensure_ascii, sort_keys=True), newLine=True)
File "C:\...\texturecache\texturecache.py", line 977, in out
sys.stdout.write("%-s%s" % (udata, NL))
File "codecs.py", line 377, in write
OSError: [Errno 22] Invalid argument
Also happens with most other variations of --local I tried, like mapped to drive Z.
Also, is there a dry run command for this?
Being on Win7 with a smb share I tried the following:
Code:
C:\path\to\python\python.exe C:\path\to\texturecache\texturecache.py jd movies | C:\path\to\tools\mklocal.py --local /Nas/Disk1/Movies --prefix smb://192.168.1.10/Disk1/Movies --readonly --nokeep --output changes.dat
But I always get:
Traceback (most recent call last):
File "C:\...\texturecache\texturecache.py", line 8572, in <module>
main(sys.argv[1:])
File "C:\...\texturecache\texturecache.py", line 8380, in main
extraFields=_extraFields, query=_query, drop_items=_drop_items)
File "C:\...\texturecache\texturecache.py", line 4627, in jsonQuery
jcomms.dumpJSON(data, decode, ensure_ascii)
File "C:\...\texturecache\texturecache.py", line 2853, in dumpJSON
self.logger.out(json.dumps(data, indent=2, ensure_ascii=ensure_ascii, sort_keys=True), newLine=True)
File "C:\...\texturecache\texturecache.py", line 977, in out
sys.stdout.write("%-s%s" % (udata, NL))
File "codecs.py", line 377, in write
OSError: [Errno 22] Invalid argument
Also happens with most other variations of --local I tried, like mapped to drive Z.
Also, is there a dry run command for this?