bugStraw, desktop news aggregator - Bugs: bug #2792, Another funky feed

 
 

bug #2792: Another funky feed

Submitted by:  Ryan Skadberg <skadz>
Submitted on:  Wed 12 Mar 2003 01:07:39 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 18 Jul 2003 06:21:26 PM UTC, comment #2:

The feed works in 0.18.1 and/or latest CVS.

Jan Alonzo <jmalonzo>
Project Administrator
Wed 12 Mar 2003 10:46:53 AM UTC, comment #1:

That feed has a <?xml version="1.0" encoding=""?>.
encoding = "" is valid xml?

change SummaryParserMP.py line 19 to:
"if not enc:"

And at line 31, unicode('str', 'encode') can also raise

>>> unicode('d', 'tis')

Traceback (most recent call last):
File "<stdin>", line 1, in ?
LookupError: unknown encoding: tis

Anonymous
Wed 12 Mar 2003 01:07:39 AM UTC, original submission:

This feed:

http://www.bostonblogs.com/index.rdf

causes this:

Traceback (most recent call last):
File "src/lib/SubscribeDialog.py", line 184, in on_subscribe_find_site_clicked File "src/lib/SubscribeDialog.py", line 169, in find_site
File "src/lib/SubscribeDialog.py", line 136, in parse_feed
File "src/lib/SummaryParserMP.py", line 49, in parse
File "src/lib/SummaryParserMP.py", line 30, in unicode_field
File "//usr/lib/python2.2/encodings/__init__.py", line 51, in search_function
mod = _import_(modname,globals(),locals(),'*')
ValueError: Empty module name

(NOTE: this MAY be a result of adding the feed in my last bug and then this bug in order, but I am not 100% sure)

Ryan Skadberg <skadz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 18 Jul 2003 06:21:26 PM UTCjmalonzoStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1