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 01-06-2012, 02:06 PM   #1
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Need some help with a failed conversion

I'm having trouble converting an edited epub to mobi. I've done this almost daily for over a year now and have rarely had a conversion fail so I'm not really sure what the error log is telling me. I'll attach it to this post. Those of you somewhat familiar with Calibre conversion error logs, please look this over and see if anything stands out.

Thanks in advance for any help anyone may be able to provide.

Sincerely,
- Byron Followell


Code:
calibre, version 0.8.20
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Star Trek: A Singular Destiny)

Convert book 1 of 1 (Star Trek: A Singular Destiny)
Resolved conversion options
calibre version: 0.8.20
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': u'justify',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
 'chapter_mark': u'none',
 'comments': None,
 'cover': 'c:\\docume~1\\locals~1\\temp\\calibre_0.8.20_tmp_c2xzxn\\u3fckv.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'duplicate_links_in_toc': False,
 'enable_heuristics': False,
 'extra_css': None,
 'extract_to': None,
 '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 0x0420E930>,
 '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,
 'mobi_ignore_margins': False,
 'mobi_toc_at_start': False,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': True,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0420EC50>,
 'page_breaks_before': u'/',
 'personal_doc': u'[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': True,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'c:\\docume~1\\locals~1\\temp\\calibre_0.8.20_tmp_c2xzxn\\bbxnf_.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'',
 'rescale_images': False,
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on c:\docume~1\locals~1\temp\calibre_0.8.20_tmp_c2xzxn\dunvos.epub
Found HTML cover OEBPS/Text/9781416598138_cvr.html
Parsing all content...
Parsing OEBPS/Text/9781416598138_toc.html ...
Parsing OEBPS/Text/9781416598138_exerpt10.html ...
Parsing OEBPS/Text/9781416598138_ch10.html ...
Parsing OEBPS/Text/9781416598138_exerpt11.html ...
Parsing OEBPS/Styles/9781416598138.css ...
Failed to parse content in OEBPS/Styles/9781416598138.css
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\oeb\reader.py", line 165, in _manifest_prune_invalid
  File "site-packages\calibre\ebooks\oeb\base.py", line 1165, in fget
  File "site-packages\calibre\ebooks\oeb\base.py", line 1108, in _parse_css
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\util.py", line 719, in __setitem__
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\css\cssnamespacerule.py", line 235, in _setNamespaceURI
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\errorhandler.py", line 96, in __handle
NoModificationAllowedErr: CSSNamespaceRule: namespaceURI is readonly.

Parsing OEBPS/Text/9781416598138_ch11.html ...
Parsing OEBPS/Text/9781416598138_exerpt12.html ...
Parsing OEBPS/Text/9781416598138_ch20.html ...
Parsing OEBPS/Text/9781416598138_ch12.html ...
Parsing OEBPS/Text/9781416598138_exerpt13.html ...
Parsing OEBPS/Text/9781416598138_titlepg.html ...
Parsing OEBPS/Text/9781416598138_ch13.html ...
Parsing OEBPS/Text/9781416598138_exerpt14.html ...
Parsing OEBPS/Text/9781416598138_ch14.html ...
Parsing OEBPS/Text/9781416598138_exerpt15.html ...
Parsing OEBPS/Text/9781416598138_exerpt21.html ...
Parsing OEBPS/Text/9781416598138_ch15.html ...
Parsing OEBPS/Text/9781416598138_exerpt16.html ...
Parsing OEBPS/Text/9781416598138_ack.html ...
Parsing OEBPS/Text/9781416598138_ch16.html ...
Parsing OEBPS/Text/9781416598138_exerpt17.html ...
Parsing OEBPS/Text/9781416598138_cvr.html ...
Parsing OEBPS/Text/9781416598138_ch17.html ...
Parsing OEBPS/Text/9781416598138_auth.html ...
Parsing OEBPS/Text/9781416598138_exerpt18.html ...
Parsing OEBPS/Text/9781416598138_ep.html ...
Parsing OEBPS/Text/9781416598138_ch18.html ...
Parsing OEBPS/Text/9781416598138_exerpt19.html ...
Parsing OEBPS/Text/9781416598138_ded.html ...
Parsing OEBPS/Text/9781416598138_hist.html ...
Parsing OEBPS/Text/9781416598138_tsr.html ...
Parsing OEBPS/Text/9781416598138_exerpt20.html ...
Parsing OEBPS/Text/9781416598138_cpy.html ...
Parsing OEBPS/Text/9781416598138_backcvr.html ...
Parsing OEBPS/Text/9781416598138_epi.html ...
Parsing OEBPS/Text/9781416598138_halftitlepg.html ...
Parsing OEBPS/Text/9781416598138_exerpt01.html ...
Parsing OEBPS/Text/9781416598138_ch19.html ...
Parsing OEBPS/Text/9781416598138_ch01.html ...
Parsing OEBPS/Text/9781416598138_exerpt02.html ...
Parsing OEBPS/Text/9781416598138_ch02.html ...
Parsing OEBPS/Text/9781416598138_exerpt03.html ...
Parsing OEBPS/Text/9781416598138_ch03.html ...
Parsing OEBPS/Text/9781416598138_exerpt04.html ...
Parsing OEBPS/Text/9781416598138_ch04.html ...
Parsing OEBPS/Text/9781416598138_exerpt05.html ...
Parsing OEBPS/Text/9781416598138_ch05.html ...
Parsing OEBPS/Text/9781416598138_exerpt06.html ...
Parsing OEBPS/Text/9781416598138_ch06.html ...
Parsing OEBPS/Text/9781416598138_exerpt07.html ...
Parsing OEBPS/Text/9781416598138_ch07.html ...
Parsing OEBPS/Text/9781416598138_exerpt08.html ...
Parsing OEBPS/Text/9781416598138_ch08.html ...
Parsing OEBPS/Text/9781416598138_exerpt09.html ...
Parsing OEBPS/Text/9781416598138_ch09.html ...
Referenced file 'OEBPS/Styles/9781416598138.css' not in manifest
Parsing OEBPS/Styles/9781416598138.css ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
    Detected chapter: Excerpt from an article by Jack Elliott in the Tim
    Detected chapter: 1 CAPELLA IV Rebecca Greenblatt hated the fact tha
    Detected chapter: A letter to Professor Sonek Pran at McKay Universi
    Detected chapter: 2 MARS “Now the trade disputes between the Andoria
    Detected chapter: Excerpt from a Federation News Service report by E
    Detected chapter: 3 CESTUS III “I liked it better when I was lieuten
    Detected chapter: A letter to Professor Sonek Pran, sent by Sara Pra
    Detected chapter: 4 EARTH Though he traced a quarter of his heritage
    Detected chapter: A memo from Federation Transportation Secretary Il
    Detected chapter: 5 KRIOS Captain Drex, son of Martok, could feel th
    Detected chapter: A suicide note left by Augustus Betances I was pis
    Detected chapter: 6 U.S.S. AVENTINE “We’re ferrying a history profes
    Detected chapter: Federation News Service report by Yrik Ulfthar Rio
    Detected chapter: 7 U.S.S. MUSGRAVE Fabian Stevens stared at the bea
    Detected chapter: CASUALTY REPORT 92792382 BAKER Addendum to list of
    Detected chapter: 8 U.S.S. AVENTINE Sonek slugged down the last of h
    Detected chapter: Final log entry by Captain George Sanders, command
    Detected chapter: 9 H’ATORIA Archbishop Retej, leader of the Seventh
    Detected chapter: Personal log of Counselor Brian Ellis, Starbase 22
    Detected chapter: 10 EARTH The assorted councillors and cabinet memb
    Detected chapter: A letter to Chief Rupi Yee on the U.S.S. Sugihara,
    Detected chapter: 11 MAXIA ZETA IV Every morning when Bojan Hadžic g
    Detected chapter: A classified report from Lieutenant Commander Kare
    Detected chapter: 12 U.S.S. AVENTINE Sam Bowers stood in a makuso po
    Detected chapter: Personal log of Counselor Kaimi Pumehana of the U.
    Detected chapter: 13 TY’GOKOR Martok’s leg hurt. The limb had been f
    Detected chapter: Excerpt from the first contact report made by Comm
    Detected chapter: 14 U.S.S. AVENTINE Dax peered across the desk of h
    Detected chapter: An article by Ozla Graniv in Seeker Yesterday, the
    Detected chapter: 15 RUNABOUT SEINE Ensign Altoss was dreading no lo
    Detected chapter: A homily given by Prylar Hon Avid at a vigil on Be
    Detected chapter: 16 U.S.S. AVENTINE Dax looked away from the screen
    Detected chapter: Arrest report filed by Sergeant Hildegard Silverma
    Detected chapter: Arrest report filed by Sergeant Hildegard Silverma
    Detected chapter: 17 RUNABOUT SEINE Sonek sat in the aft compartment
    Detected chapter: Log entry by Captain Janna Demitrijian, commanding
    Detected chapter: 18 KRIOS “The cloak is working to expected paramet
    Detected chapter: Transcript of interrogation by Commander Lokor, he
    Detected chapter: 19 RUNABOUT SEINE “Well, Professor, you want the g
    Detected chapter: Partial transcript of 22 February 2381 edition of 
    Detected chapter: Partial transcript of 22 February 2381 edition of 
    Detected chapter: 20 EARTH President Nan Bacco half leaned, half sat
    Detected chapter: Transcript of press conference given by President 
    Detected chapter: EPILOGUE The funeral took place at a community cen
Flattening CSS and remapping font sizes...
Parsing OEBPS/Styles/9781416598138.css ...
Python function terminated unexpectedly
  CSSNamespaceRule: namespaceURI is readonly. (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 187, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 1041, 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 150, in stylize_spine
  File "site-packages\calibre\ebooks\oeb\stylizer.py", line 235, in __init__
  File "site-packages\calibre\ebooks\oeb\base.py", line 1165, in fget
  File "site-packages\calibre\ebooks\oeb\base.py", line 1108, in _parse_css
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\util.py", line 719, in __setitem__
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\css\cssnamespacerule.py", line 235, in _setNamespaceURI
  File "site-packages\cssutils-0.9.7b4-py2.7.egg\cssutils\errorhandler.py", line 96, in __handle
xml.dom.NoModificationAllowedErr: CSSNamespaceRule: namespaceURI is readonly.
bfollowell is offline   Reply With Quote
Old 01-06-2012, 03:52 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,780
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
that is a fairly old Calibre. 8.34 is today's current

the last line. 'Read only' ???
was the source from a CD
theducks is online now   Reply With Quote
Advert
Old 01-06-2012, 04:59 PM   #3
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Quote:
Originally Posted by theducks View Post
that is a fairly old Calibre. 8.34 is today's current

the last line. 'Read only' ???
was the source from a CD
Maybe but I've used versions six months old and never really had a problem. I guess there's a first time for everything though. I just saved the file right before trying the conversion though so I know it isn't read-only. I'll download the latest version and try again.

- Byron
bfollowell is offline   Reply With Quote
Old 01-06-2012, 05:35 PM   #4
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
I definitely have some problems somewhere. I downloaded v0.8.34 and it did convert without failing this time but, when I pull the mobi into Kindle Previewer, it's like none of the css formatting is making it over through the conversion. When I look at the original epub on ADE though, it displays with no problems and ADE is very finicky about css issues.

I'll keep digging and post back whatever I find.

- Byron
bfollowell is offline   Reply With Quote
Old 01-06-2012, 05:48 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,780
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by bfollowell View Post
I definitely have some problems somewhere. I downloaded v0.8.34 and it did convert without failing this time but, when I pull the mobi into Kindle Previewer, it's like none of the css formatting is making it over through the conversion. When I look at the original epub on ADE though, it displays with no problems and ADE is very finicky about css issues.

I'll keep digging and post back whatever I find.

- Byron
Go to the MR Mobi forum. Do not pass Go

You need to spend some quality time reading (stickies there)what Mobi can('t) do.
theducks is online now   Reply With Quote
Advert
Old 01-06-2012, 05:53 PM   #6
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Quote:
Originally Posted by theducks View Post
Go to the MR Mobi forum. Do not pass Go

You need to spend some quality time reading (stickies there)what Mobi can('t) do.
Thanks but this isn't a "what mobi can or can't do" issue. Like I said, I've been doing this for well over a year. I'm not doing anything strange, abnormal or weird. This is just very, very basic stuff here. Nothing that should cause the problems I'm seeing. I'm sure it's something simple like having missing semi colon in my css or something. I'll post here after I figure it out.

- Byron
bfollowell is offline   Reply With Quote
Old 01-06-2012, 09:22 PM   #7
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,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates there is a malformed namespace declaration in the css file. That is one are where calibre is more finicky than ADE
kovidgoyal is offline   Reply With Quote
Old 01-06-2012, 10:25 PM   #8
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Quote:
Originally Posted by kovidgoyal View Post
That error indicates there is a malformed namespace declaration in the css file. That is one are where calibre is more finicky than ADE
Thanks kovidgoyal.

I have no idea what the problem was as everything looked fine but I cut & pasted and may've messed something up. Since the namespace isn't technically required, I just removed it and everything worked fine.

Thanks again for your help.

- Byron
bfollowell is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed Conversion Message daylight54 Conversion 0 09-14-2011 06:20 PM
Feed Failed amacbeth Calibre 6 06-18-2011 09:59 AM
conversion failed tponzo Conversion 3 05-16-2011 01:32 PM
Book Conversion via Calibre Failed dewdrops Calibre 4 08-27-2010 09:32 PM
Semi-failed conversion to LRF Xenophon Calibre 2 02-07-2009 03:04 PM


All times are GMT -4. The time now is 10:32 AM.


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