|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2017
Device: Kobo Aura
|
Harvard Business Review recipe returns: 'ascii' codec can't encode character
HBR Recipe returns the following. Anyone know the issue? Thanks.
Fetch news from Harvard Business Review Conversion options changed from defaults: verbose: 2 output_profile: 'tablet' Resolved conversion options calibre version: 3.10.0 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0, 'book_producer': None, 'change_justification': 'original', 'chapter': None, 'chapter_mark': 'pagebreak', 'comments': None, 'cover': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_download_recipe': False, 'dont_split_on_page_breaks': True, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'epub_flatten': False, 'epub_inline_toc': False, 'epub_toc_at_end': False, 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': None, 'fix_indents': True, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x10a612d50>, '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, 'linearize_tables': False, 'lrf': 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, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.TabletOutput object at 0x10a619950>, 'page_breaks_before': None, 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': None, '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': '', 'search_replace': None, 'series': None, 'series_index': None, 'smarten_punctuation': False, 'sr1_replace': '', 'sr1_search': '', 'sr2_replace': '', 'sr2_search': '', 'sr3_replace': '', 'sr3_search': '', 'start_reading_at': None, 'subset_embedded_fonts': False, 'tags': None, 'test': False, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': None, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} Python function terminated unexpectedly: 'ascii' codec can't encode character u'\u2013' in position 9: ordinal not in range(128) Traceback (most recent call last): File "/Applications/calibre 2.app/Contents/Resources/Python/lib/python2.7/site.py", line 154, in main return run_entry_point() File "/Applications/calibre 2.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point return getattr(pmod, func)() File "site-packages/calibre/utils/ipc/worker.py", line 195, in main File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert File "site-packages/calibre/ebooks/conversion/plumber.py", line 1088, in run File "site-packages/calibre/customize/conversion.py", line 245, in __call__ File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 119, in convert File "site-packages/calibre/web/feeds/news.py", line 1023, in download File "site-packages/calibre/web/feeds/news.py", line 1214, in build_index File "site-packages/calibre/web/feeds/news.py", line 1061, in feeds2index File "site-packages/calibre/web/feeds/templates.py", line 46, in generate File "site-packages/calibre/web/feeds/templates.py", line 252, in _generate UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 9: ordinal not in range(128) InputFormatPlugin: Recipe Input running Using custom recipe Found section: From the Editor Found article: The Great Transformer /2017/09/the-great-transformer by Adi Ignatius: Found section: Idea Watch Found article: When Hiring Execs, Context Matters Most /2017/09/when-hiring-execs-context-matters-most Found article: We Look Like Our Names /2017/09/we-look-like-our-names by Scott Berinato: Found article: Souq.com’s CEO on Building an E-Commerce Powerhouse in the Middle East /2017/09/souq-coms-ceo-on-building-an-e-commerce-powerhouse-in-the-middle-east by Ronaldo Mouchawar: Found section: Spotlight Found article: How I Remade GE /2017/09/how-i-remade-ge by Jeffrey R. Immelt: Found article: GE’s Global Growth Experiment /2017/09/ges-global-growth-experiment by Ranjay Gulati: Found article: Reinventing Talent Management /2017/09/reinventing-talent-management by Steven Prokesch: Found section: Features Found article: The Overcommitted Organization /2017/09/the-overcommitted-organization by Mark Mortensen;Heidi K. Gardner: Found article: Happiness Traps /2017/09/happiness-traps by Annie McKee: Found article: The Surprising Power of Online Experiments /2017/09/the-surprising-power-of-online-experiments by Ron Kohavi;Stefan Thomke: Found article: Managing Our Hub Economy /2017/09/managing-our-hub-economy by Marco Iansiti;Karim R. Lakhani: Found article: Competing on Social Purpose /2017/09/competing-on-social-purpose by Omar Rodríguez Vilá;Sundar Bharadwaj: Found article: Comp Targets That Work /2017/09/comp-targets-that-work by Radhakrishnan Gopalan;John Horn;Todd Milbourn: Found article: Audacious Philanthropy /2017/09/audacious-philanthropy by Susan Wolf Ditkoff;Abe Grindle: Found article: Why Do We Undervalue Competent Management? /2017/09/why-do-we-undervalue-competent-management by Raffaella Sadun;Nicholas Bloom;John Van Reenen: Found article: Management Is Much More Than a Science /2017/09/management-is-much-more-than-a-science by Roger L. Martin;Tony Golsby-Smith: Found section: Experience Found article: Could Your Personality Derail Your Career? /2017/09/could-your-personality-derail-your-career by Tomas Chamorro-Premuzic: Found article: Case Study: When You Have to Choose Between Core and New Customers /2017/09/case-study-when-you-have-to-choose-between-core-and-new-customers by Marco Bertini;Nader Tavassoli: Found article: Game-Changing Inventions /2017/09/game-changing-inventions by Alison Beard: Found article: Life’s Work: An Interview with Michael Strahan /2017/09/lifes-work-an-interview-with-michael-strahan by Alison Beard: Synthesizing mastheadImage |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,256
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What OS is this on? That error implies the preferred encoding on your system is ascii for some reason. Change it to utf-8 and you will be fine.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2017
Device: Kobo Aura
|
Thanks for the quick reply. I'm on Mac OS 10.12.6.
How do I change the preferred encoding? Last edited by ktan91; 10-22-2017 at 11:26 AM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,256
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No idea, I dont use macs. But a bit of ggoling should tell you how. Most likely you have to change some environment variable, probably LANG
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Harvard Business Review recipe not working | tillkundt | Recipes | 1 | 04-02-2015 11:59 PM |
Harvard Business Review Update | rainrdx | Recipes | 1 | 04-04-2013 02:04 PM |
Harvard Business Review DISABLED? | besianm | Recipes | 3 | 09-12-2012 04:28 PM |
harvard business review (hbr) disabled? | oddboy | Recipes | 3 | 09-10-2012 03:24 PM |
"ascii' codec can't encode character" bug ? | zelda_pinwheel | Calibre | 2 | 12-21-2008 08:12 PM |