05-16-2010, 04:44 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2010
Device: sony505, sony daily edition, ipod touch
|
Converting Kindle comics in mobi to epub or pdf
Hi all,
My apologies if this question has been answered, but I haven't found it in searching the site and googling more generally. I bought a couple of Harlequin comics from Amazon and successfully read them on my Kindle for PC program and iPod Touch. I want to be able to read similar files on my Sony Daily Edition, but when I put a (non-DRM) file in Calibre and try to convert to ePub or pdf, I get an error message. The file is in the usual Kindle format so I assume I can't use the comics converter? And it's a file, not a folder, so I can't extract the images. Any suggestions? Thanks, Sunita |
05-16-2010, 05:54 PM | #2 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The file is probably in the Topaz format, which calibre cannot convert.
|
Advert | |
|
05-16-2010, 06:21 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2010
Device: sony505, sony daily edition, ipod touch
|
Thanks so much for the quick reply, Kovid.
I don't think it's in Topaz, b/c I was able to remove DRM using Kindle4PC, and I can't do that w/Topaz formats. Here are the details of the error message: ------------------------------------ Convert book 1 of 1 (Harlequin comics: Lord Calthorpe's Promise I) Resolved conversion options {'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(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': 'c:\\users\\saparikh\\appdata\\local\\temp\\calibr e_0.6.53_yylppf.jpeg', 'custom_size': None, 'debug_pipeline': None, 'disable_font_rescaling': False, 'extra_css': None, 'font_size_mapping': None, 'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' , 'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' , 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x045CEA30>, 'insert_blank_line': False, 'insert_metadata': False, 'isbn': None, '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, 'max_toc_links': 50, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'orientation': u'portrait', 'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x045CEDD0>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'paper_size': u'letter', 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': 'c:\\users\\saparikh\\appdata\\local\\temp\\calibr e_0.6.53_onpqfj.opf', 'remove_first_image': False, 'remove_footer': False, 'remove_header': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'series': None, 'series_index': None, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unit': 'inch', 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\saparikh\Documents\Calibre books\OGATA_RIN\Harlequin comics_ Lord Calthorpe's Promi (817)\Harlequin comics_ Lord Calthorpe's Promi - OGATA_RIN.mobi Extracting text... Adding anchors... Extracting images... Cleaning up HTML... Parsing HTML... Converting style information to CSS... Creating OPF... Parsing all content... Parsing styles.css ... Parsing Harlequin_co-rpes_Promise_I.html ... Forcing Harlequin_co-rpes_Promise_I.html into XHTML namespace Generating default TOC from spine... Merging user specified metadata... Detecting structure... Auto generated TOC with 0 entries. Flattening CSS and remapping font sizes... Python function terminated unexpectedly max() arg is an empty sequence (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 99, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 877, in run File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 123, in __call__ File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 167, in baseline_spine ValueError: max() arg is an empty sequence ---------------------------------- |
05-16-2010, 06:46 PM | #4 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah, that error means no content was found. Probably because the file contains only images and no html. Open a ticket and attach it, and I'll see if I can workaround it.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Lord of the Rings Now Available! KINDLE, EPUB, PDF, LIT, and MOBI | sirbruce | Amazon Kindle | 368 | 11-10-2010 10:04 PM |
Converting from Epub to Mobi | kevinofengland | Calibre | 5 | 10-12-2010 07:23 PM |
Converting from .epub to .mobi | mapleleafs | Amazon Kindle | 18 | 08-18-2010 05:20 PM |
Lord of the Rings Now Available! KINDLE, EPUB, PDF, LIT, and MOBI | sirbruce | News | 2 | 04-19-2009 04:24 PM |
Converting PDF to ePub/MOBI/LRF | jasonb57 | Workshop | 0 | 02-16-2009 03:58 PM |