View Single Post
Old 03-14-2025, 10:29 PM   #9
jeremiawuzza
Junior Member
jeremiawuzza began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2021
Device: Sony PRS-T1
metadata.db problem - or is it?

calibre, version 7.26.0
ERROR: Error: Error communicating with device

unable to open database file

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 563, in _books
File "calibre\devices\prst1\driver.py", line 167, in books
File "calibre\devices\usbms\driver.py", line 309, in books
File "calibre\devices\prst1\driver.py", line 250, in sync_booklists
File "calibre\devices\prst1\driver.py", line 279, in update_device_database
sqlite3.OperationalError: unable to open database file

I tried deleting and rebuilding metadata.db - it restored the metadata.db file but Calibre still has the communication error with my PRS-T1 .My files are all there in Calibre but the On Device column is empty. The files are all there on the PRS-T1 (except for the most recent ones since this error; but they are all on Calibre).
Could the problem be something wrong with the PRS-T1? it works perfectly well with the books that are on it, but I am unable to add any more books.
I don't seem to be able to read the device reliably with W10 file explorer. There are two drives on the device. W10 offers to scan and repair Reader K but can't complete it whether Calibre is running or not. In fact it falls over after a long while.
There is 196 MB free space on Reader K so it should be able to have more files, shouldn't it?
Reader K is a fat32 drive. There is a SETTING O drive which is a 10 MB drive but doesn't seem to do much.
All in all it is a mess. Anybody out there who has a clue as to what is happening?
Regards
J
jeremiawuzza is offline   Reply With Quote