View Single Post
Old 04-23-2015, 06:05 AM   #7
avid01
Addict
avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.avid01 ought to be getting tired of karma fortunes by now.
 
Posts: 300
Karma: 2000410
Join Date: Jan 2012
Device: Kindle 4
Quote:
Originally Posted by eschwartz View Post
Who cares what the default is?
Me cares. And most users, btw. Basically, I live in a belief system that default is king, and do not change it much. Frankly, I use Kindle and Calibre for a few years (even though my device supported AZW3 from scratch, and it is a better format, and 100% of devices on the market today, and even the vast majority of devices in the hands of consumers support AZW3 - from scratch, not just with a firmware update), I never thought I am supposed to change defaults in Calibre from MOBI to AZW3 but now I accidentally learned I should.

Basically - how I understand it comes down to similar design thinking (that's a term borrowed from Stanford) - that the Mac long ditched the floppy drive (CD drive, VGA port), while the PC still uses them (esp. the floppy drive).

I have no problem, of course, with the VGA port (MOBI format) is still hanging around in Calibre, but why make it default for the minority if the majority can use better, newer technology?

3 issues:

- Many people - like me - may simply think they are better sticking to MOBI, as it is default, though their device supports AZW3

- The first problem is when I can convert the same file without error to AZW3, but not to MOBI (see below)

- The second problem is that images (tables, graphs) are unenjoyable in MOBI, but look great in AZW3

Thanks for considering, Kovid, I truly appreciate your work, btw.

Quote:
Originally Posted by eschwartz View Post
Also, what happens when you try to convert it?
Code:
Convert book 1 of 1 (Privacy law: US “liberty” vs European “dignity” | Hannibal and Me: life lessons from history on WordPress.com)
Processing archive...
Resolved conversion options
calibre version: 2.25.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'breadth_first': False,
 'change_justification': u'original',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'dont_package': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': 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 0x01869B10>,
 '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_levels': 5,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'mobi_file_type': u'old',
 'mobi_ignore_margins': True,
 'mobi_keep_original_images': False,
 'mobi_toc_at_start': False,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x01869E50>,
 'page_breaks_before': u"//*[name()='h1' or name()='h2']",
 'personal_doc': u'[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\...\AppData\\Local\\Temp\\calibre_vsmb2o\\vcshsf.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,
 '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,
 '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: HTML Input running
on C:\...\AppData\Local\Temp\calibre_vsmb2o\y2yj1i_pl_arc\content.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing style.css ...
Parsing saved_resource.html ...
Parsing services.css ...
Parsing Privacy law  US _liberty_ vs European _dignity_   Hannibal and Me  life lessons from history.html ...
Parsing hovercard.css ...
Parsing content.html ...
Parsing master.html ...
Parsing global-print.css ...
Referenced file u'content_inner.html' not found
Referenced file u'like.html' not found
Referenced file u'images/postto-buttons.png' not found
Referenced file u'./Privacy%20law%20%20US%20\u201cliberty\u201d%20vs%20European%20\u201cdignity\u201d%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history_files/Privacy%20law%20%20US%20\u201cliberty\u201d%20vs%20European%20\u201cdignity\u201d%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history.html' not found
Referenced file u'spinner_60.gif' not found
Referenced file u'sdk.js' not found
Referenced file u'embeds.js' not found
Referenced file u'geoip_script' not found
Referenced file u'/images/grav-tag.png' not found
Referenced file u'images/button-back.gif' not found
Referenced file u'KvoNGODIqPG.html' not found
Referenced file u'embeds.css' not found
Referenced file u'postmessage.js' not found
Referenced file u'check_359604.js' not found
Referenced file u'.' not found
Referenced file u'images/button-back-over.gif' not found
Referenced file u'jquery.wpcom-proxy-request.js' not found
Referenced file u'container.html' not found
Referenced file u'underscore.min.js' not found
Referenced file u'style%281%29.css' not found
Referenced file u'pubads_impl_59.js' not found
Referenced file u'../post-flair/sharing/images/googleplus1.png' not found
Referenced file u'gpt.js' not found
Referenced file u'postmessageRelay.html' not found
Referenced file u'plusone.js' not found
Referenced file u'../post-flair/sharing/images/icon-facebook.png' not found
Referenced file u'/images/pillicon.png' not found
Referenced file u'saved_resource%287%29.html' not found
Referenced file u'ga.js' not found
Referenced file u'widgets.js' not found
Referenced file u'gtm.js' not found
Referenced file u'jed.js' not found
Referenced file u'jquery.js' not found
Referenced file u'base.css' not found
Referenced file u'likes-rest.js' not found
Referenced file u'fastbutton.html' not found
Referenced file u'../post-flair/sharing/images/icon-twitter.png' not found
Referenced file u'images/loader.gif' not found
Referenced file u'noticons.css' not found
Referenced file u'tweet_button.46489b28ee1023601b810a443ee8af43.en.html' not found
Referenced file u'ads.js' not found
Referenced file u'../post-flair/sharing/images/icon-wordpress.png' not found
Referenced file u'/images/grav-tag-left.png' not found
Referenced file u'touch.js' not found
Referenced file u'cb%3dgapi.loaded_1' not found
Referenced file u'cb%3dgapi.loaded_0' not found
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 1 entries.
Flattening CSS and remapping font sizes...
Stylesheet 'saved_resource%281%29' referenced by file u'Privacy%20law%20%20US%20_liberty_%20vs%20European%20_dignity_%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history.html' is not CSS
Stylesheet 'css' referenced by file u'Privacy%20law%20%20US%20_liberty_%20vs%20European%20_dignity_%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history.html' is not CSS
Stylesheet 'saved_resource%282%29' referenced by file u'Privacy%20law%20%20US%20_liberty_%20vs%20European%20_dignity_%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history.html' is not CSS
Stylesheet 'chrome-extension://pkehgijcmpdhfbdbbnkijodmdjhbjlgp/skin/socialwidgets.css' referenced by file u'Privacy%20law%20%20US%20_liberty_%20vs%20European%20_dignity_%20%20%20Hannibal%20and%20Me%20%20life%20lessons%20from%20history.html' not in manifest
Python function terminated unexpectedly
  this element does not have children or attributes (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 193, 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 1155, in run
  File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py", line 185, in __call__
  File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py", line 264, in stylize_spine
  File "site-packages\calibre\ebooks\oeb\stylizer.py", line 214, in __init__
  File "lxml.etree.pyx", line 1556, in lxml.etree.__ContentOnlyElement.insert (src\lxml\lxml.etree.c:51291)
  File "lxml.etree.pyx", line 1544, in lxml.etree.__ContentOnlyElement._raiseImmutable (src\lxml\lxml.etree.c:51019)
TypeError: this element does not have children or attributes

Last edited by avid01; 04-23-2015 at 06:08 AM.
avid01 is offline   Reply With Quote