View Single Post
Old 03-11-2009, 12:39 AM   #1
tmcclell
Junior Member
tmcclell began at the beginning.
 
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.
tmcclell is offline   Reply With Quote