View Single Post
Old 09-20-2010, 02:52 PM   #2778
Flexicat
Junior Member
Flexicat began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2010
Device: Kobo
Hello. Has something changed in the GoComics site that the built-in recipe no longer works? I have not been able to get this recipe to work in a while. The error generated is this;
Spoiler:
Code:
ERROR: Conversion Error: <b>Failed</b>: Fetch news from GoComics

Fetch news from GoComics
Resolved conversion options
calibre version: 0.7.19
{'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,
 '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.40000000000000002,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x66ad470>,
 '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,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x66ad790>,
 '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: unsupported operand type(s) for +: 'NoneType' and 'str'
InputFormatPlugin: Recipe Input running
Traceback (most recent call last):
  File "/Users/ME/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
    return run_entry_point()
  File "/Users/ME/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
    return getattr(pmod, func)()
  File "site-packages/calibre/utils/ipc/worker.py", line 99, 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 832, in run
  File "site-packages/calibre/customize/conversion.py", line 211, in __call__
  File "site-packages/calibre/web/feeds/input.py", line 105, in convert
  File "site-packages/calibre/web/feeds/news.py", line 709, in download
  File "site-packages/calibre/web/feeds/news.py", line 834, in build_index
  File "/var/folders/LQ/LQJ79mVxFPGbnRkysSb0GZr3GGw/-Tmp-/calibre_0.7.19_tmp_8ZSKZQ/calibre_0.7.19_9loKvj_recipes/recipe0.py", line 121, in parse_index
    articles = self.make_links(url)
  File "/var/folders/LQ/LQJ79mVxFPGbnRkysSb0GZr3GGw/-Tmp-/calibre_0.7.19_tmp_8ZSKZQ/calibre_0.7.19_9loKvj_recipes/recipe0.py", line 141, in make_links
    title = strip_title + ' - ' + date_title
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

I run with the supplied preferences in Calibre, so I am hoping that I haven't caused this issue myself.
I have really enjoyed this recipe and how easily it works with Calibre.
Thanks.
Flexicat is offline