View Single Post
Old 12-12-2009, 05:24 PM   #6
mtg
Junior Member
mtg began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2008
Device: iPod Touch (5th gen), Kindle 2
When I try using "reverse_article_order = True", I get the following exception on both Mac Leopard and Windows XP:

InputFormatPlugin: Recipe Input running Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/utils/ipc/worker.py", line 90, in main
File "calibre/gui2/convert/gui_conversion.pyo", line 21, in gui_convert
File "calibre/ebooks/conversion/plumber.pyo", line 736, in run
File "calibre/customize/conversion.pyo", line 208, in __call__
File "calibre/web/feeds/input.pyo", line 80, in convert
File "calibre/web/feeds/news.pyo", line 598, in download
File "calibre/web/feeds/news.pyo", line 742, in build_index
TypeError: argument to reversed() must be a sequence

I set up a development environment on my Mac, but when I try to modify the code in news.py, it appears that it always runs the compiled app code rather than the code from the source tree, so I haven't been able to debug it. Is there a way to make workers run the code in the source tree rather than the compiled code in the app?
mtg is offline   Reply With Quote