Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2014, 06:51 PM   #1
toscanot
Junior Member
toscanot began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2014
Device: Nook
Uploading Books to Calibre

Tried on two different machines to upload a new book to Calibre library. Both times on both machines got the same message.

calibre, version 1.14.0
ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: Foreign key violation: authors is still referenced

calibre 1.14 isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.5
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 41, in add_one
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

Please let me know what I need to do. I have my books sorted specifically and do not wish to recreate the wheel.

Many thanks.

T
toscanot is offline   Reply With Quote
Old 01-03-2014, 11:53 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,870
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Attach the metadata.db from your library and also the title and author of the book you are trying to add. You can get that by opening the book in the calibre viewer and clicking the information button.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-22-2014, 12:08 PM   #3
enguerrand
Junior Member
enguerrand began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2014
Device: iPad
I get the same error message as described at the top of the thread, with any new book at all that I'm trying to add to Calibre. Any suggestions?
enguerrand is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading Books to Calibre -- Calibre says Books Transferred -- But Books Not There MyKindleGoodies Calibre 8 09-10-2013 01:23 PM
Uploading books from ibooks to Calibre lisaransom Calibre 2 12-12-2012 03:29 PM
No books in author sort on Kindle Touch after uploading via Calibre? guspasho Amazon Kindle 4 12-12-2011 11:01 PM
uploading books to kindle with calibre catman Library Management 3 03-03-2011 02:14 PM
Troubleshooting Uploading books from Calibre to Kindle emmad Amazon Kindle 3 08-30-2010 10:52 PM


All times are GMT -4. The time now is 12:25 AM.


MobileRead.com is a privately owned, operated and funded community.