11-27-2012, 10:59 AM | #1 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
can't convert
greetings,
just updated to latest version of calibre (0,9.7) under linux and now I can't convert any books. An example error message is: (btw, I'm not using calibre from my distro. I compile it each time) calibre, version 0.9.7 (linux2, isfrozen: False) Conversion Error: Failed: Convert book 1 of 1 (Shadow of Betrayal) Convert book 1 of 1 (Shadow of Betrayal) Resolved conversion options calibre version: 0.9.7 {'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|prologue|epilogue\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': u'/tmp/calibre_0.9.7_tmp_YsxpUg/20nyEX.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'duplicate_links_in_toc': False, 'embed_font_family': None, 'enable_heuristics': False, 'extra_css': None, 'filter_css': u'', 'fix_indents': True, 'font_size_mapping': None, 'force_max_line_length': False, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'inline_toc': True, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x8a4ae8c>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': True, 'isbn': None, 'italicize_common_cases': True, 'keep_color': True, 'keep_image_references': False, 'keep_ligatures': False, 'keep_links': 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_line_length': 0, 'max_toc_links': 50, 'minimum_line_height': 120.0, 'newline': u'system', 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x8a4e44c>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'/tmp/calibre_0.9.7_tmp_YsxpUg/F4Q6BF.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'', '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, 'txt_output_encoding': u'utf-8', 'txt_output_formatting': u'plain', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: EPUB Input running on /tmp/calibre_0.9.7_tmp_YsxpUg/P0bW9r.epub Parsing all content... Parsing text/part3.xhtml ... Parsing text/part8.xhtml ... Parsing text/part18.xhtml ... Parsing cover.html ... Parsing text/part38.xhtml ... Parsing text/part52.xhtml ... Parsing text/part25.xhtml ... Parsing text/part21.xhtml ... Parsing text/part17.xhtml ... Parsing text/part32.xhtml ... Parsing text/part10.xhtml ... Parsing text/part15.xhtml ... Parsing text/part5.xhtml ... Parsing text/part20.xhtml ... Parsing text/part11.xhtml ... Parsing text/part43.xhtml ... Parsing text/part7.xhtml ... Parsing text/part44.xhtml ... Parsing text/part13.xhtml ... Parsing text/part42.xhtml ... Parsing text/part4.xhtml ... Parsing text/part31.xhtml ... Parsing text/part24.xhtml ... Parsing text/part50.xhtml ... Parsing text/part47.xhtml ... Parsing text/part2.xhtml ... Parsing text/part1.xhtml ... Parsing text/part49.xhtml ... Parsing text/part29.xhtml ... Parsing text/part37.xhtml ... Parsing text/part27.xhtml ... Parsing text/part30.xhtml ... Parsing text/part14.xhtml ... Parsing text/part39.xhtml ... Parsing text/part28.xhtml ... Parsing text/part12.xhtml ... Parsing text/part35.xhtml ... Parsing text/part36.xhtml ... Parsing text/part22.xhtml ... Parsing text/part41.xhtml ... Parsing text/part26.xhtml ... Parsing text/part19.xhtml ... Parsing text/part53.xhtml ... Parsing text/part51.xhtml ... Parsing text/part33.xhtml ... Parsing text/part34.xhtml ... Parsing text/part16.xhtml ... Parsing text/part40.xhtml ... Parsing text/part45.xhtml ... Parsing text/part48.xhtml ... Parsing text/part6.xhtml ... Parsing text/part46.xhtml ... Parsing text/part23.xhtml ... Parsing text/part9.xhtml ... Referenced file u'text/The_Unwanted_005_BytheSameAuthor.html' not found Referenced file u'text/The_Unwanted_009_Dedication.html' not found Referenced file u'text/The_Unwanted_039_chapter29.html' not found Referenced file u'text/The_Unwanted_026_chapter16.html' not found Referenced file u'text/The_Unwanted_040_chapter30.html' not found Referenced file u'text/The_Unwanted_013_chapter03.html' not found Referenced file u'text/The_Unwanted_010_Prologue.html' not found Referenced file u'text/The_Unwanted_006_TitlePage.html' not found Referenced file u'text/The_Unwanted_029_chapter19.html' not found Referenced file u'text/The_Unwanted_030_chapter20.html' not found Referenced file u'text/The_Unwanted_053_chapter43.html' not found Referenced file u'text/The_Unwanted_019_chapter09.html' not found Referenced file u'text/The_Unwanted_047_chapter37.html' not found Referenced file u'text/The_Unwanted_033_chapter23.html' not found Referenced file u'text/The_Unwanted_052_chapter42.html' not found Referenced file u'text/The_Unwanted_017_chapter07.html' not found Referenced file u'text/The_Unwanted_041_chapter31.html' not found Referenced file u'text/The_Unwanted_016_chapter06.html' not found Referenced file u'text/The_Unwanted_048_chapter38.html' not found Referenced file u'text/The_Unwanted_051_chapter41.html' not found Referenced file u'text/The_Unwanted_020_chapter10.html' not found Referenced file u'text/The_Unwanted_045_chapter35.html' not found Referenced file u'text/The_Unwanted_021_chapter11.html' not found Referenced file u'text/The_Unwanted_012_chapter02.html' not found Referenced file u'text/The_Unwanted_044_chapter34.html' not found Referenced file u'text/The_Unwanted_028_chapter18.html' not found Referenced file u'text/The_Unwanted_018_chapter08.html' not found Referenced file u'text/The_Unwanted_038_chapter28.html' not found Referenced file u'text/The_Unwanted_025_chapter15.html' not found Referenced file u'text/The_Unwanted_043_chapter33.html' not found Referenced file u'text/The_Unwanted_014_chapter04.html' not found Referenced file u'text/The_Unwanted_037_chapter27.html' not found Referenced file u'text/The_Unwanted_031_chapter21.html' not found Referenced file u'text/The_Unwanted_027_chapter17.html' not found Referenced file u'text/The_Unwanted_011_chapter01.html' not found Referenced file u'text/The_Unwanted_004_Title.html' not found Referenced file u'text/The_Unwanted_034_chapter24.html' not found Referenced file u'text/The_Unwanted_042_chapter32.html' not found Referenced file u'text/The_Unwanted_032_chapter22.html' not found Referenced file u'text/The_Unwanted_049_chapter39.html' not found Referenced file u'text/The_Unwanted_023_chapter13.html' not found Referenced file u'text/The_Unwanted_015_chapter05.html' not found Referenced file u'text/The_Unwanted_046_chapter36.html' not found Referenced file u'text/The_Unwanted_050_chapter40.html' not found Referenced file u'text/The_Unwanted_054_Acknowledgements.html' not found Referenced file u'text/The_Unwanted_024_chapter14.html' not found Referenced file u'text/The_Unwanted_036_chapter26.html' not found Referenced file u'text/The_Unwanted_035_chapter25.html' not found Referenced file u'text/The_Unwanted_007_CopyrightPage.html' not found Referenced file u'text/The_Unwanted_022_chapter12.html' not found Reading TOC from NCX... Merging user specified metadata... Detecting structure... Detected chapter: PROLOGUE Detected chapter: CHAPTER 1 Detected chapter: CHAPTER 2 Detected chapter: CHAPTER 3 Detected chapter: CHAPTER 4 Detected chapter: CHAPTER 5 Detected chapter: CHAPTER 6 Detected chapter: CHAPTER 7 Detected chapter: CHAPTER 8 Detected chapter: CHAPTER 9 Detected chapter: CHAPTER 10 Detected chapter: CHAPTER 11 Detected chapter: CHAPTER 12 Detected chapter: CHAPTER 13 Detected chapter: CHAPTER 14 Detected chapter: CHAPTER 15 Detected chapter: CHAPTER 16 Detected chapter: CHAPTER 17 Detected chapter: CHAPTER 18 Detected chapter: CHAPTER 19 Detected chapter: CHAPTER 20 Detected chapter: CHAPTER 21 Detected chapter: CHAPTER 22 Detected chapter: CHAPTER 23 Detected chapter: CHAPTER 24 Detected chapter: CHAPTER 25 Detected chapter: CHAPTER 26 Detected chapter: CHAPTER 27 Detected chapter: CHAPTER 28 Detected chapter: CHAPTER 29 Detected chapter: CHAPTER 30 Detected chapter: CHAPTER 31 Detected chapter: CHAPTER 32 Detected chapter: CHAPTER 33 Detected chapter: CHAPTER 34 Detected chapter: CHAPTER 35 Detected chapter: CHAPTER 36 Detected chapter: CHAPTER 37 Detected chapter: CHAPTER 38 Detected chapter: CHAPTER 39 Detected chapter: CHAPTER 40 Detected chapter: CHAPTER 41 Detected chapter: CHAPTER 42 Detected chapter: CHAPTER 43 Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 20, in <module> sys.exit(main()) File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/utils/ipc/worker.py", line 186, in main result = func(*args, **kwargs) File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override override_input_metadata=True) File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert plumber.run() File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/ebooks/conversion/plumber.py", line 1060, in run from calibre.ebooks.oeb.transforms.flatcss import CSSFlattener File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/ebooks/oeb/transforms/flatcss.py", line 20, in <module> from calibre.ebooks.oeb.stylizer import Stylizer File "/mnt/installs/iomari/work/calibre-0.9.7/src/calibre/ebooks/oeb/stylizer.py", line 23, in <module> from cssselect import HTMLTranslator ImportError: No module named cssselect Last edited by iomari; 11-27-2012 at 11:16 AM. |
11-27-2012, 11:26 AM | #2 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
solved. had to update my cssselect module :-)
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
It is possible to convert? | luiscortex | Conversion | 1 | 08-18-2011 01:47 AM |
How to batch-convert with ebook-convert? | cypresstwist | Conversion | 8 | 02-22-2011 09:28 AM |