Universal Feed Browser problem in feedparser.py

V

Virgil Stokes

I am running Python 2.6 on a Windows Vista (32-bit) platform. I recently
installed the Universal Feed Parser package (feedparser-5-0). When I try to
execute the following commands:

which is given at http://www.feedparser.org/

I get an Assertion error in the following function in feedparser.py


def __getattr__(self, key):
try:
return self.__dict__[key]
except KeyError:
pass
try:
assert not key.startswith('_') <------- Error occurs when this
statement is executed.
return self.__getitem__(key)
except:
raise AttributeError, "object has no attribute '%s'" % key


Why does the error occur and how should he be corrected?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top