View Single Post
Old 01-26-2013, 07:23 AM   #1
ghostwolf59
Junior Member
ghostwolf59 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2013
Device: mini me
Calibre azw plugin crashes

Hi,
Haven't had a lot of time sifting through all threads here and there - The one I followed suggested downloading azwplugin v104 but after importing it into calibre following my attempts to convert an epub to azw calibre crashes.

I have tried the azw3 and that seem to work, however I believe azw is what Amazon (Kindle White WiFi + 3G) supports best.

The pc version of kindle don't seem to be able to resolve book covers when converting to mobi, azw3 hence me trying other plugins...

Is there a working azw plugin available for download ?

This is the error Calibre throws when using azwplugin v104...
Spoiler:

Convert book 1 of 1 (Vårfrost)
Resolved conversion options
calibre version: 0.9.15
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\spap-1\\AppData\\Local\\Temp\\calibre_0.9.15_tmp_cyxga9 \\8yarx1.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': 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,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x042B1AB0>,
'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,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x042B1DF0>,
'page_breaks_before': u'/',
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': True,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\spap-1\\AppData\\Local\\Temp\\calibre_0.9.15_tmp_cyxga9 \\_fnr39.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,
'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,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\spap-1\AppData\Local\Temp\calibre_0.9.15_tmp_cyxga9\qqt 62c.epub
Found HTML cover OEBPS/Text/Section0001.xhtml
Parsing all content...
Parsing OEBPS/Text/Section0024.xhtml ...
Parsing OEBPS/Text/Section0006.xhtml ...
Parsing OEBPS/Text/Section0007.xhtml ...
Parsing OEBPS/Text/Section0008.xhtml ...
Parsing OEBPS/Text/Section0009.xhtml ...
Parsing OEBPS/Text/Section0046.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0011.xhtml ...
Parsing OEBPS/Text/Section0012.xhtml ...
Parsing OEBPS/Text/Section0013.xhtml ...
Parsing OEBPS/Text/Section0014.xhtml ...
Parsing OEBPS/Text/Section0051.xhtml ...
Parsing OEBPS/Text/Section0019.xhtml ...
Parsing OEBPS/Text/Section0052.xhtml ...
Parsing OEBPS/Text/Section0018.xhtml ...
Parsing OEBPS/Text/Section0047.xhtml ...
Parsing OEBPS/Text/Section0020.xhtml ...
Parsing OEBPS/Text/Section0017.xhtml ...
Parsing OEBPS/Text/Section0022.xhtml ...
Parsing OEBPS/Text/Section0026.xhtml ...
Parsing OEBPS/Text/Section0016.xhtml ...
Parsing OEBPS/Text/Section0027.xhtml ...
Parsing OEBPS/Text/Section0028.xhtml ...
Parsing OEBPS/Text/Section0005.xhtml ...
Parsing OEBPS/Text/Section0030.xhtml ...
Parsing OEBPS/Text/Section0033.xhtml ...
Parsing OEBPS/Text/Section0010.xhtml ...
Parsing OEBPS/Text/Section0035.xhtml ...
Parsing OEBPS/Text/Section0037.xhtml ...
Parsing OEBPS/Text/Section0043.xhtml ...
Parsing OEBPS/Text/Section0039.xhtml ...
Parsing OEBPS/Text/Section0044.xhtml ...
Parsing OEBPS/Text/Section0040.xhtml ...
Parsing OEBPS/Text/Section0045.xhtml ...
Parsing OEBPS/Text/Section0049.xhtml ...
Parsing OEBPS/Text/Section0048.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/Section0004.xhtml ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Text/Section0050.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 2 items of level: div_1
Found 74 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
p_1 left margin stats: Counter({u'0': 74})
p_1 right margin stats: Counter({u'0': 74})
Cleaning up manifest...
Trimming unused files from manifest...
Creating AZW Output...
Python function terminated unexpectedly
No module named writer (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 186, 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 1156, in run
File "calibre_plugins.dummy1.__init__", line 241, in convert
ImportError: No module named writer

Last edited by theducks; 01-26-2013 at 08:01 AM. Reason: Wrapped long paste in Spoiler
ghostwolf59 is offline   Reply With Quote