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 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
Old 03-11-2009, 12:44 AM   #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: 24,817
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have some custom recipes? If so edit them and remove any

from __future__ ...

lines
kovidgoyal is online now   Reply With Quote
 
Enthusiast
Old 03-11-2009, 01:01 AM   #3
tmcclell
Junior Member
tmcclell began at the beginning.
 
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!!!
tmcclell is offline   Reply With Quote
Old 03-11-2009, 01:06 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: 24,817
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually, you wont be able to. You'll have to wait till the next release.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:30 AM.


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