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 03-15-2023, 01:55 PM   #1336
MonkCanatella
Member
MonkCanatella began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2023
Device: iPad Pro
Hi, getting some strange errors, probably the same reason these epubs wouldn't work on the kindle either. I can't find anything on this related to the epubs, kindle, claibre, etc.

What happens is the books sit at 67% complete and the last thing on the log is this:

SetConsoleScreenBufferSize failed 87

The largest book I've converted to kfx is 155. The others are smaller but still large - 55-100mb
MonkCanatella is offline   Reply With Quote
Old 03-15-2023, 04:51 PM   #1337
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by MonkCanatella View Post
Hi, getting some strange errors, probably the same reason these epubs wouldn't work on the kindle either. I can't find anything on this related to the epubs, kindle, claibre, etc.

What happens is the books sit at 67% complete and the last thing on the log is this:

SetConsoleScreenBufferSize failed 87

The largest book I've converted to kfx is 155. The others are smaller but still large - 55-100mb
Size shouldn't matter much. If it is a fixed layout EPUB, try throwing it into Kindle Create, and if that works, you can use the CLI to convert it to KFX.
DuckieTigger is offline   Reply With Quote
Old 03-15-2023, 06:34 PM   #1338
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by MonkCanatella View Post
Hi, getting some strange errors, probably the same reason these epubs wouldn't work on the kindle either. I can't find anything on this related to the epubs, kindle, claibre, etc.
It is difficult to guess what might be going wrong without seeing a full log and knowing more about the books you are trying to convert.

Quote:
Originally Posted by MonkCanatella View Post
What happens is the books sit at 67% complete and the last thing on the log is this:

SetConsoleScreenBufferSize failed 87
That error is related to your Windows system. Knowing more about your PC and Windows version might be helpful in diagnosing the problem.

Quote:
Originally Posted by MonkCanatella View Post
The largest book I've converted to kfx is 155. The others are smaller but still large - 55-100mb
So some books do work? That would indicate something specific to the book(s) that are failing. Again more information is needed.
jhowell is offline   Reply With Quote
Old 03-17-2023, 06:58 PM   #1339
MonkCanatella
Member
MonkCanatella began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2023
Device: iPad Pro
I think I figured it out. I edited the ebook and checked for bugs and resolved them.
MonkCanatella is offline   Reply With Quote
Old 03-17-2023, 07:29 PM   #1340
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by MonkCanatella View Post
I think I figured it out. I edited the ebook and checked for bugs and resolved them.
Great.
jhowell is offline   Reply With Quote
Old 03-23-2023, 06:21 AM   #1341
Acaread
Member
Acaread began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2019
Device: None
Hi, is there a way to have smaller than default font sizes when reading KFX files on a kindle Basic 2022 running the latest firmware?

Searching around, I only found a solution for mobi files and I would not want to miss the typography goodies that come with the KFX files.
Acaread is offline   Reply With Quote
Old 03-23-2023, 08:00 AM   #1342
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Acaread View Post
Hi, is there a way to have smaller than default font sizes when reading KFX files on a kindle Basic 2022 running the latest firmware?
One of the features of KFX format is automatic normalization of font sizes so that they are consistent across books. I do not know of any way to trick it into using a different size.
jhowell is offline   Reply With Quote
Old 04-16-2023, 07:37 AM   #1343
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.67.0 - 16 Apr 2023

Detect Kindle Previewer versions up to 3.71.1.

Support use of the 64-bit version of Wine under Linux. (Thanks to Honza Pokorny.)
jhowell is offline   Reply With Quote
Old 04-22-2023, 01:42 AM   #1344
hengyu
Connoisseur
hengyu began at the beginning.
 
Posts: 56
Karma: 10
Join Date: Aug 2016
Device: Kobo Libra Colour
Quote:
Originally Posted by ssda View Post
calibre, version 5.25.0
ERROR: KFX conversion failed: <p><b>Cannot convert How Jesus Became God</b><br><br><b>Conversion error:</b> Kindle conversion has encountered an internal error.</p>

I've been getting this error on calibre every time i try to convert to kfx. It used to be working great. I've tried different books,I've tried to update kindle previewer 3.Currently using 3.59 version.Nothing seems to be working.

When i try to load a epub to kindle previewer i get this error.

"Error: This error will block the book from publishing. The error needs to be fixed in order to publish."
"Notice: This issue will not block the book from publishing and can be safely ignored as there will be no impact."
"Type","Description","Source File","Line Number","Text Preceding Warning or Error","Recommended Fix"
"Error","Kindle conversion has encountered an internal error.","","","","Our team needs to investigate this error in order to resolve. Please go to the KPR Help Menu and select the Send Feedback option to inform us of this issue. Please make sure you are signed in and we will provide you with more information within 3 business days. Thank you."

What can i do here? Also this thread helped me a lot. I'm grateful to you.
I got this exact error logged and was searching here for an answer. I eventually stumbled upon one through a lot of trial and error of deleting files until I narrowed it down to a single file, and then deleting parts of that file until I noted specific lines that caused problems.

In the end, xhtml file containing the footnotes, some line had a malformed URL in a hyperlink like so:

Code:
<p class="foot1">... <a href="http:/REDACTED/Member.aspx?Id=1806">http:/REDACTED/Member.aspx?Id=1806</a>...</p>

Adding the missing second slash to the
Code:
<a href="http:/>
fixed the problem. You could probably find the offending entries with a regex search for "https?:/[a-z]" in Calibre's "Edit book"

I'm not sure there aren't other causes of this error log, but hopefully this manages to help some people with this useless Previewer conversion error!

Last edited by hengyu; 04-22-2023 at 01:48 AM.
hengyu is offline   Reply With Quote
Old 04-22-2023, 03:02 PM   #1345
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by hengyu View Post
I got this exact error logged and was searching here for an answer. I eventually stumbled upon one through a lot of trial and error of deleting files until I narrowed it down to a single file, and then deleting parts of that file until I noted specific lines that caused problems.

In the end, xhtml file containing the footnotes, some line had a malformed URL in a hyperlink like so:

Code:
<p class="foot1">... <a href="http:/REDACTED/Member.aspx?Id=1806">http:/REDACTED/Member.aspx?Id=1806</a>...</p>
Thanks for taking the time to find the cause of the problem and reporting it.

The next release of this plugin will fix an incorrect number of '/' characters in an http or https URL contained in an href. That should prevent this particular internal error from occurring in the future.
jhowell is offline   Reply With Quote
Old 05-05-2023, 03:29 PM   #1346
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,900
Karma: 27013865
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Just wanted to confirm success at creating Print Replica using this plugin from KPF created by Kindle Create. Sort of unexpected in that Kindle Previewer isn't set up to ingest PDF.

I did have issue with a PDF that was in landscape orientation. It looked okay in the Kindle Create Previewer, but the KFX had clipping. I think I sent the same PDF to Send To Kindle service and it got rotated but otherwise looked okay. I'll check this again, and try some other PDFs.

'It would be nice' if one could convert directly from PDF. Of course it would likely need to employ Kindle Create. Any idea if that's possible?

I think as more people get Scribes, and its support for Print Replica improves with a more complete feature set, there may be more interest in creating these locally rather than relying on Send to Kindle service.

Note it should be possible to check Print Replica KFX using Kindle apps (I can side load these to Kindle for iPad).

One issue: there is an error 'no cover found' during execution. No doubt because that is because Kindle Previewer expects one for ePub etc.

Last edited by tomsem; 05-06-2023 at 12:27 AM.
tomsem is offline   Reply With Quote
Old 05-06-2023, 10:54 AM   #1347
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Just wanted to confirm success at creating Print Replica using this plugin from KPF created by Kindle Create. Sort of unexpected in that Kindle Previewer isn't set up to ingest PDF.
The Kindle Previewer is used by the KFX Output plugin to convert EPUB to KPF. It is not involved in converting KPF to KFX. The plugin does that part itself.

Quote:
Originally Posted by tomsem View Post
I did have issue with a PDF that was in landscape orientation. It looked okay in the Kindle Create Previewer, but the KFX had clipping. I think I sent the same PDF to Send To Kindle service and it got rotated but otherwise looked okay. I'll check this again, and try some other PDFs.
I would like to examine some examples of what Amazon is doing when PDFs are sent to a Scribe so that I can improve this plugin to more closely replicate Amazon's conversion process. I would need to have an original PDF along with the resulting file that is delivered to a Scribe when send-to-kindle is used.

Quote:
Originally Posted by tomsem View Post
'It would be nice' if one could convert directly from PDF. Of course it would likely need to employ Kindle Create. Any idea if that's possible?
The Kindle Previewer has a command line interface that other software can make use of to convert EPUB to KPF. There is nothing equivalent to that in Kindle Create for converting PDF to KPF. It can only be controlled using the GUI.

Quote:
Originally Posted by tomsem View Post
One issue: there is an error 'no cover found' during execution. No doubt because that is because Kindle Previewer expects one for ePub etc.
I assume that you mean the message "The cover could not be set because the page uses an unsupported format". That is something I intend to fix in the next release of the plugin.
jhowell is offline   Reply With Quote
Old 05-06-2023, 12:55 PM   #1348
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by jhowell View Post
I assume that you mean the message "The cover could not be set because the page uses an unsupported format". That is something I intend to fix in the next release of the plugin.
Are you going to render out the cover page, save as an image file, then use that?
DuckieTigger is offline   Reply With Quote
Old 05-06-2023, 01:23 PM   #1349
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: 7,026
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by DuckieTigger View Post
Are you going to render out the cover page, save as an image file, then use that?
Yes. That is the plan.
jhowell is offline   Reply With Quote
Old 05-06-2023, 02:11 PM   #1350
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,900
Karma: 27013865
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post

I assume that you mean the message "The cover could not be set because the page uses an unsupported format". That is something I intend to fix in the next release of the plugin.
Yes:

WARNING: The cover could not be set because the page uses an unsupported format: cover page uses a PDF image

Thank you!

Last edited by tomsem; 05-06-2023 at 03:49 PM.
tomsem is offline   Reply With Quote
Reply

Tags
kfx, linux, wine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 588 03-28-2025 02:26 PM
Conversion output plugins? jgoguen Development 14 08-10-2013 11:19 AM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 04:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 02:49 AM


All times are GMT -4. The time now is 06:47 AM.


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