Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2010, 12:19 PM   #121
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the cbc format (cbc is a collection of comics and you can specify a title for each included comic)

Details are http://calibre-ebook.com/user_manual...ok-collections
kovidgoyal is offline   Reply With Quote
Old 05-07-2010, 01:25 PM   #122
acidburn517
Member
acidburn517 began at the beginning.
 
Posts: 24
Karma: 20
Join Date: Apr 2010
Device: Sony PRS-600, Ipad
Awesome! Thanks kovid!
acidburn517 is offline   Reply With Quote
Advert
Old 05-08-2010, 12:51 AM   #123
acidburn517
Member
acidburn517 began at the beginning.
 
Posts: 24
Karma: 20
Join Date: Apr 2010
Device: Sony PRS-600, Ipad
Still having problems with the comic book collections. I followed the directions in the link and then selected all the files and created an archive using windows then changed the extension from zip to cbc. When I go to convert in calibre, I get an error saying it failed to convert. I can't really decipher the log to figure out what I did wrong but here's what I get:

Code:
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (TheWalkingDead vol 1)

Convert book 1 of 1 (TheWalkingDead vol 1)
Resolved conversion options
{'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': 256,
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'despeckle': False,
 'disable_font_rescaling': True,
 'disable_trim': False,
 'dont_grayscale': False,
 'dont_normalize': False,
 'dont_sharpen': False,
 'dont_split_on_page_breaks': False,
 'extra_css': None,
 'extract_to': None,
 'flow_size': 260,
 '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.SonyReaderInput object at 0x5b45730>,
 'insert_blank_line': False,
 'insert_metadata': False,
 'isbn': None,
 'keep_aspect_ratio': True,
 'landscape': True,
 '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,
 'max_toc_links': 50,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_process': False,
 'no_sort': False,
 'no_svg_cover': False,
 'output_format': u'png',
 'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x5b45990>,
 'page_breaks_before': None,
 'prefer_metadata_cover': False,
 'preprocess_html': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': '/var/folders/Ls/LsBDLa6qHe8XKD7-RCFiuk+++TM/-Tmp-/calibre_0.6.52_bXpwdx.opf',
 'remove_first_image': False,
 'remove_footer': False,
 'remove_header': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'right2left': False,
 'series': None,
 'series_index': None,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'use_auto_toc': False,
 'verbose': 2,
 'wide': False}
Python function terminated unexpectedly: ('ascii', u'/var/folders/Ls/LsBDLa6qHe8XKD7-RCFiuk+++TM/-Tmp-/calibre_0.6.52_j7u4WV_comic_collection/\ufeffTheWalkingDead01.cbr', 89, 90, 'ordinal not in range(128)')
InputFormatPlugin: Comic Input running
on /Volumes/General Storage/Calibre Library/Robert kirkman/TheWalkingDead vol 1 (23)/TheWalkingDead vol 1 - Robert kirkman.cbc
Traceback (most recent call last):
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
    return run_entry_point()
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
    return getattr(pmod, func)()
  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 794, in run
  File "site-packages/calibre/customize/conversion.py", line 211, in __call__
  File "site-packages/calibre/ebooks/comic/input.py", line 412, in convert
  File "site-packages/calibre/ebooks/comic/input.py", line 361, in get_pages
  File "site-packages/calibre/ebooks/comic/input.py", line 25, in extract_comic
  File "site-packages/calibre/__init__.py", line 199, in extract
  File "site-packages/calibre/libunrar.py", line 171, in extract
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 89: ordinal not in range(128)
acidburn517 is offline   Reply With Quote
Old 05-08-2010, 02:14 AM   #124
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The problem is whatever editor you used to create the comics.txt file is writing it in UTF-16 instead of UTF-8

Last edited by kovidgoyal; 05-08-2010 at 02:17 AM.
kovidgoyal is offline   Reply With Quote
Old 05-08-2010, 06:51 PM   #125
acidburn517
Member
acidburn517 began at the beginning.
 
Posts: 24
Karma: 20
Join Date: Apr 2010
Device: Sony PRS-600, Ipad
Ah. That worked. Thank you again!
acidburn517 is offline   Reply With Quote
Advert
Old 05-23-2010, 10:36 AM   #126
LaoShanLong
Junior Member
LaoShanLong began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: PRS-600
Out of order

Hi there. I just tried out calibre's .cbc to .epub capabilities and created a great .epub with a TOC for my comic, but there's one problem. A couple pages are out of order.

In one chapter (So far, I'm reading through the rest), page 50 should have been after page 4.

The page was named in a regular scheme that worked for everything else wasn't a split double page. It was, however, directly after a page that was automatically split. The split page (p02-03) is fine, but the following (pg04) is now page 50.

How do I get it back in order? I've opened the epub in Sigil, but the ordering it shows me is even more out of whack.


Each page is named in this scheme:
Ichigo_v01_c##_##.png, where c## is the chapter number and ## is the page number.
The double page is named as this:
Ichigo_v01_c01_02-03.png
The out of order page is named this:
Ichigo_v01_c01_04.png

Help?
LaoShanLong is offline   Reply With Quote
Old 05-23-2010, 11:36 AM   #127
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
weird, open a ticket and attach your cbc
kovidgoyal is offline   Reply With Quote
Old 05-23-2010, 03:41 PM   #128
LaoShanLong
Junior Member
LaoShanLong began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: PRS-600
Done. .cbc and .epub were both too big to attach, so I uploaded them to mediafire. They're linked in a comment in the ticket.

http://bugs.calibre-ebook.com/ticket/5595

Last edited by LaoShanLong; 05-23-2010 at 04:25 PM.
LaoShanLong is offline   Reply With Quote
Old 07-03-2010, 04:00 AM   #129
zaphod666
Junior Member
zaphod666 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Nook
Hmm I have a kind of annoying problem I would really appreciate some help with. I am creating a .cbc file from some downloaded manga and Calibre adds not only the chapter links like I want but it also creates a link for every page in the manga chapter.

I want this:
Chapter 1
Chapter 2
Chapter 3


And I get:
Chapter 1
Page 1
Page 2
Page 3
Etc...more pages
Chapter 2

And so on.

The inside of my .cbc file looks like this:

one_piece_001.cbz
one_piece_002.cbz
one_piece_003.cbz
comics.txt


My comics.txt has this in it:

one_piece_001.cbz:Chapter One
one_piece_002.cbz:Chapter Two
one_piece_003.cbz:Chapter Three


I would really appreciate some help.
zaphod666 is offline   Reply With Quote
Old 07-03-2010, 09:22 AM   #130
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What format are you outputting?
kovidgoyal is offline   Reply With Quote
Old 07-03-2010, 05:10 PM   #131
zaphod666
Junior Member
zaphod666 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Nook
Epub format. I was under the impression that the epub format allowed chapter creation. I also tried pdf for the hell of it and I ended up with no chapter links at all. I managed to get the chapters working in epub with a different program but that program does nowhere as good of a job formatting the comics as calibre.
zaphod666 is offline   Reply With Quote
Old 07-03-2010, 05:47 PM   #132
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In epub you will get a hierarchical TOC with the entries from the cbc at the top level and the pages at lower levels.
kovidgoyal is offline   Reply With Quote
Old 07-03-2010, 08:13 PM   #133
zaphod666
Junior Member
zaphod666 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Nook
Ah ok thanks for the response. If I don't want the lower level entries can I disable this in the TOC preferences?
zaphod666 is offline   Reply With Quote
Old 07-03-2010, 08:48 PM   #134
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the TOC filter option.
kovidgoyal is offline   Reply With Quote
Old 07-03-2010, 09:00 PM   #135
zaphod666
Junior Member
zaphod666 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Nook
Great! Thank you for being patient with me and thanks for making such a great program. I will check out the TOC filter option.
zaphod666 is offline   Reply With Quote
Reply

Tags
cbz, comic

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best (approximately 7 inch) sub-250$ reader for color comics (unzipped CBR/CBZ)? Neole Alternative Devices 15 05-15-2011 05:02 PM
Cbr\Cbz to Mobi Conversion Problem arktoga Calibre 0 07-22-2010 08:37 AM
cbr and cbz convertor asdx Astak EZReader 4 02-05-2010 02:37 AM
iPod .Cbr or.Cbz on the Itouch jaxs Apple Devices 6 12-25-2009 02:53 PM
Having a problem with CBR/CBZ conversion curtw Calibre 5 10-03-2008 03:11 AM


All times are GMT -4. The time now is 11:45 PM.


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