Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2017, 03:24 AM   #1
poco06
Member
poco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texan
 
Posts: 19
Karma: 18214
Join Date: Jan 2010
Device: PRS600
Issue conversion CBR to PDF

Hello,
I have been using Calibre for long time to convert CBR into PDF and have some issues now.
From time to time (let say 30%), I'm facing this error :
UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal

I have upgraded with the latest Calibre version without succes

Any idea how to move forward ?
Thanks
Pat
poco06 is offline   Reply With Quote
Old 07-14-2017, 02:30 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's not an actual error, just a harmless warning and can be ignored. Any actual error will be at the bottom of the log, not the top.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-15-2017, 03:44 AM   #3
poco06
Member
poco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texan
 
Posts: 19
Karma: 18214
Join Date: Jan 2010
Device: PRS600
OOOpppss,
Sorry Please find the whole error message I have got on this issue :
Spoiler:

Conversion du livre 1 sur 1 (Motor.city)
C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser.py:60 1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
pdf_sans_family: u'MS Shell Dlg 2'
verbose: 2
enable_heuristics: True
keep_aspect_ratio: True
use_profile_size: True
output_profile: 'ipad3'
cover: u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_c ppaib\\2prxl5.jpeg'
preserve_cover_aspect_ratio: True
dont_grayscale: True
read_metadata_from_opf: u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_c ppaib\\3z2uca.opf'
Resolved conversion options
calibre version: 3.3.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'left',
'chapter': None,
'chapter_mark': u'pagebreak',
'colors': 0,
'comic_image_size': None,
'comments': None,
'cover': u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_c ppaib\\2prxl5.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'despeckle': False,
'disable_font_rescaling': True,
'disable_trim': False,
'dont_add_comic_pages_to_toc': False,
'dont_grayscale': True,
'dont_normalize': False,
'dont_sharpen': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': True,
'expand_css': False,
'extra_css': None,
'filter_css': u'',
'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 0x000001C2CB61D278>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_aspect_ratio': True,
'keep_ligatures': False,
'landscape': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 0,
'margin_left': 0,
'margin_right': 0,
'margin_top': 0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_process': False,
'no_sort': False,
'output_format': u'png',
'output_profile': <calibre.customize.profiles.iPad3Output object at 0x000001C2CB61D780>,
'page_breaks_before': None,
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 20,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_page_margin_bottom': 72.0,
'pdf_page_margin_left': 72.0,
'pdf_page_margin_right': 72.0,
'pdf_page_margin_top': 72.0,
'pdf_page_numbers': False,
'pdf_sans_family': u'MS Shell Dlg 2',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': True,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_c ppaib\\3z2uca.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'',
'right2left': False,
'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': '[]',
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_size': True,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\test\AppData\Local\Temp\calibre_cppaib\nq wvpj.cbr
Python function terminated unexpectedly
ERAR_BAD_DATA (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1088, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 181, in convert
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 130, in get_pages
File "site-packages\calibre\ebooks\comic\input.py", line 34, in extract_comic
File "site-packages\calibre\__init__.py", line 312, in extract
File "site-packages\calibre\utils\unrar.py", line 55, in extract
File "site-packages\unrardll\__init__.py", line 284, in extract
File "site-packages\unrardll\__init__.py", line 265, in _extract
File "site-packages\unrardll\__init__.py", line 131, in do_func
unrar.UNRARError: ERAR_BAD_DATA

Last edited by theducks; 07-15-2017 at 12:38 PM. Reason: WRAP log post in spoiler
poco06 is offline   Reply With Quote
Old 07-15-2017, 04:23 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
THat indicates the CBR file in question is corrupted. Can you open it using winrar?
kovidgoyal is offline   Reply With Quote
Old 07-16-2017, 02:37 AM   #5
poco06
Member
poco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texanpoco06 might easily be mistaken for a Texan
 
Posts: 19
Karma: 18214
Join Date: Jan 2010
Device: PRS600
Hello,

Yes, I can open it with Winrar or any CBR viewer (like Sumatra for example).
Regards
Pat
poco06 is offline   Reply With Quote
Advert
Old 07-16-2017, 02:45 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then open a bug report and attch the file or simply use winrar to convert it to a cbz.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cbr to PDF conversion type quality and filesize PaulFraser Conversion 0 05-28-2012 07:02 AM
Cbr to PDF conversion; colour problem PaulFraser Conversion 2 05-06-2012 07:16 AM
CBR conversion to pdf stexxe Conversion 13 10-28-2011 06:27 AM
CBR to PDF Conversion and Trimming stexxe Conversion 3 07-05-2011 01:51 PM
Is it possible to add PDF to CBR/CBZ conversion usualsuspect Conversion 0 05-07-2011 06:22 AM


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


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