10-10-2008, 04:11 PM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
feeds2disk broken in 0.4.94?
Wanted to make sure it wasn't just me before adding a ticket, but when I run feeds2disk using my own recipe file (located in the same directory) it errors out every time. I also tried specifying the full path to the file but got the same error.
Code:
E:\ebooks\testing>feeds2disk --test --debug os.py Traceback (most recent call last): File "main.py", line 175, in <module> File "main.py", line 170, in main File "main.py", line 136, in run_recipe File "calibre\web\feeds\recipes\__init__.pyo", line 74, in compile_recipe File "c:\docume~1\user\locals~1\temp\calibre_0.4.94_vf7mse_recipes\recipe1 .py", line 4, in <module> os.py NameError: name 'os' is not defined Last edited by Acey; 10-10-2008 at 04:13 PM. Reason: Corrected for readability. |
10-10-2008, 04:22 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
works for me, but try naming the file something other than os (os is a built-in python module)
|
Advert | |
|
10-10-2008, 04:44 PM | #3 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
Thanks Kovid. Turns out it was my file. I copied it from Calibre into WordPad and WordPad added lots of formatting codes which caused the error. Note to self: only use a programmer's editor (or an editor you know won't muck up your file!).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Broken PRS-505; any place to buy chrome bottom piece? Or anyone with broken 505? | erikk | Sony Reader | 1 | 12-09-2009 06:51 PM |
Broken DR | Grimulkan | iRex | 27 | 09-17-2009 11:23 PM |
Broken Ipod works Fine! except that its broken | Andybaby | Lounge | 1 | 06-04-2009 02:03 AM |
Broken | jeffoest | Sony Reader | 57 | 12-11-2007 03:15 PM |
is it broken ? | markiehill | Sony Reader | 5 | 02-15-2007 08:53 AM |