|
|
#1 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
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 05:13 PM. Reason: Corrected for readability. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,706
Karma: 28549304
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 | |
|
|
|
|
#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 07:51 PM |
| Broken DR | Grimulkan | iRex | 27 | 09-18-2009 12:23 AM |
| Broken Ipod works Fine! except that its broken | Andybaby | Lounge | 1 | 06-04-2009 03:03 AM |
| Broken | jeffoest | Sony Reader | 57 | 12-11-2007 04:15 PM |
| is it broken ? | markiehill | Sony Reader | 5 | 02-15-2007 09:53 AM |