View Single Post
Old 01-23-2014, 12:14 PM   #1
enguerrand
Junior Member
enguerrand began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2014
Device: iPad
Error adding new books to Calibre

Hello,

I started getting error messages whenever I try adding any new book to Calibre:

calibre, version 1.20.0
WARNING: Failed to read metadata: Failed to read metadata from the following:

Erwin Panofsky-Meaning in the Visual Arts.pdf
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 136, in start
File "site-packages\calibre\gui2\add.py", line 225, in add
File "site-packages\calibre\db\legacy.py", line 211, in create_book_entry
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1379, in create_book_entry
File "site-packages\calibre\db\cache.py", line 1153, in set_metadata
File "site-packages\calibre\db\cache.py", line 1140, in set_field
File "site-packages\calibre\db\cache.py", line 961, in set_field
File "site-packages\calibre\db\write.py", line 513, in set_books
File "site-packages\calibre\db\write.py", line 437, in many_many
File "site-packages\calibre\db\backend.py", line 291, in executemany
File "c:\cygwin\home\kovid\sw\build\apsw-3.7.17-r1\src\cursor.c", line 231, in resetcursor
ConstraintError: ConstraintError: Foreign key violation: authors is still referenced

Before this happened, I had my system (Windows 7 32-bit) crash twice for no clear reason. I don't know if this affected Calibre's functioning. It did not seem to affect any other software.

Can someone help me with this please?
enguerrand is offline   Reply With Quote