libo26 / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Error while parsing example #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import feedparser
2. d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml")
3. d.feed.title

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    d.feed.title
  File "C:\Python25\lib\site-packages\feedparser.py", line 236, in __getattr__
    raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'title'

What version of the product are you using? On what operating system?
4.1, Python 2.5 and Win XP

Please provide any additional information below.
when i say 
>>> d

below line prints.I guess there is something going wrong.
{'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None, 'entries':
[], 'bozo_exception': URLError(gaierror(11001, 'getaddrinfo failed'),)}. 

Original issue reported on code.google.com by maram.ja...@googlemail.com on 16 Jun 2009 at 3:53

GoogleCodeExporter commented 9 years ago
The current version of the code in Subversion does not have this problem. I'm 
marking 
this fixed since the next release will be soon.

Original comment by adewale on 28 Dec 2009 at 12:11

GoogleCodeExporter commented 9 years ago
I have the same problem. When is the new version planned to be released?

Original comment by haj...@gmail.com on 12 Jan 2010 at 10:31

GoogleCodeExporter commented 9 years ago
The new release is dependent upon, at least, the following:
- various bugs being fixed
- Mark having the time to create the release
- updating the documentation
- getting a handle on how much of the Atom 1.0 spec is properly supported
- putting together a comprehensive and useful changelog describing the delta 
against the last release.

Please join the mailing list: http://groups.google.com/group/feedparser-dev and 
help out

Original comment by adewale on 20 Jan 2010 at 1:19