[RELEASE] Texture Cache Maintenance utility
Now it's throwing this error:
Traceback (most recent call last):0, Multi thread 3951
  File "texturecache.py", line 5872, in <module>
  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
  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

f not MyUtility.isPython3:
        v = bytes(v.encode("iso-8859-1")).decode("utf-8")
      except UnicodeDecodeError:

    return v

It seems problem is in this encode/decode line:
v = bytes(v.encode("iso-8859-1")).decode("utf-8")

Can't decode
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'?
Image Image

Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by redglory - 2013-11-29, 20:25
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

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17
This forum uses Lukasz Tkacz MyBB addons.