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-20-2024, 08:41 PM   #1501
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by phossler View Post
Is this extra processing necessary or is there a setting I missed?
See this option for the calibredb export command:

Quote:
--dont-update-metadata
Normally, calibre will update the metadata in the saved files from what is in the calibre library. Makes saving to disk slower. Specifying this switch will turn this behavior off.
jhowell is offline   Reply With Quote
Old 06-20-2024, 09:18 PM   #1502
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,085
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Thanks!!

Since I didn't see the extra processing for epub exports, I thought it was as aspect of just the KFX

Works quickly now
phossler is offline   Reply With Quote
Old 06-20-2024, 09:25 PM   #1503
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by phossler View Post
Thanks!!

Since I didn't see the extra processing for epub exports, I thought it was as aspect of just the KFX

Works quickly now
Updating metadata is slower in KFX format than EPUB because it causes the entire file to be regenerated.
jhowell is offline   Reply With Quote
Old 07-02-2024, 11:14 AM   #1504
abaxmith
Junior Member
abaxmith began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite 7th Gen
Hello,

I am trying to convert a pdf file to kfx document, yet I am having "KPF file is missing" error. The complete log is below.

Language of the document is Turkish and this is the first time this error occurred. It would be great if someone can help me.

Code:
Convert book 1 of 1 (Cinselliğin Tarihi)
DeDRM v10.0.3: Trying to decrypt gckln0yk.pdf
DeDRM v10.0.3: gckln0yk.pdf is an unencrypted PDF file - returning as is.
DeDRM v10.0.3: Finished after 0.4 seconds
Conversion options changed from defaults:
  output_profile: 'kindle_pw3'
  verbose: 2
  read_metadata_from_opf: 'C:\\Users\\brker\\AppData\\Local\\Temp\\calibre_9vz7lxhp\\m7hqfxsu.opf'
  cover: 'C:\\Users\\brker\\AppData\\Local\\Temp\\calibre_9vz7lxhp\\jg9yhwoc.jpeg'
Resolved conversion options
calibre version: 7.13.0
{'add_alt_text_to_img': False,
 'approximate_pages': False,
 'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'cde_type_pdoc': False,
 'change_justification': 'original',
 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
            "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
            "'i')) or @class = 'chapter']",
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': 'C:\\Users\\brker\\AppData\\Local\\Temp\\calibre_9vz7lxhp\\jg9yhwoc.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'enable_timeout': False,
 'expand_css': False,
 'extra_css': None,
 'filter_css': '',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x000001798CBBD610>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'new_pdf_engine': False,
 'no_chapters_in_toc': False,
 'no_images': False,
 'no_inline_navbars': False,
 'number_of_pages_field': '(auto)',
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x000001798CBD3C90>,
 'page_breaks_before': "//*[name()='h1' or name()='h2']",
 'prefer_metadata_cover': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'quality_report': False,
 'rating': None,
 'read_metadata_from_opf': 'C:\\Users\\brker\\AppData\\Local\\Temp\\calibre_9vz7lxhp\\m7hqfxsu.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'show_kpr_logs': False,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'transform_css_rules': '[]',
 'transform_html_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_factor': 0.45,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
DeDRM v10.0.3: Trying to decrypt gckln0yk.pdf
DeDRM v10.0.3: gckln0yk.pdf is an unencrypted PDF file - returning as is.
DeDRM v10.0.3: Finished after 0.0 seconds
InputFormatPlugin: PDF Input running
on C:\Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\gckln0yk.pdf
Converting file to html...
pdftohtml log:
Page-1

Page-2

Page-3

Page-4

 link to page 45 Page-5

 link to page 121  link to page 144  link to page 144  link to page 302 Page-6

 link to page 309  link to page 336  link to page 363  link to page 486  link to page 491  link to page 493  link to page 500 Page-7

Page-8

Page-9

Page-10

Page-11

Page-12

Page-13

Page-14

Page-15

Page-16

Page-17

Page-18

Page-19

Page-20

Page-21

Page-22

Page-23

Page-24

Page-25

Page-26

Page-27

Page-28

Page-29

Page-30

Page-31

Page-32

Page-33

Page-34

Page-35

Page-36

Page-37

Page-38

Page-39

Page-40

Page-41

Page-42

Page-43

Page-44

Page-45

Page-46

Page-47

Page-48

Page-49

Page-50

Page-51

Page-52

Page-53

Page-54

Page-55

Page-56

Page-57

Page-58

Page-59

Page-60

Page-61

Page-62

Page-63

Page-64

Page-65

Page-66

Page-67

Page-68

Page-69

Page-70

Page-71

Page-72

Page-73

Page-74

Page-75

Page-76

Page-77

Page-78

Page-79

Page-80

Page-81

Page-82

Page-83

Page-84

Page-85

Page-86

Page-87

Page-88

Page-89

Page-90

Page-91

Page-92

Page-93

Page-94

Page-95

Page-96

Page-97

Page-98

Page-99

Page-100

Page-101

Page-102

Page-103

Page-104

Page-105

Page-106

Page-107

Page-108

Page-109

Page-110

Page-111

Page-112

Page-113

Page-114

Page-115

Page-116

Page-117

Page-118

Page-119

Page-120

Page-121

Page-122

Page-123

Page-124

Page-125

Page-126

Page-127

Page-128

Page-129

Page-130

Page-131

Page-132

Page-133

Page-134

Page-135

Page-136

Page-137

Page-138

Page-139

Page-140

Page-141

Page-142

Page-143

Page-144

Page-145

Page-146

Page-147

Page-148

Page-149

Page-150

Page-151

Page-152

Page-153

Page-154

Page-155

Page-156

Page-157

Page-158

Page-159

Page-160

Page-161

Page-162

Page-163

Page-164

Page-165

Page-166

Page-167

Page-168

Page-169

Page-170

Page-171

Page-172

Page-173

Page-174

Page-175

Page-176

Page-177

Page-178

Page-179

Page-180

Page-181

Page-182

Page-183

Page-184

Page-185

Page-186

Page-187

Page-188

Page-189

Page-190

Page-191

Page-192

Page-193

Page-194

Page-195

Page-196

Page-197

Page-198

Page-199

Page-200

Page-201

Page-202

Page-203

Page-204

Page-205

Page-206

Page-207

Page-208

Page-209

Page-210

Page-211

Page-212

Page-213

Page-214

Page-215

Page-216

Page-217

Page-218

Page-219

Page-220

Page-221

Page-222

Page-223

Page-224

Page-225

Page-226

Page-227

Page-228

Page-229

Page-230

Page-231

Page-232

Page-233

Page-234

Page-235

Page-236

Page-237

Page-238

Page-239

Page-240

Page-241

Page-242

Page-243

Page-244

Page-245

Page-246

Page-247

Page-248

Page-249

Page-250

Page-251

Page-252

Page-253

Page-254

Page-255

Page-256

Page-257

Page-258

Page-259

Page-260

Page-261

Page-262

Page-263

Page-264

Page-265

Page-266

Page-267

Page-268

Page-269

Page-270

Page-271

Page-272

Page-273

Page-274

Page-275

Page-276

Page-277

Page-278

Page-279

Page-280

Page-281

Page-282

Page-283

Page-284

Page-285

Page-286

Page-287

Page-288

Page-289

Page-290

Page-291

Page-292

Page-293

Page-294

Page-295

Page-296

Page-297

Page-298

Page-299

Page-300

Page-301

Page-302

Page-303

Page-304

Page-305

Page-306

Page-307

Page-308

Page-309

Page-310

Page-311

Page-312

Page-313

Page-314

Page-315

Page-316

Page-317

Page-318

Page-319

Page-320

Page-321

Page-322

Page-323

Page-324

Page-325

Page-326

Page-327

Page-328

Page-329

Page-330

Page-331

Page-332

Page-333

Page-334

Page-335

Page-336

Page-337

Page-338

Page-339

Page-340

Page-341

Page-342

Page-343

Page-344

Page-345

Page-346

Page-347

Page-348

Page-349

Page-350

Page-351

Page-352

Page-353

Page-354

Page-355

Page-356

Page-357

Page-358

Page-359

Page-360

Page-361

Page-362

Page-363

Page-364

Page-365

Page-366

Page-367

Page-368

Page-369

Page-370

Page-371

Page-372

Page-373

Page-374

Page-375

Page-376

Page-377

Page-378

Page-379

Page-380

Page-381

Page-382

Page-383

Page-384

Page-385

Page-386

Page-387

Page-388

Page-389

Page-390

Page-391

Page-392

Page-393

Page-394

Page-395

Page-396

Page-397

Page-398

Page-399

Page-400

Page-401

Page-402

Page-403

Page-404

Page-405

Page-406

Page-407

Page-408

Page-409

Page-410

Page-411

Page-412

Page-413

Page-414

Page-415

Page-416

Page-417

Page-418

Page-419

Page-420

Page-421

Page-422

Page-423

Page-424

Page-425

Page-426

Page-427

Page-428

Page-429

Page-430

Page-431

Page-432

Page-433

Page-434

Page-435

Page-436

Page-437

Page-438

Page-439

Page-440

Page-441

Page-442

Page-443

Page-444

Page-445

Page-446

Page-447

Page-448

Page-449

Page-450

Page-451

Page-452

Page-453

Page-454

Page-455

Page-456

Page-457

Page-458

Page-459

Page-460

Page-461

Page-462

Page-463

Page-464

Page-465

Page-466

Page-467

Page-468

Page-469

Page-470

Page-471

Page-472

Page-473

Page-474

Page-475

Page-476

Page-477

Page-478

Page-479

Page-480

Page-481

Page-482

Page-483

Page-484

Page-485

Page-486

Page-487

Page-488

Page-489

Page-490

Page-491

Page-492

Page-493

Page-494

Page-495

Page-496

Page-497

Page-498

Page-499

Page-500

Page-501

Page-502

Page-503

Page-504

Page-505

Page-506

Page-507

Page-508

Page-509
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 11 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 1094 items of level: p_1
Found 107 items of level: p_2
Found 160 items of level: p_3
Found 1097 items of level: p_4
Found 469 items of level: p_5
Found 149 items of level: p_6
Found 702 items of level: p_7
Found 23 items of level: p_8
Found 34 items of level: p_9
Found 472 items of level: p_10
Found 1438 items of level: p_11
Ignoring level p_8
p_1  left margin stats: Counter({'0': 1094})
p_1  right margin stats: Counter({'0': 1094})
p_2  left margin stats: Counter({'0': 107})
p_2  right margin stats: Counter({'0': 107})
p_3  left margin stats: Counter({'0': 160})
p_3  right margin stats: Counter({'0': 160})
p_4  left margin stats: Counter({'0': 1097})
p_4  right margin stats: Counter({'0': 1097})
p_5  left margin stats: Counter({'0': 469})
p_5  right margin stats: Counter({'0': 469})
p_6  left margin stats: Counter({'0': 149})
p_6  right margin stats: Counter({'0': 149})
p_7  left margin stats: Counter({'0': 702})
p_7  right margin stats: Counter({'0': 702})
p_9  left margin stats: Counter({'0': 34})
p_9  right margin stats: Counter({'0': 34})
p_10  left margin stats: Counter({'0': 472})
p_10  right margin stats: Counter({'0': 472})
p_11  left margin stats: Counter({'0': 1438})
p_11  right margin stats: Counter({'0': 1438})
Cleaning up manifest...
Trimming unused files from manifest...
Creating KFX Output...
Software versions: KFX Output 2.8.0, calibre 7.13, Windows-10-10.0.22631-SP0
KFX Output plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=272407
Splitting markup on page breaks and flow limits, if any...
		Splitting on page-break at id=calibre_pb_0
		Splitting on page-break at id=calibre_pb_1
		Splitting on page-break at id=calibre_pb_2
		Splitting on page-break at id=calibre_pb_3
		Splitting on page-break at id=calibre_pb_4
		Splitting on page-break at id=calibre_pb_5
		Splitting on page-break at id=calibre_pb_6
		Splitting on page-break at id=calibre_pb_7
		Splitting on page-break at id=calibre_pb_8
		Splitting on page-break at id=calibre_pb_9
		Splitting on page-break at id=calibre_pb_10
		Splitting on page-break at id=calibre_pb_11
		Splitting on page-break at id=calibre_pb_12
		Splitting on page-break at id=calibre_pb_13
		Splitting on page-break at id=calibre_pb_14
		Splitting on page-break at id=calibre_pb_15
		Splitting on page-break at id=calibre_pb_16
		Splitting on page-break at id=calibre_pb_17
		Splitting on page-break at id=calibre_pb_18
		Splitting on page-break at id=calibre_pb_19
		Splitting on page-break at id=calibre_pb_20
		Splitting on page-break at id=calibre_pb_21
		Splitting on page-break at id=calibre_pb_22
		Splitting on page-break at id=calibre_pb_23
		Splitting on page-break at id=calibre_pb_24
		Splitting on page-break at id=calibre_pb_25
		Splitting on page-break at id=calibre_pb_26
		Splitting on page-break at id=calibre_pb_27
		Splitting on page-break at id=calibre_pb_28
		Splitting on page-break at id=calibre_pb_29
		Splitting on page-break at id=calibre_pb_30
		Splitting on page-break at id=calibre_pb_31
		Splitting on page-break at id=calibre_pb_32
		Splitting on page-break at id=calibre_pb_33
		Splitting on page-break at id=calibre_pb_34
		Splitting on page-break at id=calibre_pb_35
		Splitting on page-break at id=calibre_pb_36
		Splitting on page-break at id=calibre_pb_37
		Splitting on page-break at id=calibre_pb_38
		Splitting on page-break at id=calibre_pb_39
		Splitting on page-break at id=calibre_pb_40
		Splitting on page-break at id=calibre_pb_41
		Splitting on page-break at id=calibre_pb_42
		Splitting on page-break at id=calibre_pb_43
		Splitting on page-break at id=calibre_pb_44
		Splitting on page-break at id=calibre_pb_45
		Splitting on page-break at id=calibre_pb_46
		Splitting on page-break at id=calibre_pb_47
		Splitting on page-break at id=calibre_pb_48
		Splitting on page-break at id=calibre_pb_49
		Splitting on page-break at id=calibre_pb_50
		Splitting on page-break at id=calibre_pb_51
		Splitting on page-break at id=calibre_pb_52
		Splitting on page-break at id=calibre_pb_53
		Splitting on page-break at id=calibre_pb_54
		Splitting on page-break at id=calibre_pb_55
		Splitting on page-break at id=calibre_pb_56
		Splitting on page-break at id=calibre_pb_57
		Splitting on page-break at id=calibre_pb_58
		Splitting on page-break at id=calibre_pb_59
		Splitting on page-break at id=calibre_pb_60
		Splitting on page-break at id=calibre_pb_61
		Splitting on page-break at id=calibre_pb_62
		Splitting on page-break at id=calibre_pb_63
		Splitting on page-break at id=calibre_pb_64
		Splitting on page-break at id=calibre_pb_65
		Splitting on page-break at id=calibre_pb_66
		Splitting on page-break at id=calibre_pb_67
		Splitting on page-break at id=calibre_pb_68
		Splitting on page-break at id=calibre_pb_69
		Splitting on page-break at id=calibre_pb_70
		Splitting on page-break at id=calibre_pb_71
		Splitting on page-break at id=calibre_pb_72
		Splitting on page-break at id=calibre_pb_73
		Splitting on page-break at id=calibre_pb_74
		Splitting on page-break at id=calibre_pb_75
		Splitting on page-break at id=calibre_pb_76
		Splitting on page-break at id=calibre_pb_77
		Splitting on page-break at id=calibre_pb_78
		Splitting on page-break at id=calibre_pb_79
		Splitting on page-break at id=calibre_pb_80
		Splitting on page-break at id=calibre_pb_81
		Splitting on page-break at id=calibre_pb_82
		Splitting on page-break at id=calibre_pb_83
		Splitting on page-break at id=calibre_pb_84
		Splitting on page-break at id=calibre_pb_85
		Splitting on page-break at id=calibre_pb_86
		Splitting on page-break at id=calibre_pb_87
		Splitting on page-break at id=calibre_pb_88
		Splitting on page-break at id=calibre_pb_89
		Splitting on page-break at id=calibre_pb_90
		Splitting on page-break at id=calibre_pb_91
		Splitting on page-break at id=calibre_pb_92
		Splitting on page-break at id=calibre_pb_93
		Splitting on page-break at id=calibre_pb_94
		Splitting on page-break at id=calibre_pb_95
		Splitting on page-break at id=calibre_pb_96
		Splitting on page-break at id=calibre_pb_97
		Splitting on page-break at id=calibre_pb_98
		Splitting on page-break at id=calibre_pb_99
		Splitting on page-break at id=calibre_pb_100
		Splitting on page-break at id=calibre_pb_101
		Splitting on page-break at id=calibre_pb_102
		Splitting on page-break at id=calibre_pb_103
		Splitting on page-break at id=calibre_pb_104
		Splitting on page-break at id=calibre_pb_105
		Splitting on page-break at id=calibre_pb_106
		Splitting on page-break at id=calibre_pb_107
		Splitting on page-break at id=calibre_pb_108
		Splitting on page-break at id=calibre_pb_109
		Splitting on page-break at id=calibre_pb_110
		Splitting on page-break at id=calibre_pb_111
		Splitting on page-break at id=calibre_pb_112
		Splitting on page-break at id=calibre_pb_113
		Splitting on page-break at id=calibre_pb_114
	Split into 116 parts
Successfully converted input format to EPUB
Converting C:\Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\efwgl9_m.epub
Converting C:\Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\efwgl9_m.epub to KPF
Preparing book C:\Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\efwgl9_m.epub for conversion
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 700 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0000
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 667 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0001
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 662 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0002
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 663 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0003
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 701 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0004
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_33511936) - CLI
Conversion process took 718 seconds
**************************************************
Kindle Previewer 3.83.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\efwgl9_m.epub
Post-processing in progress.
Writing output/log files to C:/Users\brker\AppData\Local\Temp\calibre_9vz7lxhp\s9av7yg3\m8y5youkfdpg6e4cyuip\0005

****************** Conversion Failure Reason *****************
KPF file is missing: ""
**************************************************************
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 215, in main
  File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
  File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "calibre\ebooks\conversion\plumber.py", line 1305, in run
  File "calibre_plugins.kfx_output.__init__", line 220, in convert
  File "calibre_plugins.kfx_output.__init__", line 311, in convert_using_previewer
  File "calibre_plugins.kfx_output.__init__", line 361, in report_failure
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert Cinselli\u011fin Tarihi</b><br><br><b>Conversion error:</b> KPF file is missing: \"\"", "level": "error", "det_msg": "", "title": "KFX conversion failed"}

Last edited by pdurrant; 07-02-2024 at 06:01 PM. Reason: change quote to code
abaxmith is offline   Reply With Quote
Old 07-04-2024, 07:12 AM   #1505
jackm8
Addict
jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.
 
jackm8's Avatar
 
Posts: 218
Karma: 2818790
Join Date: Nov 2015
Device: none
PDF's are fixed page format. You'll need to use "Command Line Interface (CLI)" to convert them into KFX, and not Calibre. KFX Output still needs to be installed in Calibre. Instructions are mentioned in the first post. Also read "Comics and Manga" part as it's explaining similar things.

Basically, you first convert PDF into KPF with "Kindle Create" program from Amazon (file-new project-print replica-choose pdf-export). Then you run the command in the directory where your KPF file is.

For example, if you converted gckln0yk.pdf into gckln0yk.kpf. You'd then need to type:
calibre-debug -r "KFX Output" -- "gckln0yk.kpf" "gckln0yk.KFX" -d
If everything goes right, you'll get fixed page kfx file categorised as personal document.

Feel free to ask if you've any problems with this process, I've figured it out after some trial and error, but it has since worked flawlessly for me.

Last edited by jackm8; 07-04-2024 at 08:05 AM.
jackm8 is offline   Reply With Quote
Old 07-04-2024, 09:12 AM   #1506
jackm8
Addict
jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.
 
jackm8's Avatar
 
Posts: 218
Karma: 2818790
Join Date: Nov 2015
Device: none
Btw, while I was looking back at the first post. Something looks confusing to me:

Converting Comics and Manga:
Quote:
KFX comics sideloaded to an e-ink Kindle display in manga mode, even if they are not manga, and panel view does not function. Conversely, manga mode does not function in the Android or iOS Kindle app, but comics with panels will display using Guided View.
When creating comics in Kindle Create 'Reading Direction' is now preserved. Also, is there a difference between Panel View and Guided View? If they're the same, then they do work, as long as panels are created in Kindle Create. I'm not exactly sure if they always worked. I remember that Guided View didn't work on a test file that I did a while back, now it works. It could be that I just didn't know how to enable it on the reader, or that it started to work with one of the updates on Kindle. I'm leaning towards the latter as I remember tapping the screen like a fool trying to get it to work, but who knows. It's the same file, so it's nothing to do with KFX Output and Kindle Create versions.

Also:
Quote:
The plugin is also not able to convert fixed layout comics and manga from source formats such as CBR, CBZ, EPUB, or MOBI.
CBR and CBZ files can be converted. But need to be unpacked and then repacked into KFS with Kindle Create. They're simple zip or rar files with images that can be unpacked with a file archive software. It's then possible to create KFS files out of them in Kindle Create. Same should go for EPUB and MOBI, but process will be a bit longer.

Last edited by jackm8; 07-04-2024 at 09:15 AM.
jackm8 is offline   Reply With Quote
Old 07-04-2024, 09:49 AM   #1507
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by abaxmith View Post
I am trying to convert a pdf file to kfx document, yet I am having "KPF file is missing" error.
PDF format uses a fixed-layout that often does not work well with calibre conversion. Calibre will convert the PDF into a reflowable EPUB but the result may have a variety of flaws. See Read this before Posting PDF Questions for details.

The error that is produced in this case, "KPF file is missing", results from the Kindle Previewer crashing when attempting to convert the reflowable EPUB produced by calibre into KPF format. This can happen for extremely large and complex books. I suspect that is the case here.

I recommend that you convert your PDF to AZW3 format in calibre and then check whether or not the result is readable using calibre's viewer. If so then that format will probably be a better choice than KFX for this particular book.
jhowell is offline   Reply With Quote
Old 07-04-2024, 11:43 AM   #1508
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by jackm8 View Post
PDF's are fixed page format. You'll need to use "Command Line Interface (CLI)" to convert them into KFX, and not Calibre. KFX Output still needs to be installed in Calibre. Instructions are mentioned in the first post. Also read "Comics and Manga" part as it's explaining similar things.

Basically, you first convert PDF into KPF with "Kindle Create" program from Amazon (file-new project-print replica-choose pdf-export). Then you run the command in the directory where your KPF file is.
I do not believe that to be the best approach for this particular book. From the log it appears to be a PDF containing text so converting to a reflowable format would result in the most readable format for a Kindle device as long as it converts fairly cleanly.

Otherwise I suggest simply sideloading the original PDF. That is not going to be a great reading experieance on abaxmith's 7th generation Kindle PaperWhite (PW3), but is better than nothing. It would make sense to consider using KFX Print Replica only if abaxmith owned a Kindle Scribe as that would enable annotating the book.

Quote:
Originally Posted by jackm8 View Post
When creating comics in Kindle Create 'Reading Direction' is now preserved. Also, is there a difference between Panel View and Guided View?
They are the same thing. I will change the documentation to use "Guided View" more consistently.

Quote:
Originally Posted by jackm8 View Post
If they're the same, then they do work, as long as panels are created in Kindle Create. I'm not exactly sure if they always worked. I remember that Guided View didn't work on a test file that I did a while back, now it works. It could be that I just didn't know how to enable it on the reader, or that it started to work with one of the updates on Kindle. I'm leaning towards the latter as I remember tapping the screen like a fool trying to get it to work, but who knows. It's the same file, so it's nothing to do with KFX Output and Kindle Create versions.
Support for Guided View is a recent change introduced early this year in Kindle firmware version 5.16.6. It does not work in older Kindle firmware. I will update the documentation to reflect that.
jhowell is offline   Reply With Quote
Old 07-04-2024, 07:36 PM   #1509
jackm8
Addict
jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.
 
jackm8's Avatar
 
Posts: 218
Karma: 2818790
Join Date: Nov 2015
Device: none
Quote:
Originally Posted by jhowell View Post
I do not believe that to be the best approach for this particular book.
Yeah, you're right, there are drawback to fixed page KFX books created that way. Text can't be highlighted, no search, dictionaries don't work... Probably other things as well. I don't use these things, so I'm quick to advise KFX on people. Silly of me.
jackm8 is offline   Reply With Quote
Old 07-05-2024, 03:08 PM   #1510
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.9.0 - 05 Jul 2024

Detect Kindle Previewer versions up to 3.83.0.

Handle an occasional case where Kindle Previewer successfully converts but fails to include the KPF file name in summary log file produced. (Fixes 'KPF file is missing: ""')
jhowell is offline   Reply With Quote
Old 07-07-2024, 05:27 PM   #1511
alllexx
Junior Member
alllexx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite 11
Thanks for the plugin! I'm on Archlinux with 6.9.7-zen1-1-zen kernel and wine-stable 9.0-2. Current latest 3.83 version of Kindle Previewer 3 CLI crashes, however I've been able to find version 3.76 on the net, which works just fine: https://kindle-previewer.uptodown.co...rgar/121964890
alllexx is offline   Reply With Quote
Old 07-08-2024, 09:28 AM   #1512
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by alllexx View Post
I'm on Archlinux with 6.9.7-zen1-1-zen kernel and wine-stable 9.0-2.
Thanks for the report. I have updated the Installation section of first post in this thread.
jhowell is offline   Reply With Quote
Old 07-19-2024, 02:05 PM   #1513
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,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Method B - calibre cover thumbnails

When the calibre (version 3.29 or later) "Send to device" function is used to send a KFX book to an e-ink Kindle that is connected as a USB drive (not an MTP device), a cover thumbnail image will also be sent. Those cover thumbnails will be replaced by generic covers the first time that the Kindle connects to Amazon after a KFX book is loaded. Remaining in Airplane Mode will prevent this, but doing that may be undesirable.
Calibre will send covers to Scribe with MTP (for non print replica KFX), I think issues with this have all been fixed as of 7.14. And Kindle for Android will generate cover thumbnails from KFX (again non print replica), without any help from calibre (which AFAICT does not send any). So no need to call out MTP device as an exception.

As for the disappearing thumbnails, I've never been able to reproduce it. I think it was fixed with the date & time enhancement awhile back, while presumably older Kindles are still subject to it (I have one, but again cannot reproduce issue). I have not seen new reports, but none of that adds up to proof that it doesn't happen to some people somewhere.

So it remains true that if they disappear, calibre will restore them when reconnecting.

Last edited by tomsem; 07-19-2024 at 02:19 PM.
tomsem is offline   Reply With Quote
Old 07-19-2024, 03:15 PM   #1514
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,754
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Calibre will send covers to Scribe with MTP (for non print replica KFX), I think issues with this have all been fixed as of 7.14. And Kindle for Android will generate cover thumbnails from KFX (again non print replica), without any help from calibre (which AFAICT does not send any). So no need to call out MTP device as an exception.

As for the disappearing thumbnails, I've never been able to reproduce it. I think it was fixed with the date & time enhancement awhile back, while presumably older Kindles are still subject to it (I have one, but again cannot reproduce issue). I have not seen new reports, but none of that adds up to proof that it doesn't happen to some people somewhere.

So it remains true that if they disappear, calibre will restore them when reconnecting.
I will update the documentation.
jhowell is offline   Reply With Quote
Old 07-28-2024, 05:21 PM   #1515
Elaine T
Enthusiast
Elaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolate
 
Posts: 41
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
I have searched for other reports of this, but haven't found any. So... I use Calibre & fanfiction downloader a lot to get fanfictions and other stuff onto my kindle (paperwhite, if it matters). And the KFX Output plugin to get them into the proper format for my kindle.

Occasionally, the Tables of Contents get screwed up. Mostly I sigh and put up with it, because the document isn't very long. Today I updated a book that had seventeen chapters, converted to KFX and put it on my paperwhite. The ToC showed chapters 3 and 9. The log from the calibre job doesn't show a problem at least not as far as I can tell - pasted below at the end of this post.
I could just go back to using an AZW3 for this one - it works, I tried it. But I'd really rather have KFX, as that format does behave better on my device. ANy ideas on what and where to tweak to stop it? I don't seem able to edit the kfx files in calibre to fix the ToC that way, either. Unless I've missed something, which is always possible.


Note: a couple hours ago I check the problem file in kindle previewer and it displayed, as it does on my device, with just the two chapters showing. I closed and deleted the kfx file. I just tried converting the epub to KFX again, it, to get a screenshot, and this time the previewer complained that the file extension was incorrect. It's .kfx. I haven't done anything that should have caused that - I left the computer alone before coming back to post this plea for help. So, what may be going on there?

Suggestions for either problem are welcome! Thanks


Quote:
Launching Kindle Previewer 3 (3.69.0) - CLI
**************************************************
Kindle Previewer 3.69.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\Elaine\AppData\Local\Temp\calibre_m1jwd5s3\a upe3_gc\s4cpvfp5p84e7pjo6kqi\vko0bov9.epub
Post-processing in progress.
Writing output/log files to C:/Users\Elaine\AppData\Local\Temp\calibre_m1jwd5s3\a upe3_gc\s4cpvfp5p84e7pjo6kqi\0000
Successfully converted EPUB to KPF
Converting C:\Users\Elaine\AppData\Local\Temp\calibre_m1jwd5s 3\owu2xljn.kpf
Processing container: C:\Users\Elaine\AppData\Local\Temp\calibre_m1jwd5s 3\owu2xljn.kpf
Removed 1 KDF SQLite file fingerprint(s)
Features: CanonicalFormat-1, kfxgen.textBlock-1, max_id-825, reflow-style-1, yj_hdv-1
Metadata: ASIN=7N4KS20AOZNGV3O7LZ1S03ZZRQG7ZC2I, asset_id=CR!83WUVF46XH8WBRUM9FRS70KOFIOG, author=xxxMiaHikarixxx, book_id=MVTLRbioQ-Ws5NkGEt2yow0, cde_content_type=EBOK, content_id=7N4KS20AOZNGV3O7LZ1S03ZZRQG7ZC2I, cover_image=1559x2200, creator_version=3.69.0, description=..., file_creator=KPR, is_sample=False, issue_date=2022-07-18, kfxgen=kfxlib-20240705, language=en, nested_span=enabled, override_kindle_font=True, publisher=archiveofourown.org, reading_orders=1, selection=enabled, title="Blooming You a Garden Inside Me"
Successfully converted to KFX
KFX output written to C:\Users\Elaine\AppData\Local\Temp\calibre_m1jwd5s 3\rk4xkwc3.kfx
Elaine T 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 567 10-19-2024 06:20 PM
Conversion output plugins? jgoguen Development 14 08-10-2013 12:19 PM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 05:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 03:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 03:49 AM


All times are GMT -4. The time now is 08:07 PM.


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