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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2010, 11:21 AM   #1
keyrunner
Junior Member
keyrunner began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Device: Nook, Sony PRS-505
NY Times Recipe in Calibre 6.36 Fails

For the past week the NY Times subscription recipe for the NY Times fails. Anyone have any ideas whether this is part of the new NY Times pay wall experiment (not expected to be implemented until 2011) or something is wrong with the recipe?

The error I get is (with password and username blanked out and they are correct):

Fetch news from The New York Times (subscription)
Resolved conversion options
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_justify': 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>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x74d77b0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x74d7990>,
'page_breaks_before': None,
'password': 'XXXXXX',
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': True,
'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,
'tags': None,
'test': False,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'username': 'XXXXX',
'verbose': 2}
Python function terminated unexpectedly: decode() argument 1 must be string, not instancemethod
InputFormatPlugin: Recipe Input running
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/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 745, in run
File "site-packages/calibre/customize/conversion.py", line 211, in __call__
File "site-packages/calibre/web/feeds/input.py", line 92, in convert
File "site-packages/calibre/web/feeds/news.py", line 618, in download
File "site-packages/calibre/web/feeds/news.py", line 735, in build_index
File "/var/folders/gO/gOE9CFX92RWvTU+8ZQp+jU+++TM/-Tmp-/calibre_0.6.36_PGWlOV_recipes/recipe0.py", line 61, in parse_index
soup = self.index_to_soup('http://www.nytimes.com/pages/todayspaper/index.html')
File "site-packages/calibre/web/feeds/news.py", line 432, in index_to_soup
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1435, in __init__
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1055, in __init__
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1084, in _feed
File "site-packages/calibre/web/feeds/news.py", line 431, in <lambda>
File "site-packages/calibre/__init__.py", line 425, in entity_to_unicode
TypeError: decode() argument 1 must be string, not instancemethod
keyrunner is offline   Reply With Quote
Old 01-28-2010, 12:56 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,450
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Will be fixed in next release.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NY Times recipe -- request? maxbookworm Calibre 2 07-21-2010 05:07 PM
Recipe for Gulf Times rty Calibre 3 04-16-2010 01:04 PM
The Los Angeles Times Recipe radikaldissent Calibre 2 09-12-2009 01:53 PM
New York Times recipe madrone26 Calibre 4 04-02-2009 02:13 PM
The Times news recipe? AprilHare Calibre 1 10-10-2008 02:48 PM


All times are GMT -4. The time now is 03:19 PM.


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