Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2010, 09:11 AM   #1
93terp
Fear The Turtle!
93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.
 
93terp's Avatar
 
Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
B&N ePub Problem

Hi everyone. I recently purchased 5 digital books from Barnes & Noble and was able to successfully de-DRM all five of them. All 5 books were downloaded from B&N in ePub format.

I'm having a problem with one of them while running through calibre to add metadata & do some surface "touch ups" before I upload it to my iPad. I get the "Failed to convert" error code in calibre every time I try it. Here's the log of the specific errors. Any help deciphering this & a workaround is much appreciated!

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Third Secret)

Convert book 1 of 1 (The Third Secret)
Resolved conversion options
calibre version: 0.6.54
{'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\\lmf\\appdata\\local\\temp\\calibre_0.6 .54_cucqd6.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 600,
'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.NookInput object at 0x04ED0A90>,
'insert_blank_line': True,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': True,
'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_default_epub_cover': True,
'no_inline_navbars': False,
'no_svg_cover': True,
'output_profile': <calibre.customize.profiles.iPadOutput object at 0x04ED0BD0>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preprocess_html': True,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\lmf\\appdata\\local\\temp\\calibre_0.6 .54_sjsqu8.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,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\LMF\Calibre Library\Steve Berry\The Third Secret (94)\The Third Secret - Steve Berry.epub
Parsing all content...
Parsing OPS/9780345484345.css ...
Property: Invalid value for "CSS Level 2.1" property: 1px solid grey [83:31: border-bottom]
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: ONEVATICAN CITYWEDNESDAY, NOVEMBER 8, THE PRESENT6
Detected chapter: TWO7:45 A.M.The media circus started early, as Mic
Detected chapter: THREE11:00 A.M.Michener entered the tribunal chamb
Detected chapter: FOUR1:05 P.M.Alberto Cardinal Valendrea stood sile
Detected chapter: FIVEMichener strolled into the midday sun. The mor
Detected chapter: SIX3:00 P.M.Valendrea clamped the headphones over
Detected chapter: SEVEN8:30 P.M.Michener stood before the high altar
Detected chapter: EIGHT9:45 P.M.Valendrea was enjoying his evening.
Detected chapter: NINE11:50 P.M.Katerina rolled off Father Tom Kealy
Detected chapter: TENTURIN, ITALYTHURSDAY, NOVEMBER 910:30 A.M.Miche
Detected chapter: ELEVENVATICAN CITY, 1:15 P.M.Valendrea stepped dir
Detected chapter: TWELVEROME, 4:00 P.M.Katerina had been waiting in
Detected chapter: THIRTEENVATICAN CITY, 5:30 P.M.Valendrea stood at
Detected chapter: FOURTEENBUCHAREST, ROMANIAFRIDAY, NOVEMBER 1011:15
Detected chapter: FIFTEENMichener drove south to Bucharest, wrestlin
Detected chapter: SIXTEENMichener found a hotel away from the Pia¸ta
Detected chapter: SEVENTEENVATICAN CITY, 5:30 P.M.Valendrea’s last a
Detected chapter: EIGHTEENBUCHAREST, 5:50 P.M.The rap on the door st
Detected chapter: NINETEEN8:00 P.M.Michener led Katerina into the Ca
Detected chapter: TWENTY10:00 P.M.Michener and Katerina stepped off
Detected chapter: TWENTY-ONEVATICAN CITY, 11:40 P.M.Valendrea crushe
Detected chapter: TWENTY-TWOBUCHARESTSATURDAY, NOVEMBER 116:00 A.M.K
Detected chapter: TWENTY-THREEVATICAN CITY, 7:15 A.M.Valendrea pushe
Detected chapter: TWENTY-FOURBUCHAREST, 6:45 A.M.Michener finished d
Detected chapter: TWENTY-FIVEBUCHAREST, ROMANIA9:40 P.M.Valendrea un
Detected chapter: TWENTY-SIXCASTLE GANDOLFOSUNDAY, NOVEMBER 1212:00
Detected chapter: TWENTY-SEVEN4:00 P.M.Michener had thought about Fa
Detected chapter: TWENTY-EIGHTROME, 8:30 P.M.Katerina hated herself
Detected chapter: TWENTY-NINECASTLE GANDOLFOMONDAY, NOVEMBER 136:00
Detected chapter: THIRTY9:00 A.M.Michener watched from the bedroom w
Detected chapter: THIRTY-ONECASTLE GANDOLFO, 2:30 P.M.Valendrea star
Detected chapter: THIRTY-TWO3:00 P.M.Michener sat in a chair beside
Detected chapter: THIRTY-THREE8:30 P.M.Michener finished packing eve
Detected chapter: THIRTY-FOURMONDAY, NOVEMBER 2711:00 A.M.Michener e
Detected chapter: THIRTY-FIVE4:30 P.M.Valendrea was overwhelmed by t
Detected chapter: THIRTY-SIX6:15 P.M.Katerina was drawn to the CNN b
Detected chapter: THIRTY-SEVENROME, 7:00 P.M.Michener strolled down
Detected chapter: THIRTY-EIGHTMEDJUGORJE, BOSNIA-HERZEGOVINATUESDAY,
Detected chapter: THIRTY-NINEVATICAN CITY, 2:00 P.M.The procession o
Detected chapter: FORTYMEDJUGORJE, BOSNIA-HERZEGOVINA2:30 P.M.Michen
Detected chapter: FORTY-ONEVATICAN CITY, 5:00 P.M.Valendrea was grow
Detected chapter: FORTY-TWOMEDJUGORJE, BOSNIA-HERZEGOVINA6:30 P.M.Mi
Detected chapter: FORTY-THREEVATICAN CITY, 7:00 P.M.“I call for a th
Detected chapter: FORTY-FOURMEDJUGORJE, BOSNIA-HERZEGOVINA11:30 P.M.
Detected chapter: FORTY-FIVEVATICAN CITYWEDNESDAY, NOVEMBER 2912:30
Detected chapter: FORTY-SIXMEDJUGORJE, BOSNIA-HERZEGOVINAMichener wa
Detected chapter: FORTY-SEVENVATICAN CITY, 7:00 A.M.Breakfast was a
Detected chapter: FORTY-EIGHTMEDJUGORJE, BOSNIA-HERZEGOVINA9:00 A.M.
Detected chapter: FORTY-NINEVATICAN CITY, 9:30 A.M.Valendrea made hi
Detected chapter: FIFTYMEDJUGORJE, BOSNIA-HERZEGOVINA11:00 A.M.Kater
Detected chapter: FIFTY-ONEVATICAN CITY, 11:45 P.M.Valendrea accepte
Detected chapter: FIFTY-TWOMEDJUGORJE, BOSNIA-HERZEGOVINA12:30 P.M.M
Detected chapter: FIFTY-THREEVATICAN CITY, 1:00 P.M.Valendrea stood
Detected chapter: FIFTY-FOURMEDJUGORJE, BOSNIA-HERZEGOVINA6:00 P.M.K
Detected chapter: FIFTY-FIVEVATICAN CITYTHURSDAY, NOVEMBER 301:00 P.
Detected chapter: FIFTY-SIXMichener left the library. Ambrosi was wa
Detected chapter: FIFTY-SEVEN3:30 P.M.Valendrea excused himself from
Detected chapter: FIFTY-EIGHTJakob:My heart ached at the news from W
Detected chapter: FIFTY-NINE9:00 P.M.Katerina approached the buildin
Detected chapter: SIXTY11:40 P.M.Valendrea knelt before the altar in
Detected chapter: SIXTY-ONEBAMBERG, GERMANYFRIDAY, DECEMBER 110:00 A
Detected chapter: SIXTY-TWOVATICAN CITY, 10:30 A.M.Valendrea leafed
Detected chapter: SIXTY-THREEBAMBERG, 11:00 A.M.Michener and Katerin
Detected chapter: SIXTY-FOURKaterina’s mind swirled with confusion.
Detected chapter: SIXTY-FIVEMichener watched Irma as she stared out
Detected chapter: SIXTY-SIX4:30 P.M.Katerina struggled to free her h
Detected chapter: SIXTY-SEVENVATICAN CITY, 6:30 P.M.Valendrea stroll
Detected chapter: SIXTY-EIGHTBAMBERG, 6:50 P.M.Michener climbed a st
Detected chapter: SIXTY-NINEVATICAN CITYSATURDAY, DECEMBER 211:00 A.
Detected chapter: SEVENTY11:30 P.M.Valendrea stared at the pills lyi
Detected chapter: SEVENTY-ONESUNDAY, DECEMBER 31:00 P.M.Michener and
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
'NoneType' object has no attribute 'get' (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 891, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 122, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 134, in stylize_spine
AttributeError: 'NoneType' object has no attribute 'get'
93terp is offline   Reply With Quote
Old 05-24-2010, 11:40 AM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
open a ticket and attach one of these files.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-24-2010, 12:55 PM   #3
93terp
Fear The Turtle!
93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.
 
93terp's Avatar
 
Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
Quote:
Originally Posted by kovidgoyal View Post
open a ticket and attach one of these files.
thanks Kovid. Just to clarify - attach the ePub file that causes the error or attach the error message I'm getting trying to convert?
93terp is offline   Reply With Quote
Old 05-24-2010, 01:09 PM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the file
kovidgoyal is offline   Reply With Quote
Old 05-24-2010, 07:17 PM   #5
93terp
Fear The Turtle!
93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.
 
93terp's Avatar
 
Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
Quote:
Originally Posted by kovidgoyal View Post
the file
Just opened the ticket & included the file that is having problems.

Thanks.
93terp is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePUB English dictionary & ePUB Bible Sabrina Introduce Yourself 7 08-30-2010 10:30 PM
lit to epub - indenting question, & an eject problem wygit Calibre 3 11-14-2009 10:49 AM
Epub to LRF no problem, Epub to Mobi indexerror Rogier Calibre 3 06-09-2009 11:42 AM
calibre & cron problem Deputy-Dawg Calibre 4 06-19-2008 09:56 PM
(Problem Resolved) AARGGGGHHHHH!!! Sony #&%@&^#(*%!*#& CS DrMoze Sony Reader 11 09-06-2007 11:17 AM


All times are GMT -4. The time now is 09:37 PM.


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