View Single Post
Old 03-02-2018, 12:34 AM   #1
American_Desi
Connoisseur
American_Desi began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
Problem Reading Library Meta-Data

All of a sudden I am starting to see library meta data read errors when i access Calibre. Messages that I get include:

ReadOnlyError: Read OnlyError: attempt to write a readonly database

and

Could not set data, click Show Details to see why.

Clicking Show Details gets me this:

Traceback (most recent call last):
File "site-packages/calibre/gui2/library/models.py", line 1091, in setData
File "site-packages/calibre/gui2/library/models.py", line 1166, in _set_data
File "site-packages/calibre/db/legacy.py", line 441, in set
File "site-packages/calibre/db/cache.py", line 63, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 1092, in set_field
File "site-packages/calibre/db/write.py", line 544, in set_books
File "site-packages/calibre/db/write.py", line 208, in set_title
File "site-packages/calibre/db/write.py", line 197, in one_one_in_books
File "site-packages/calibre/db/backend.py", line 856, in executemany
File "src/cursor.c", line 236, in resetcursor
ReadOnlyError: ReadOnlyError: attempt to write a readonly database

Now, the only thing I can think of that I did was, I recently started using Syncplicity to share part of my Calibre library to my laptop. It looked like it worked - I could assess the books on my laptop, but not all of the books (I have 10Gb and my e-book library is 60GB in size) which is what I expected. But now on my host computer, many of my books have ended up in the trash for no explicable reason.

I thought that if I simply did not access the unsynced books and made no changes on the laptop, then both libraries would be fine. But I'm guessing that's not the case. Can anyone suggest a different reason for this issue? If not, how can I rebuild my library? Do I need to manually add each book from trash back into my library?

I've already turned of syncing
American_Desi is offline   Reply With Quote