Feedparser Problem

Jonathan Nelson iamelgringo at gmail.com
Fri Jun 5 19:17:36 EDT 2009

Thanks for the responses.  I've tried the same script on a Server 2003
install, and Python 2.5 and it ran without a hitch.  So, it's either a
problem with Python 2.6 or with Windows 7.

Thanks for all the responses.  You've been great.


On Jun 5, 7:39 am, Jonathan Nelson <iamelgri... at gmail.com> wrote:
> I'm working with Feedparser on months old install of Windows 7, and
> now programs that ran before are broken, and I'm getting wierd
> messages that are rather opaque to me.   Google, Bing, News groups
> have all left me empty handed.
> I was wondering if I could humbly impose upon the wizards of
> comp.lang.python to lend me their wisdom and insight to this problem
> that is too difficult for my little mind.
> Here's what I'm going through:
> >>>from feedparser import parse
> >>>url='http://feeds.nytimes.com/nyt/rss/Technology'
> >>>url2='http://feeds.washingtonpost.com/wp-dyn/rss/technology/index_xml'
> >>>d = parse(url)
> >>>d2= parse(url2)
> >>>d
> {'bozo':1,
> 'bozo_exception': TypeError("__init__() got an unexpected keyword
> argument 'timeout'",),
> 'encoding': 'utf-8',
> 'entries': [],
> 'feed':{},
> 'version': None}>>>d2
> {'bozo': 1,
>  'bozo_exception': TypeError("__init__() got an unexpected keyword
> argument 'timeout'",),
>  'encoding': 'utf-8',
>  'entries': [],
>  'feed': {},
>  'version': None}
> I've checked my firewall settings, and python is allowed.  Other
> python programs can get data from the web.  I know that the 'bozo' is
> for malformed xml.  I've searched through both of those rss feeds, and
> I can't find the argument 'timeout' anywhere in them.
> Any ideas, thoughts or directions in which I might go?
> Thanks to all in advance,
> Jonathan

More information about the Python-list mailing list