[RELEASE] Texture Cache Maintenance utility
(2013-10-30, 23:06)bradvido88 Wrote: After pruning textures with this script, I tried to run it again but I get this error regarding my Textures db:
Traceback (most recent call last):
  File "K:\scripts\TextureCache\texturecache.py", line 4479, in <module>
  File "K:\scripts\TextureCache\texturecache.py", line 4384, in main
  File "K:\scripts\TextureCache\texturecache.py", line 3357, in dirScan
    rows = database.getAllColumns().fetchall()
sqlite3.DatabaseError: database disk image is malformed
However, neither XBMC nor SQLite Browser complain about the db file. They both open it just fine and can read it.

Any suggestions?

I've not got anything helpful, unfortunately, as I've not seen this before. Presumably the database was fine originally, then became corrupt during the prune? Was there a lot of concurrent database activity in XBMC at the time you were running the prune? How are you mounting/accessing the database file, is it being accessed across a network (NFS or SMB)?

You could try sending me your Textures13.db and I'll take a look, it might be interesting to see how jmarshalls recent JSON API commit handles your database.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.

Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2013-10-31, 01:36
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.