Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2012, 10:15 AM   #1
laughinggnome
Junior Member
laughinggnome began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Device: Kindle
Problem with Le Monde Diplo (EN) recipe

I've recently bought a subscription to the English edition of Le Monde Diplomatique, but I can't get the recipe to work. My password works fine on the website, and I get the same error from Calibre if I use the usename and password 'None':

Spoiler:
Code:
calibre, version 0.8.37
ERROR: Conversion Error: <b>Failed</b>: Fetch news from Le Monde diplomatique - English edition

Fetch news from Le Monde diplomatique - English edition
Resolved conversion options
calibre version: 0.8.37
{'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_compress': False,
 'dont_download_recipe': False,
 'duplicate_links_in_toc': False,
 'enable_heuristics': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': None,
 '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 0x356abd0>,
 '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,
 'mobi_ignore_margins': 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 0x356d250>,
 'page_breaks_before': None,
 'password': 'None',
 'personal_doc': '[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'pretty_print': False,
 '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': '',
 'rescale_images': False,
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': '',
 'sr1_search': '',
 'sr2_replace': '',
 'sr2_search': '',
 'sr3_replace': '',
 'sr3_search': '',
 'tags': None,
 'test': False,
 '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,
 'username': 'None',
 'verbose': 2}
InputFormatPlugin: Recipe Input running
Traceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 19, in <module>
    sys.exit(main())
  File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 191, in main
    result = func(*args, **kwargs)
  File "/usr/lib64/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
    plumber.run()
  File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 959, in run
    accelerators, tdir)
  File "/usr/lib64/calibre/calibre/customize/conversion.py", line 204, in __call__
    log, accelerators)
  File "/usr/lib64/calibre/calibre/web/feeds/input.py", line 105, in convert
    ro.download()
  File "/usr/lib64/calibre/calibre/web/feeds/news.py", line 856, in download
    res = self.build_index()
  File "/usr/lib64/calibre/calibre/web/feeds/news.py", line 1000, in build_index
    feeds = feeds_from_index(self.parse_index(), oldest_article=self.oldest_article,
  File "/tmp/calibre_0.8.37_tmp_U753DI/E_hPlO_recipes/recipe0.py", line 67, in parse_index
    soup = self.index_to_soup(self.INDEX)
  File "/usr/lib64/calibre/calibre/web/feeds/news.py", line 551, in index_to_soup
    with closing(open_func(url_or_raw)) as f:
  File "/usr/lib64/python2.7/site-packages/mechanize/_mechanize.py", line 199, in open_novisit
    return self._mech_open(url, data, visit=False, timeout=timeout)
  File "/usr/lib64/python2.7/site-packages/mechanize/_mechanize.py", line 255, in _mech_open
    raise response
mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found


Cheers.

Edit: solved, see below.

Last edited by laughinggnome; 02-02-2012 at 03:10 PM. Reason: Problem solved!
laughinggnome is offline   Reply With Quote
Old 02-02-2012, 03:09 PM   #2
laughinggnome
Junior Member
laughinggnome began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Device: Kindle
I found out what the the problem is - the recipe is looking for February's edition, which hasn't been published yet. Changing the date as described here:

https://www.mobileread.com/forums/sho...d.php?t=102791

has got me the current issue.
laughinggnome is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for Le Monde subscribers? Thomas92 Recipes 0 12-27-2011 04:50 AM
recipe doesn't read my Le Monde Diplomatique subscription! dolcem Recipes 1 10-16-2011 07:25 PM
Improved recipe for Le Monde veezh Recipes 0 02-25-2011 04:14 AM
Updated recipe for Le Monde? veezh Recipes 5 01-20-2011 09:06 PM
Request for Le Monde Diplo En archive recipe michaelernst Recipes 6 10-17-2010 11:13 AM


All times are GMT -4. The time now is 10:52 PM.


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