![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2008
Device: sony prs-505
|
Fetch News problem in 5
I love calibre and have just installed the .50 version. All is well until I click on "fetch news" " schedule news download". At that point a traceback window opens with the following information:
from __future__ imports must occur at the beginning of the file (recipe4.py, line 4) Detailed traceback: Traceback (most recent call last): File "calibre\gui2\dialogs\scheduler.pyo", line 556, in show_dialog File "calibre\gui2\dialogs\scheduler.pyo", line 289, in __init__ File "calibre\gui2\dialogs\scheduler.pyo", line 101, in __init__ File "calibre\web\feeds\recipes\__init__.pyo", line 96, in compile_recipe File "c:\users\terry\appdata\local\temp\calibre_0.5.0_f bvyfz_recipes\recipe4.py", line 4 from __future__ import with_statement SyntaxError: from __future__ imports must occur at the beginning of the file I am on a vista machine. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,141
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have some custom recipes? If so edit them and remove any
from __future__ ... lines |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2008
Device: sony prs-505
|
Wow!! You are Quick!!
I did not create any custom news but did look through all the ones that were listed and that I had scheduled. Once I removed all those it works again. The Chicago tribune news was the culprit.
thanks much!!! |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,141
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually, you wont be able to. You'll have to wait till the next release.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre NYT News Fetch Problem | e-literacy | Calibre | 1 | 04-01-2010 06:40 PM |
[FETCH NEWS] Access socket problem | EdCampion | Calibre | 2 | 10-26-2009 10:59 AM |
Caliber 0.6.12 - "Fetch News" problem | berniej | Calibre | 13 | 09-19-2009 10:39 AM |
Fetch News | philipdavies | Calibre | 5 | 10-08-2008 04:33 AM |
Fetch News Problem in Calibre 0.4.55 | sriram | Calibre | 4 | 05-21-2008 05:48 PM |