Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2024, 07:13 PM   #706
laxarus
Junior Member
laxarus began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2012
Device: PC
Updated to the 2.13.0 and I started getting this error.

Even the books I was able to convert from KFX to epub without problem started giving this error.
What is wrong here?
I am trying to find an older version of the KFX Input to test but cannot find it anywhere.

Quote:
calibre, version 7.12.0
ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: Foreign key violation: tags is still referenced

calibre 7.12 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 13, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 13, 0) && Embed Comic Metadata (1, 6, 6) && EpubMerge (2, 18, 0) && Goodreads (1, 8, 2) && Goodreads Sync (1, 16, 8) && KFX metadata reader (from KFX Input) (2, 13, 0) && From KFX (2, 13, 0) && KFX Input (2, 13, 0) && Set KFX metadata (from KFX Output) (2, 8, 0) && KFX Output (2, 8, 0) && Manage Series (1, 5, 2)
Traceback (most recent call last):
File "calibre\gui2\convert\single.py", line 304, in accept
File "calibre\gui2\convert\metadata.py", line 256, in pre_commit_check
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 1634, in set_field
File "calibre\db\write.py", line 572, in set_books
File "calibre\db\write.py", line 491, in many_many
File "calibre\db\backend.py", line 1159, in executemany
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor
apsw.ConstraintError: ConstraintError: Foreign key violation: tags is still referenced
laxarus is offline   Reply With Quote
Old 06-17-2024, 07:25 PM   #707
laxarus
Junior Member
laxarus began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2012
Device: PC
uhm. Nevermind, I found out the issue which was totally unrelated to KFX. For future reference to anyone who might come across this, the readarr is sharing the library with calibre and for some reason, it is preventing the conversion. Stopped readarr docker container and tried converting.
laxarus is offline   Reply With Quote
Old 06-19-2024, 07:28 AM   #708
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,579
Karma: 84812983
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 2.14.0 - 19 Jun 2024

Fix incorrect handling of local_delta_fragments in Scribe notebooks. (Fixes "Book appears to have KFX containers from multiple books. (duplicate fragments)")
jhowell is offline   Reply With Quote
Old Yesterday, 08:19 PM   #709
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,555
Karma: 26960637
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
So I finally worked out how to install the necessary components to be able to decode and import KFX using Kindle Classic on macOS. I have been just doing AZW3 download, but that doesn't work for Print Replica, and I have some number of these in my Kindle Library. So thank you for your work! (Now I just need to find the rest of them so I can add those to calibre as well)

So I have a functional KFX, and have converted to PDF and fixed layout ePub using From KFX.

A couple of questions:

The PDF has no table of contents (PDF outline items or Bookmarks). I have to reproduce them manually. 'It would be nice' if KFX Input could add these. It looks like you are using PyPDF, which I believe can do this.

The fixed layout ePub has a table of contents, but the text is not searchable or selectable.

I thought I had succeeded awhile back in generating a toy fixed layout ePub with InDesign that had these properties, but just tried it again, and the text is searchable, but not selectable.

The only fixed layout ePubs I have laying around are those generated for comics/manga, so I don't know what I should be expecting.

Last edited by tomsem; Yesterday at 08:24 PM.
tomsem is offline   Reply With Quote
Old Today, 01:58 AM   #710
sashsz
Junior Member
sashsz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2023
Device: android
Amazon published some new update to Kindle and the new books seem to not be able to get unprotected. I used to use LD Player for this purpose. Now it doesn't work.
What I noticed is that the new book files are .kfx. There is some new file called amzn1.drm-voucher.v1. I think there might be the key to unlock the kfx archive file with the book contents.
sashsz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 76 06-28-2019 04:47 AM
KFX conversion, transfer back to library issue. shoelesshunter Conversion 2 08-22-2017 06:40 PM
[Conversion Input] LaTeX Formulas Input Conversion Plugin sevyls Plugins 0 03-23-2015 05:52 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 04:01 AM
Looking For MHT Input Conversion Plugin FlooseMan Dave Plugins 4 03-30-2010 05:52 PM


All times are GMT -4. The time now is 07:15 AM.


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