Kovid,
I removed the two blank lines from nwa2.py (they had already been removed from the code I placed in the Custom News Sources) and still no joy. When I run from the GUI I get the following:
'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'
When I run from the command line with the --test switch the program simply hangs. If I use the --verbose switch I get:
Macintosh-3:books billc$ feeds2lrf --verbose nwa2.py
Fetching feeds...
0% [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Starting download [1 thread(s)]... WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
ERROR: Failed to download article: Ambulance Agreement Passes Fayetteville from .prt
2% [=====----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Ambulance Agreement Passes Fayetteville ERROR: Failed to download article: Siloam Springs Passes Comprehensive Plan from .prt
4% [==========-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Siloam Springs Passes Comprehensive Plan ERROR: Failed to download article: Commission Approves Concept Plan from .prt
6% [===============------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Commission Approves Concept Plan ERROR: Failed to download article: Lesbian Doctor Married In Boston Seeks Annulment in Missouri from .prt
8% [====================-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Lesbian Doctor Married In Boston Seeks Annulment in Missouri ERROR: Failed to download article: Lawmakers Endorse Severance Tax Hike from .prt
11% [=========================--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Lawmakers Endorse Severance Tax Hike ERROR: Failed to download article: Opposition Turns Into Support from .prt
13% [==============================---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Opposition Turns Into Support ERROR: Failed to download article: Sheriff Candidates Hit Common Themes from .prt
15% [===================================----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Sheriff Candidates Hit Common Themes ERROR: Failed to download article: Alliance Endorses Treatment Over Incarceration In Methamphetamine Cases from .prt
17% [=========================================----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Alliance Endorses Treatment Over Incarceration In Methamphetamine Cases ERROR: Failed to download article: Inmates To Appear Before State Claims Commission from .prt
20% [==============================================-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Inmates To Appear Before State Claims Commission ERROR: Failed to download article: National Group Praises Arkansas Mental Health Care Data System from .prt
22% [================================================== =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: National Group Praises Arkansas Mental Health Care Data System ERROR: Failed to download article: Groups Plan Pre-Election Debates, Forums from .prt
24% [================================================== ======-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Groups Plan Pre-Election Debates, Forums WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
ERROR: Failed to download article: Nucor Companies Give More Than $1 Million To Scholarship Fund from .prt
26% [================================================== ===========--------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Nucor Companies Give More Than $1 Million To Scholarship Fund ERROR: Failed to download article: White County Brides, Grooms Exchange Vows At Historic Residence Converted To Wedding Chapel from .prt
28% [================================================== ================---------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: White County Brides, Grooms Exchange Vows At Historic Residence Converted To Wedding Chapel ERROR: Failed to download article: Two Die, One Lives In Possible Murder-Suicide from .prt
31% [================================================== =====================----------------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Two Die, One Lives In Possible Murder-Suicide ERROR: Failed to download article: West Fork Man Missing After Rushing Creek Sweeps Away Truck from .prt
33% [================================================== ===========================----------------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: West Fork Man Missing After Rushing Creek Sweeps Away Truck ERROR: Failed to download article: Rain Brings Flooding In Parts Of Arkansas from .prt
35% [================================================== ================================-----------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Rain Brings Flooding In Parts Of Arkansas ERROR: Failed to download article: Farmers Watch Weather As Planting Season Approaches from .prt
37% [================================================== =====================================------------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Farmers Watch Weather As Planting Season Approaches ERROR: Failed to download article: Public Meetings from .prt
40% [================================================== ==========================================-------------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Public Meetings ERROR: Failed to download article: Springdale Plans To Raze Canning Company Buildings from .prt
42% [================================================== ===============================================--------------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Springdale Plans To Raze Canning Company Buildings ERROR: Failed to download article: Payday Lenders Must Shut Down Or Face Lawsuits, Attorney General Says from .prt
44% [================================================== ================================================== ==---------------------------------------------------------------------------------------------------------------------------------]
Article download failed: Payday Lenders Must Shut Down Or Face Lawsuits, Attorney General Says ERROR: Failed to download article: Registration Under Way For Fincher Run from .prt
46% [================================================== ================================================== =======----------------------------------------------------------------------------------------------------------------------------]
Article download failed: Registration Under Way For Fincher Run ERROR: Failed to download article: Dance Company Receives Honors from .prt
48% [================================================== ================================================== ============-----------------------------------------------------------------------------------------------------------------------]
Article download failed: Dance Company Receives Honors ERROR: Failed to download article: Card Results from .prt
51% [================================================== ================================================== ==================-----------------------------------------------------------------------------------------------------------------]
Article download failed: Card Results WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
ERROR: Failed to download article: Military Briefs from .prt
53% [================================================== ================================================== =======================------------------------------------------------------------------------------------------------------------]
Article download failed: Military Briefs ERROR: Failed to download article: Student Chosen For State Geographic Bee from .prt
55% [================================================== ================================================== ============================-------------------------------------------------------------------------------------------------------]
Article download failed: Student Chosen For State Geographic Bee WARNING: Could not fetch link .prt
ERROR: Failed to download article: Food Bank Participating In Challenge from .prt
57% [================================================== ================================================== =================================--------------------------------------------------------------------------------------------------]
Article download failed: Food Bank Participating In Challenge ERROR: Failed to download article: Walton Arts Centers Celebrates Its 100% Schools Program with Crayola from .prt
60% [================================================== ================================================== ======================================---------------------------------------------------------------------------------------------]
Article download failed: Walton Arts Centers Celebrates Its 100% Schools Program with Crayola ERROR: Failed to download article: Local Notes from .prt
62% [================================================== ================================================== ===========================================----------------------------------------------------------------------------------------]
Article download failed: Local Notes WARNING: Could not fetch link .prt
ERROR: Failed to download article: Painter Wins Miss Lakes Of The Northwest Crown from .prt
64% [================================================== ================================================== ================================================-----------------------------------------------------------------------------------]
Article download failed: Painter Wins Miss Lakes Of The Northwest Crown ERROR: Failed to download article: Students Receive Thousands from Northwest Medical Center - Bentonville Auxiliary from .prt
66% [================================================== ================================================== ================================================== ====-----------------------------------------------------------------------------]
Article download failed: Students Receive Thousands from Northwest Medical Center - Bentonville Auxiliary ERROR: Failed to download article: Education Briefs from .prt
68% [================================================== ================================================== ================================================== =========------------------------------------------------------------------------]
Article download failed: Education Briefs ERROR: Failed to download article: Briefly from .prt
71% [================================================== ================================================== ================================================== ==============-------------------------------------------------------------------]
Article download failed: Briefly ERROR: Failed to download article: Williams Will Celebrate 100th Birthday from .prt
73% [================================================== ================================================== ================================================== ===================--------------------------------------------------------------]
Article download failed: Williams Will Celebrate 100th Birthday ERROR: Failed to download article: Mentoring Child Encourages Desired Behaviors from .prt
75% [================================================== ================================================== ================================================== ========================---------------------------------------------------------]
Article download failed: Mentoring Child Encourages Desired Behaviors ERROR: Failed to download article: Upcoming Events from .prt
77% [================================================== ================================================== ================================================== =============================----------------------------------------------------]
Article download failed: Upcoming Events ERROR: Failed to download article: History Day from .prt
80% [================================================== ================================================== ================================================== ==================================-----------------------------------------------]
Article download failed: History Day WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
WARNING: Could not fetch link .prt
ERROR: Failed to download article: Wades Donate $10,000 For Healing Path Project from .prt
82% [================================================== ================================================== ================================================== =======================================------------------------------------------]
Article download failed: Wades Donate $10,000 For Healing Path Project ERROR: Failed to download article: 'Mentoring Champion' from .prt
84% [================================================== ================================================== ================================================== =============================================------------------------------------]
Article download failed: 'Mentoring Champion' ERROR: Failed to download article: Owl Team Takes Gold Medal from .prt
86% [================================================== ================================================== ================================================== ==================================================-------------------------------]
Article download failed: Owl Team Takes Gold Medal ERROR: Failed to download article: Mini Grand Prix Slated For April 5 from .prt
88% [================================================== ================================================== ================================================== ================================================== =====--------------------------]
Article download failed: Mini Grand Prix Slated For April 5 ERROR: Failed to download article: Chapman Gets 'The Word Out' In Local Concert from .prt
91% [================================================== ================================================== ================================================== ================================================== ==========---------------------]
Article download failed: Chapman Gets 'The Word Out' In Local Concert ERROR: Failed to download article: Religion Notes from .prt
93% [================================================== ================================================== ================================================== ================================================== ===============----------------]
Article download failed: Religion Notes ERROR: Failed to download article: MUSINGS from .prt
95% [================================================== ================================================== ================================================== ================================================== ====================-----------]
Article download failed: MUSINGS ERROR: Failed to download article: The Road To Calvary from .prt
97% [================================================== ================================================== ================================================== ================================================== =========================------]
Article download failed: The Road To Calvary ERROR: Failed to download article: Laity, Clergy Drawn To Conference On Caring For Earth from .prt
100% [================================================== ================================================== ================================================== ================================================== ===============================]
Download finished WARNING: Failed to download the following articles:
Traceback (most recent call last):
File "/Users/billc/Downloads/libprs500-1.app/Contents/Resources/feeds2lrf.py", line 9, in <module>
main()
File "libprs500/ebooks/lrf/feeds/convert_from.pyo", line 52, in main
File "libprs500/web/feeds/main.pyo", line 140, in run_recipe
File "libprs500/web/feeds/news.pyo", line 386, in download
TypeError: coercing to Unicode: need string or buffer, builtin_function_or_method found
Macintosh-3:books billc$
I ran the recipe in the older version of lbrs500 and I had no problems. It would appear that among other things it is not getting the URL of the print file corretly. If I need to change the code, not a problem, I haven't a clue as to where to begin.
|