|
|
#1 |
|
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
|
Error on downloading The Atlantic
I'm getting an error when I attempt to download The Atlantic. I believe they may have changed their website layout for the new year, but here's the error that I get (this recipe and this error are officially beyond my limited capabilities to fix myself):
Code:
ERROR: Conversion Error: <b>Failed</b>: Fetch news from The Atlantic
Fetch news from The Atlantic
Resolved conversion options
calibre version: 0.7.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,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_split_on_page_breaks': True,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'header_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x1084bf2d0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'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.NookOutput object at 0x1084bf9d0>,
'page_breaks_before': None,
'password': None,
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'username': None,
'verbose': 2}
Python function terminated unexpectedly: local variable 'title' referenced before assignment
InputFormatPlugin: Recipe Input running
Found section:
Found section:
Found section:
Found section:
Found section: Poems
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 107, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 853, in run
File "site-packages/calibre/customize/conversion.py", line 216, in __call__
File "site-packages/calibre/web/feeds/input.py", line 105, in convert
File "site-packages/calibre/web/feeds/news.py", line 727, in download
File "site-packages/calibre/web/feeds/news.py", line 858, in build_index
File "/var/folders/4r/4r9ZSUZcGoSJAG6KCqmDLE+++TI/-Tmp-/calibre_0.7.37_tmp_37LxwN/calibre_0.7.37_cdCAeK_recipes/recipe0.py", line 98, in parse_index
feeds.append(('Advice', [{'title':title, 'url':url, 'description':desc,
UnboundLocalError: local variable 'title' referenced before assignment
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,636
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
fixed.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 2
|
Same problem with recipe for The Atlantic (Calibre 0.7.42)
ERROR: Conversion Error: <b>Failed</b>: Fetch news from The Atlantic
Fetch news from The Atlantic Resolved conversion options calibre version: 0.7.42 {'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, 'enable_heuristics': False, 'extra_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 0x1084c0710>, 'insert_blank_line': False, '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, 'no_chapters_in_toc': False, 'no_inline_navbars': True, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x1084c0cd0>, 'page_breaks_before': None, 'password': '', '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_first_image': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'rescale_images': False, 'series': None, 'series_index': None, '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, 'unwrap_lines': True, 'use_auto_toc': False, 'username': '', 'verbose': 2} Python function terminated unexpectedly: local variable 'title' referenced before assignment InputFormatPlugin: Recipe Input running Found section: Found section: Found section: Found section: Found section: Poems Traceback (most recent call last): File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main return run_entry_point() File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point return getattr(pmod, func)() File "site-packages/calibre/utils/ipc/worker.py", line 110, in main File "site-packages/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert File "site-packages/calibre/ebooks/conversion/plumber.py", line 897, in run File "site-packages/calibre/customize/conversion.py", line 204, in __call__ File "site-packages/calibre/web/feeds/input.py", line 105, in convert File "site-packages/calibre/web/feeds/news.py", line 734, in download File "site-packages/calibre/web/feeds/news.py", line 871, in build_index File "/var/folders/jH/jHGkfSFWEZmzlrIYvgNIlk+++TI/-Tmp-/calibre_0.7.42_tmp_7nQ6r0/calibre_0.7.42_NYAWUw_recipes/recipe0.py", line 94, in parse_index feeds.append(('Advice', [{'title':title, 'url':url, 'description':desc, UnboundLocalError: local variable 'title' referenced before assignment |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,636
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I just tried the atlantic and it's working fine. Try it again.
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 2
|
Ah yes, turns on the problem is user error. My apologies. Awhile back I customized this recipe and set up the customized version for scheduled downloads. That makes complete sense that recipe changes that come with application updates don't update user-customized versions of those recipes. Thanks so much for the quick reply and for continued work on such a fantastic application.
Calibre is the best. Lee |
|
|
|
| Advert | |
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error downloading Calibre! | tandknix | Calibre | 5 | 02-19-2010 06:32 PM |
| Hello from the Mid-Atlantic | Shemmy | Introduce Yourself | 10 | 01-08-2010 08:13 PM |
| PRS-300 an error occurred while downloading the software | Samel25 | Sony Reader | 7 | 12-27-2009 01:55 PM |
| Error downloading library book | daltonan | Sony Reader | 4 | 02-28-2009 06:40 PM |
| Error when downloading from Fictionwise? | daviddem | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 12-15-2008 09:20 PM |