Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2015, 07:13 PM   #1
avid01
Groupie
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.
 
avid01's Avatar
 
Posts: 179
Karma: 500000
Join Date: Jan 2012
Device: Kindle 4
Can't convert simple HTML page anymore to Kindle 1-4/Touch :(

Latest Calibre, HTML downloaded in either Firefox/Chrome

FYI, this article: http://www.cringely.com/2015/03/16/b...ogle-nearline/

Failed: Covert book 1 of 1

Convert book 1 of 1 (I, Cringely Be a cloud storage tycoon with Google Nearline - I, Cringely)
Processing archive...
Resolved conversion options
calibre version: 2.21.0
Spoiler:
{'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|pr ologue|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 0x0177F7B0>,
'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': False,
'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 0x0177FAF0>,
'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:\\Users\\User\\AppData\\Local\\Temp\\calibre_n ajdfa\\7pux7e.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:\Users\User\AppData\Local\Temp\calibre_najdfa\fe ckze_pl_arc\content.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing I, Cringely Be a cloud storage tycoon with Google Nearline - I, Cringely.htm ...
Parsing a.htm ...
Parsing a.css ...
Parsing piwik.htm ...
Parsing a_002.css ...
Parsing q.htm ...
Parsing a_003.css ...
CSS import of missing file u'/wp-content/themes/Avada/css/all.css'
CSSImportRule: While processing imported style sheet href=/wp-content/themes/Avada/css/all.css: IOError('Cannot read Stylesheet.',)
CSS import of missing file u'/wp-content/themes/Avada/css/all.css'
CSSImportRule: While processing imported style sheet href=/wp-content/themes/Avada/css/all.css: IOError('Cannot read Stylesheet.',)
CSSStylesheet: Unknown @rule found. [1550:1: @-moz-keyframes]
CSSStylesheet: Unknown @rule found. [1557:1: @-webkit-keyframes]
CSSStylesheet: Unknown @rule found. [1564:1: @-o-keyframes]
CSSStylesheet: Unknown @rule found. [1571:1: @-ms-keyframes]
CSSStylesheet: Unknown @rule found. [1578:1: @keyframes]
Cannot get referenced stylesheet u'/wp-content/themes/Avada/css/all.css', keeping rule
ValueError, unknown url type: /wp-content/themes/Avada/css/all.css
CSSImportRule: While processing imported style sheet href=/wp-content/themes/Avada/css/all.css: IOError('Cannot read Stylesheet.',)
Parsing a_004.css ...
Parsing ipad.css ...
Parsing media.css ...
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-icons_222222_256x240.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/sprite.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_rounded/sprite.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/sprite.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_glass_100_fdf5ce_1x400.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_square/loader.gif' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_square/sprite.png' not found
Referenced file u'/wp-content/themes/Avada/images/ls_next.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_glass_100_f6f6f6_1x400.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/btnNext.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_square/btnNext.png' not found
Referenced file u'/2015/03/16/be-a-cloud-storage-tycoon-with-google-nearline/%3freplytocom%3d621657' not found
Referenced file u'/wp-content/themes/Avada/fonts/fontawesome-webfont.svg' not found
Referenced file u'/2015/03/16/be-a-cloud-storage-tycoon-with-google-nearline/%3freplytocom%3d621655' not found
Referenced file u'q_data/a-logo-amazon.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_rounded/btnNext.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/loader.gif' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/sprite_x.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_diagonals-thick_18_b81900_40x40.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_glass_65_ffffff_1x400.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/colorbox/images/border.png' not found
Referenced file u'//ws-na.amazon-adsystem.com/widgets/q%3fServiceVersion%3d20070822%26OneJS%3d1%26Operat ion%3dGetAdHtml%26MarketPlace%3dUS%26source%3dss%2 6ref%3dss_til%26ad_type%3dproduct_link%26tracking_ id%3dicr0c-20%26marketplace%3damazon%26region%3dUS%26placemen t%3d0990444422%26asins%3d0990444422%26linkId%3d%26 show_border%3dtrue%26link_opens_in_new_window%3dtr ue' not found
Referenced file u'/wp-content/themes/Avada/fonts/fontawesome-webfont.woff%3fv%3d3.1.0' not found
Referenced file u'q_data/ir.gif' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/sprite_prev.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_square/sprite.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_diagonals-thick_20_666666_40x40.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/contentPatternTop.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_rounded/loader.gif' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-icons_228ef1_256x240.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-icons_ffffff_256x240.png' not found
Referenced file u'/wp-content/themes/Avada/fonts/fontawesome-webfont.ttf%3fv%3d3.1.0' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/contentPatternBottom.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_gloss-wave_35_f6a828_500x100.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/default_thumbnail.gif' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/sprite_next.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_rounded/loader.gif' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/atd/images/writing.png' not found
Referenced file u'/wp-content/themes/Avada/fonts/fontawesome-webfont.eot%3fv%3d3.1.0' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/images/full_screen.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_rounded/btnPrevious.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_rounded/sprite.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/light_square/btnPrevious.png' not found
Referenced file u'/wp-content/themes/Avada/css/all.css' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_rounded/btnNext.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_square/btnNext.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/colorbox/images/controls.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_rounded/contentPattern.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-icons_ffd27a_256x240.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/colorbox/images/loading_background.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/loader.gif' not found
Referenced file u'/wp-content/themes/Avada/images/arrow-bullet.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_highlight-soft_100_eeeeee_1x100.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-icons_ef8c08_256x240.png' not found
Referenced file u'/2015/03/16/be-a-cloud-storage-tycoon-with-google-nearline/' not found
Referenced file u'/wp-content/themes/Avada/images/shadow-bottom.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/sprite_y.png' not found
Referenced file u'/wp-content/themes/Avada/fonts/fontawesome-webfont.eot' not found
Referenced file u'/2015/03/16/be-a-cloud-storage-tycoon-with-google-nearline/%3freplytocom%3d621661' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/default/default_thumb.png' not found
Referenced file u'/wp-content/themes/Avada/images/shadow-top.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_square/btnPrevious.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/btnPrevious.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/atd/images/editing.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/images/full_screen_close.png' not found
Referenced file u'q_data/prime.png' not found
Referenced file u'/wp-content/plugins/wp-ajax-edit-comments/css/colorbox/images/loading.gif' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/dark_rounded/btnPrevious.png' not found
Referenced file u'/wp-content/themes/Avada/images/ls_prev.png' not found
Referenced file u'q_data/51L3cUtd0dL.jpg' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/contentPatternRight.png' not found
Referenced file u'/wp-content/themes/Avada/images/skin.png' not found
Referenced file u'/wp-content/themes/Avada/images/prettyPhoto/facebook/contentPatternLeft.png' not found
Referenced file u'/wp-content/themes/Avada/images/arrow-bullet-left.png' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_highlight-soft_75_ffe45c_1x100.png' not found
Referenced file u'q_data/productlink.css' not found
Referenced file u'//s3.amazonaws.com/heroku_pages/error.html' not found
Referenced file u'/wp-content/plugins/smart-donations/css/smartDonationsSlider/images/ui-bg_flat_10_000000_40x100.png' not found
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
PropertyValue: No match: ('CHAR', u':', 95, 17)
PropertyValue: Unknown syntax or no value: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
CSSStyleDeclaration: Syntax Error in Property: filter: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
PropertyValue: No match: ('CHAR', u':', 121, 17)
PropertyValue: Unknown syntax or no value: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
CSSStyleDeclaration: Syntax Error in Property: filter: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
PropertyValue: No match: ('CHAR', u':', 151, 17)
PropertyValue: Unknown syntax or no value: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
CSSStyleDeclaration: Syntax Error in Property: filter: progidXImageTransform.Microsoft.gradient(startCo lorstr='#a31717', endColorstr='#a31717')
Stylesheet 'a.htm' referenced by file u'I%2c%20Cringely%20Be%20a%20cloud%20storage%20tyc oon%20with%20Google%20Nearline%20-%20I%2c%20Cringely.htm' is not CSS
CSSStyleRule: No start { of style declaration found: u'\u200b' [1:1525: ]
CSSStyleRule: No style declaration or "}" found: u'\u200b'
Python function terminated unexpectedly
The pseudo-class :moz-placeholder is not supported (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 220, in __init__
File "site-packages\css_selectors\select.py", line 177, in __call__
File "site-packages\css_selectors\select.py", line 195, in iterparsedselector
File "site-packages\css_selectors\select.py", line 553, in select_pseudo

css_selectors.errors.ExpressionError: The pseudo-class :moz-placeholder is not supported

Last edited by BetterRed; 03-16-2015 at 07:42 PM.
avid01 is offline   Reply With Quote
Old 03-16-2015, 08:23 PM   #2
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,506
Karma: 28407844
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Kovid just rewrote the pseudo-selectors code, and since it is new it might not cover everything yet. I am sure this will be fixed soon, in the meantime I guess you can use the old version.

EDIT: Remembered seeing this thread: http://www.mobileread.com/forums/sho...d.php?t=257296

Same problem. It should be fixed: https://github.com/kovidgoyal/calibr...54b8dbe69bcf1a

Just wait until the next release, should be this Friday (as usual).

Last edited by eschwartz; 03-16-2015 at 08:27 PM.
eschwartz is online now   Reply With Quote
Old 03-16-2015, 09:23 PM   #3
avid01
Groupie
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.
 
avid01's Avatar
 
Posts: 179
Karma: 500000
Join Date: Jan 2012
Device: Kindle 4
I have found the secret download location for the previous version: http://download.calibre-ebook.com/2.20.0/

Hope it will do the trick.
avid01 is offline   Reply With Quote
Old 03-16-2015, 10:37 PM   #4
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,506
Karma: 28407844
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Should work. Upgrade from 2.20 to 2.22 or later whenever you feel like it.
eschwartz is online now   Reply With Quote
Old 04-21-2015, 10:04 AM   #5
avid01
Groupie
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.
 
avid01's Avatar
 
Posts: 179
Karma: 500000
Join Date: Jan 2012
Device: Kindle 4
Now with 2.25. I can' t convert this to MOBI: http://andreaskluth.org/2010/03/05/p...opean-dignity/

I can convert to AZW3, but still, MOBI is the default file format for Kindle in Calibre.

I even downgraded - 2.24 and 2.23, though I have to add, I didn't get back to 2.20.
avid01 is offline   Reply With Quote
Old 04-21-2015, 10:46 AM   #6
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,506
Karma: 28407844
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Who cares what the default is?

Also, what happens when you try to convert it?
eschwartz is online now   Reply With Quote
Old 04-23-2015, 06:05 AM   #7
avid01
Groupie
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.
 
avid01's Avatar
 
Posts: 179
Karma: 500000
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
Old 04-23-2015, 04:29 PM   #8
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,506
Karma: 28407844
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I think you are overestimating the value of defaults, whose purpose is to enforce the greatest common denominator. You'd be surprised how many people still have a Kindle Keyboard (and haven't upgraded the firmware on it). Usability is king.

Nice fancy words though.

Also, side note: I despise Macbooks, and this (deprecation of useful functionality) is only one of the many reasons. Great example.

In the real world, enforcing highfalutin standards regardless of what people actually need, is one reason Macs will never catch on... and why I doubt the calibre defaults will change just on your say so.

Hopefully the conversion bug can be fixed (not that it reflects badly on the format itself, simply because a bug only affects the legacy format).
eschwartz is online now   Reply With Quote
Old 04-24-2015, 01:59 PM   #9
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,506
Karma: 28407844
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Speaking of which, I believe this commit should fix your problem: https://github.com/kovidgoyal/calibr...8d94b1258cc349

So try converting with calibre 2.26 (released today).
eschwartz is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert HTML to RTF with Page Breaks odusto Conversion 11 03-18-2013 05:04 PM
Simple touch page tuning in sunlight Dave W Barnes & Noble NOOK 17 07-05-2012 08:45 AM
Can't convert kindle ebooks anymore Cannadutch Conversion 6 05-16-2012 08:03 AM
Convert simple HTML files to Kindle format (.mobi?) rubdottocom Conversion 3 11-30-2011 11:19 AM
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch jbcohen Which one should I buy? 4 06-18-2011 07:58 PM


All times are GMT -4. The time now is 11:51 PM.


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