Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2009, 10:59 PM   #1
wayner
Connoisseur
wayner began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2009
Location: Toronto
Device: Kindle 2 in Canada, iPad wifi only
Failed to Fetch Economist

I am trying to fetch the Economist but it keeps failing and then keeps retrying. This causes me to have to hit OK many times to cancel all of the error dialog boxes.

I am using the default profile and it has worked for me for several weeks. I am able to manually log in to the Economist so my password and ID are ok.

By the way - Calibre is a FANTASTIC piece of software. So far I am only using it to fetch mags & newspapers but two enthusiastic thumbs up to you Kovid!

(Note - I have changed my email and password so that they don't appear in this post)

Fetch news from The Economist
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_compress': False,
'dont_justify': False,
'extra_css': None,
'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 0x03F25210>,
'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_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x03F25430>,
'page_breaks_before': None,
'password': 'mypassword',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'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,
'rescale_images': False,
'series': None,
'series_index': None,
'tags': None,
'test': False,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'username': john_doe@gmail.com',
'verbose': 2}
InputFormatPlugin: Recipe Input running Python function terminated unexpectedly
Could not find any articles. Has your subscription expired? (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 90, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 21, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 736, in run
File "site-packages\calibre\customize\conversion.py", line 208, in __call__
File "site-packages\calibre\web\feeds\input.py", line 80, in convert
File "site-packages\calibre\web\feeds\news.py", line 598, in download
File "site-packages\calibre\web\feeds\news.py", line 715, in build_index
File "c:\users\wayne\appdata\local\temp\calibre_0.6.27_ pmwtpk_recipes\recipe0.py", line 97, in parse_index
raise Exception('Could not find any articles. Has your subscription expired?')
Exception: Could not find any articles. Has your subscription expired?

Last edited by wayner; 12-17-2009 at 11:30 PM.
wayner is offline   Reply With Quote
Old 12-18-2009, 02:00 AM   #2
dhiru
Connoisseur
dhiru began at the beginning.
 
Posts: 83
Karma: 10
Join Date: Aug 2009
Device: iphone, Irex iliad, sony prs950, kindle Dx, Ipad
YES same problem here
thanks
dhiru is offline   Reply With Quote
Advert
Old 12-18-2009, 06:42 AM   #3
strico
Enthusiast
strico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy bluestrico can differentiate black from dark navy blue
 
Posts: 25
Karma: 13264
Join Date: Jun 2007
Device: Sony PRS-600
I believe this is caused by this week's double issue of the economist. (Similar thing happened to the time year-end issue)

I guess the recipe has to be fine-tuned to support that. Unfortunately, I don't know python good enough to do it myself.
strico is offline   Reply With Quote
Old 12-18-2009, 11:43 AM   #4
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You should still be able to use the free Economist recipe (that uses RSS feeds)
kovidgoyal is offline   Reply With Quote
Old 12-18-2009, 12:02 PM   #5
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I just tried visiting the economist print edition page and got this error message

"
We are sorry that we are unable to display the page that you should see here. We have recorded the problem and we will look into it soon.
"

So it seems like their server is having trouble
kovidgoyal is offline   Reply With Quote
Advert
Old 12-18-2009, 01:01 PM   #6
Emm3t
Junior Member
Emm3t began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2009
Location: Spain
Device: Sony PRS-505
Just accessed their print edition and it appears to be working.

Still getting the same error from Calibre thought - I have a valid subscription as well.

Very strange...

Emm3t
Emm3t is offline   Reply With Quote
Old 12-18-2009, 01:54 PM   #7
dha
Junior Member
dha began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2009
Location: Canada
Device: Sony PRS-505
Emm3t is right, the print edition page is still there - but I noticed that the text says "The world this year" rather than "The world this week" (the text that the script searches for). However, that must not be the only change, since I changed the recipe accordingly and it still bombs.

The free version misses most of the stories and includes a lot of stories from a week ago, so I don't find it useful.
dha is offline   Reply With Quote
Old 12-18-2009, 02:06 PM   #8
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I've uploaded a fixed recipe, you should be fine now as long as you are using 0.6.28
kovidgoyal is offline   Reply With Quote
Old 12-18-2009, 03:15 PM   #9
dha
Junior Member
dha began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2009
Location: Canada
Device: Sony PRS-505
It worked great - thanks a lot! Will have to check it again next issue to make sure it will still work with the "weekly" format.

Great program - it really makes my e-reader so much more useful!
dha is offline   Reply With Quote
Old 12-18-2009, 06:40 PM   #10
wayner
Connoisseur
wayner began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2009
Location: Toronto
Device: Kindle 2 in Canada, iPad wifi only
What do you have to do to use the fixed recipe as opposed to the old one. I am running 0.6.28.
wayner is offline   Reply With Quote
Old 12-19-2009, 12:30 AM   #11
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It should just work if you're using the builtin recipe (updated versions of the builtin recipe are automatically download from the calibre server)

In any case 29 was released with the fixed recipe
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to fetch news Hemant Calibre 10 08-25-2010 09:22 AM
Economist Free Recipe geneaber Calibre 10 12-31-2009 03:45 PM
Economist Error dieterpops Calibre 1 10-21-2009 04:57 PM
The Economist and WSJ? ziegl027 Sony Reader 8 10-14-2009 11:22 PM
Economist on the Kindle SpiderMatt Amazon Kindle 11 03-09-2009 10:07 AM


All times are GMT -4. The time now is 03:43 AM.


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