2013-11-29, 20:25
Now it's throwing this error:
Here is my tc.log
It seems problem is in this encode/decode line:
Can't decode
It might be because you'll first need to encode 'ascii' to 'unicode' and then to 'utf-8'?
Code:
Traceback (most recent call last):0, Multi thread 3951
File "texturecache.py", line 5872, in <module>
main(sys.argv[1:])
File "texturecache.py", line 5750, in main
extraFields=_extraFields, query=_query)
File "texturecache.py", line 3137, in jsonQuery
cacheImages(mediatype, jcomms, database, data, title_name, id_name, force, n
odownload)
File "texturecache.py", line 3307, in cacheImages
if gLogger.VERBOSE and gLogger.LOGGING: gLogger.log("QUEUE ITEM: %s" % item)
File "texturecache.py", line 2704, in __str__
self.libraryid, self.missingOK)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal
not in range(128)
Here is my tc.log
Code:
f not MyUtility.isPython3:
try:
v = bytes(v.encode("iso-8859-1")).decode("utf-8")
except UnicodeDecodeError:
pass
return v
It seems problem is in this encode/decode line:
Code:
v = bytes(v.encode("iso-8859-1")).decode("utf-8")
Can't decode
Code:
Character ISO-8859-1 Unicode UTF-8 Bytes Name
à 0xC3 0x00C3 0xC3, 0x83 Latin Capital Letter A With Tilde
It might be because you'll first need to encode 'ascii' to 'unicode' and then to 'utf-8'?