Hi, i have been using this amazing script in the past without any issues, but in the last days i tried it again and i keep getting this error.. Could it be some weird characted in my database?
Code:
atv@crystalbuntu:~$ ./texturecache.py c artists
Traceback (most recent call last):ms... ..
File "./texturecache.py", line 6049, in <module>
main(sys.argv[1:])
File "./texturecache.py", line 5918, in main
extraFields=_extraFields, query=_query)
File "./texturecache.py", line 3219, in jsonQuery
cacheImages(mediatype, jcomms, database, data, title_name, id_name, force, nodownload)
File "./texturecache.py", line 3274, in cacheImages
for r in database.getRows(allfields=False):
File "./texturecache.py", line 1220, in getRows
return self._transform(self._getAllColumns(filter, order))
File "./texturecache.py", line 1240, in _getAllColumns
return self.execute(SQL).fetchall()
sqlite3.OperationalError: atv@crystalbuntu:~$
Last line in the log is:
Code:
2013-12-25 21:21:10.538734:MainThread: EXECUTING SQL: SELECT t.id, t.cachedurl, t.lasthashcheck, t.url, s.height, s.width, s.usecount, s.lastusetime, s.size, t.imagehash FROM texture t JOIN sizes s ON (t.id = s.idtexture)
I tried run this query in SQLite explorer but it returned no error..
Thanks!