[RELEASE] Texture Cache Maintenance utility
(2013-07-01, 02:46)MilhouseVH Wrote: @K20evo - I've pushed a new version (v0.8.5) which corrects the locked database detection problem, and will now display a suitable "database locked" error if the lock remains in place for too long (which would suggest a long running database update is taking place elsewhere, most likely XBMC itself). Thanks for reporting it.

Awesome. Just deleted and redid wget. Had an odd permission issue but just ran them as sudo, hopefully that doesn't mess up the chmod permissions..

Running it now and don't get the errors as above. Still get the download errors though Sad

Code:
Cache pre-load activity summary for "movies":

              |    fanart   |    poster   |    TOTAL    
--------------+-------------+-------------+-------------
Cached        |      -      |      -      |      0      
Deleted       |      -      |      -      |      0      
Duplicate     |      -      |      -      |      0      
Error         |     184     |     184     |     368    
Ignored       |      -      |      -      |      0      
Skipped       |      11     |      12     |      23    
Undefined     |      -      |      -      |      0      
========================================================
TOTAL         |     195     |     196     |     391    
Download Time | 00:07:43.11 | 00:07:49.55 | 00:15:32.65

Tried to do a wget on one of the images

Code:
pi@raspbmc:/$ wget http://cf2.imgobject.com/t/p/original/8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg
--2013-07-01 10:44:57--  http://cf2.imgobject.com/t/p/original/8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg
Resolving cf2.imgobject.com (cf2.imgobject.com)... 54.230.0.218, 54.230.2.16, 54.230.3.102, ...
Connecting to cf2.imgobject.com (cf2.imgobject.com)|54.230.0.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 538637 (526K) [image/jpeg]
8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg: Permission denied

Cannot write to `8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg' (Permission denied).

Tried to do it as sudo

Code:
pi@raspbmc:/$ sudo wget http://cf2.imgobject.com/t/p/original/8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg
--2013-07-01 10:47:14--  http://cf2.imgobject.com/t/p/original/8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg
Resolving cf2.imgobject.com (cf2.imgobject.com)... 54.230.1.134, 54.230.1.188, 54.230.3.133, ...
Connecting to cf2.imgobject.com (cf2.imgobject.com)|54.230.1.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 538637 (526K) [image/jpeg]
Saving to: `8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg'

100%[================================================================================================================================================>] 538,637      351K/s   in 1.5s    

2013-07-01 10:47:15 (351 KB/s) - `8RkLHFm2PK4PO5W0WZA5LMXLZBz.jpg' saved [538637/538637]

Tried to run the whole script as sudo

Code:
pi@raspbmc:/$ sudo ./texturecache.py c movies
FATAL: The task you wish to perform requires read/write file
       access to the XBMC sqlite3 Texture Cache database.

       The following sqlite3 database could not be opened:
       /root/.xbmc/userdata/Database/Textures13.db

       Check settings in properties file texturecache.cfg
Reply


Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by K20evo - 2013-07-01, 11:12
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