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 01-05-2020, 08:41 AM   #1
Marcelareribeiro
Junior Member
Marcelareribeiro began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: calibre 4.8
ERROR: Invalid local symbol created: crop_bleed

Good Morning!
My operating system is Windows 10. I was trying to convert an ebook, created on Kindle Create, to EPUB, by Caliber version 4.8. But it was not possible and these errors appeared:
Spoiler:

Converter livros 1 de 1 (The Little Sophie)C:\Program Files (x86)\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequalConversion options changed from defaults: read_metadata_from_opf: u'C:\\Users\\Marcela\\AppData\\Local\\Temp\\calibr e_jpkq45\\fmncsr.opf' verbose: 2 output_profile: u'generic_eink' cover: u'C:\\Users\\Marcela\\AppData\\Local\\Temp\\calibr e_jpkq45\\0cjlqd.jpeg'Resolved conversion optionscalibre version: 4.8.0{'allow_conversion_with_errors': False, 'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'change_justification': u'original', 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': u'C:\\Users\\Marcela\\AppData\\Local\\Temp\\calibr e_jpkq45\\0cjlqd.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_split_on_page_breaks': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'epub_flatten': False, 'epub_inline_toc': False, 'epub_toc_at_end': False, 'epub_version': u'2', 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': u'', 'fix_indents': True, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x06274670>, '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, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x06274870>, 'page_breaks_before': u'/', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\\Users\\Marcela\\AppData\\Local\\Temp\\calibr e_jpkq45\\fmncsr.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': u'', 'search_replace': '[]', 'series': None, 'series_index': None, '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, 'toc_title': None, 'transform_css_rules': '[]', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2}InputFormatPlugin: KFX Input runningon C:\Users\Marcela\AppData\Local\Temp\calibre_jpkq45 \jgxubd.kpfSoftware versions: KFX Input 1.26.0, calibre 4.8, Windows-10-10.0.18362-SP0KFX Input plugin help is available at https://www.mobileread.com/forums/sh...1290Converting C:\Users\Marcela\AppData\Local\Temp\calibre_jpkq45 \jgxubd.kpfProcessing container: C:\Users\Marcela\AppData\Local\Temp\calibre_jpkq45 \jgxubd.kpfRemoved 1 KDF SQLite file fingerprint(s)ERROR: Invalid local symbol created: crop_bleedERROR: Invalid local symbol created: crop_bleedERROR: Invalid local symbol created: crop_bleedERROR: Invalid local symbol created: crop_bleedBuilt approximate location_map with 250 locationskfxgen version: kfxlib-20191223Features: CanonicalFormat-2, kfxgen.pidMapWithOffset-1, kfxgen.textBlock-1, max_id-786, reflow-style-2, yj_table-2, yj_table_viewer-1Metadata: asset_id=CR!9EQ6QFX4DYR59JWORSNBSH15FYOK, author="Marcela Re Ribeiro", book_id=QaEJJIOSQsy4EAbw6Lv1Qw0, creator_version=1.34.20.0, file_creator=KC, is_sample=False, language=en-US, override_kindle_font=False, publisher=, reading_orders=1, selection=enabled, title=ERROR: Unexpected Ion symbols used: $663, $664Converting book to EPUB 2ERROR: story l4P content type $271 has extra data: {$663: [{$592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: {$58: {$307: Decimal('44.3939'), $306: $314}, $59: {$307: Decimal('0'), $306: $314}, $60: {$307: Decimal('44.3939'), $306: $314}, $61: {$307: Decimal('0'), $306: $314}}, $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')}, {$580: $320, $591: ($659, $664, crop_bleed, 1)}], yj.semantics.image_type: yj.semantics.hero}ERROR: story lK2 content type $271 has extra data: {$663: [{$592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: {$58: {$307: Decimal('44.3939'), $306: $314}, $59: {$307: Decimal('0'), $306: $314}, $60: {$307: Decimal('44.3939'), $306: $314}, $61: {$307: Decimal('0'), $306: $314}}, $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')}, {$580: $320, $591: ($659, $664, crop_bleed, 1)}], yj.semantics.image_type: yj.semantics.hero}Traceback (most recent call last): File "calibre_plugins.kfx_input.__init__", line 99, in convert File "calibre_plugins.kfx_input.__init__", line 201, in convert_from_kfxException: Invalid local symbol created: crop_bleedInvalid local symbol created: crop_bleedInvalid local symbol created: crop_bleedInvalid local symbol created: crop_bleedUnexpected Ion symbols used: $663, $664story l4P content type $271 has extra data: {$663: [{$592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: {$58: {$307: Decimal('44.3939'), $306: $314}, $59: {$307: Decimal('0'), $306: $314}, $60: {$307: Decimal('44.3939'), $306: $314}, $61: {$307: Decimal('0'), $306: $314}}, $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')}, {$580: $320, $591: ($659, $664, crop_bleed, 1)}], yj.semantics.image_type: yj.semantics.hero}story lK2 content type $271 has extra data: {$663: [{$592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: {$58: {$307: Decimal('44.3939'), $306: $314}, $59: {$307: Decimal('0'), $306: $314}, $60: {$307: Decimal('44.3939'), $306: $314}, $61: {$307: Decimal('0'), $306: $314}}, $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')}, {$580: $320, $591: ($659, $664, crop_bleed, 1)}], yj.semantics.image_type: yj.semantics.hero}Python function terminated unexpectedly {"level": "error", "msg": "<b>Cannot convert The Little Sophie</b><br><br>Exception(u\"Invalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nUnexpected Ion symbols used: $663, $664\\nstory l4P content type $271 has extra data: ($663: [($592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: ($58: ($307: Decimal('44.3939'), $306: $314), $59: ($307: Decimal('0'), $306: $314), $60: ($307: Decimal('44.3939'), $306: $314), $61: ($307: Decimal('0'), $306: $314)), $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')), ($580: $320, $591: ($659, $664, crop_bleed, 1))], yj.semantics.image_type: yj.semantics.hero)\\nstory lK2 content type $271 has extra data: ($663: [($592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: ($58: ($307: Decimal('44.3939'), $306: $314), $59: ($307: Decimal('0'), $306: $314), $60: ($307: Decimal('44.3939'), $306: $314), $61: ($307: Decimal('0'), $306: $314)), $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')), ($580: $320, $591: ($659, $664, crop_bleed, 1))], yj.semantics.image_type: yj.semantics.hero)\",)", "det_msg": "", "title": "KFX conversion failed"} (Error Code: 1) Traceback (most recent call last): File "site.py", line 114, in main File "site.py", line 88, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 209, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1110, in run File "site-packages\calibre\customize\conversion.py", line 246, in __call__ File "calibre_plugins.kfx_input.__init__", line 112, in convertcalibre.ebooks.conversion.ConversionUserFee dBack: {"level": "error", "msg": "<b>Cannot convert The Little Sophie</b><br><br>Exception(u\"Invalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nInvalid local symbol created: crop_bleed\\nUnexpected Ion symbols used: $663, $664\\nstory l4P content type $271 has extra data: ($663: [($592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: ($58: ($307: Decimal('44.3939'), $306: $314), $59: ($307: Decimal('0'), $306: $314), $60: ($307: Decimal('44.3939'), $306: $314), $61: ($307: Decimal('0'), $306: $314)), $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')), ($580: $320, $591: ($659, $664, crop_bleed, 1))], yj.semantics.image_type: yj.semantics.hero)\\nstory lK2 content type $271 has extra data: ($663: [($592: ($659, $664, crop_bleed, 1), $641: Decimal('-100'), $642: Decimal('-100'), $643: $442, $644: $442, $645: ($58: ($307: Decimal('44.3939'), $306: $314), $59: ($307: Decimal('0'), $306: $314), $60: ($307: Decimal('44.3939'), $306: $314), $61: ($307: Decimal('0'), $306: $314)), $647: Decimal('1.71429'), $648: Decimal('9.33333'), $639: Decimal('-100')), ($580: $320, $591: ($659, $664, crop_bleed, 1))], yj.semantics.image_type: yj.semantics.hero)\",)", "det_msg": "", "title": "KFX conversion failed"}


I hope you can help me fix it.

Best Regards,
Marcela Re Ribeiro

Last edited by theducks; 01-05-2020 at 11:40 AM. Reason: Please use SPOILER tags for logs
Marcelareribeiro is offline   Reply With Quote
Old 01-05-2020, 11:07 AM   #2
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,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Marcelareribeiro View Post
My operating system is Windows 10. I was trying to convert an ebook, created on Kindle Create, to EPUB, by Caliber version 4.8. But it was not possible and these errors appeared: ...
It appears that you used the new "Insert chapter start images" feature of Kindle Create in your book. That resulted in a KPF file containing formatting that is not currently handled by the KFX Input plugin.

Conversion will be able to complete if you select the option "Allow conversion to complete if errors are detected" in the KFX Input tab of the conversion options when converting the book. The next release of the KFX Input plugin will be able to handle this new formatting without producing an error.
jhowell is offline   Reply With Quote
Advert
Old 01-05-2020, 12:18 PM   #3
Marcelareribeiro
Junior Member
Marcelareribeiro began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: calibre 4.8
Thank you so much

Thank you so much for your replying. It worked

The only problem is that when I open the ebook on Lithium all chapters that are formatted to be in the center of the page appear on the left.

The same goes for all centered paragraphs. Everyone is on the left. Is this a reader problem?

Best Regards,
Marcela Re Ribeiro

Quote:
Originally Posted by jhowell View Post
It appears that you used the new "Insert chapter start images" feature of Kindle Create in your book. That resulted in a KPF file containing formatting that is not currently handled by the KFX Input plugin.

Conversion will be able to complete if you select the option "Allow conversion to complete if errors are detected" in the KFX Input tab of the conversion options when converting the book. The next release of the KFX Input plugin will be able to handle this new formatting without producing an error.
Marcelareribeiro is offline   Reply With Quote
Old 01-06-2020, 06:39 PM   #4
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,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Marcelareribeiro View Post
The only problem is that when I open the ebook on Lithium all chapters that are formatted to be in the center of the page appear on the left.

The same goes for all centered paragraphs. Everyone is on the left. Is this a reader problem?
Centering should have been carried through during conversion. It may be the reader or something else may have gone wrong. I cannot tell without seeing the actual files involved.
jhowell is offline   Reply With Quote
Old 01-07-2020, 08:41 AM   #5
Marcelareribeiro
Junior Member
Marcelareribeiro began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: calibre 4.8
Thank you so much!

Thank you so much for your replying

Yes. I've tried in other readers, and the text was ok.

Please, about the new release of KFX, how can I get it? Is it automatically updated in Calibre or I need to get it and put on Calibre?

Best Regards,
Marcela Re Ribeiro

Quote:
Originally Posted by jhowell View Post
Centering should have been carried through during conversion. It may be the reader or something else may have gone wrong. I cannot tell without seeing the actual files involved.
Marcelareribeiro is offline   Reply With Quote
Advert
Old 01-07-2020, 12:34 PM   #6
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,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Marcelareribeiro View Post
Please, about the new release of KFX, how can I get it? Is it automatically updated in Calibre or I need to get it and put on Calibre?
There will be a notification within calibre that a new plugin version is available and the option to install it once I release it.

I don't know when it will be ready. Probably in about a week.
jhowell is offline   Reply With Quote
Old 01-07-2020, 04:38 PM   #7
Marcelareribeiro
Junior Member
Marcelareribeiro began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: calibre 4.8
Thank you so much!

Ok. Thank you so much!

Best Regards,
Marcela Re Ribeiro

Quote:
Originally Posted by jhowell View Post
There will be a notification within calibre that a new plugin version is available and the option to install it once I release it.

I don't know when it will be ready. Probably in about a week.
Marcelareribeiro is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Zip file - local header is damaged Francois Driesen Conversion 3 09-18-2014 06:07 AM
PRS-T1 Error: Invalid Page van604 Sony Reader 2 08-13-2013 10:17 PM
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 01:47 PM
PRS-900 Help! Invalid Page Error cbnash Sony Reader 5 01-26-2010 09:50 AM
Invalid Syntax Error msprang Sony Reader 7 11-07-2009 01:11 PM


All times are GMT -4. The time now is 03:04 AM.


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