Thread: web2lrf
View Single Post
Old 03-19-2008, 12:17 AM   #223
Deputy-Dawg
Groupie
Deputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-books
 
Deputy-Dawg's Avatar
 
Posts: 153
Karma: 799
Join Date: Dec 2007
Device: sony prs505
Quote:
Originally Posted by kovidgoyal View Post
And it works with

web2lrf --user-profile nwn2.py

?
My bad! I had made a change in the code in the Custom News Source in the GUI a couple of weeks ago and had not changed the command line version to match. But, yes, that code will run with web2lrf it just won't produce any data in the linked files. I have attached the corrected code to this message. It now produces useful out put when run from the command line. But I still get the following from the GUI.

'unicode' object has no attribute 'needs_subscription'
Detailed traceback:
Traceback (most recent call last):
File "libprs500/gui2/news.pyo", line 62, in fetch_news
AttributeError: 'unicode' object has no attribute 'needs_subscription''unicode' object has no attribute 'needs_subscription'
Detailed traceback:
Traceback (most recent call last):
File "libprs500/gui2/news.pyo", line 62, in fetch_news
AttributeError: 'unicode' object has no attribute 'needs_subscription'

Which is sort of odd since there is not sign in/password requirement on this RSS feed.
Attached Files
File Type: zip nwa2.py.zip (1,018 Bytes, 313 views)
Deputy-Dawg is offline   Reply With Quote