| AttributeError | Python 2.4.1: /usr/bin/python2.4 Thu Nov 20 06:09:43 2008 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/.peri/adrianomelo/adrianomelo.com/links/index.py |
| 44 if not e.has_key('modified_parsed'): |
| 45 continue |
| 46 postList.append(Entry(e, blog)) |
| 47 |
| 48 postList.sort( ) |
| postList = [], postList.append = <built-in method append of list object>, Entry = <class __main__.Entry>, e = {'updated': u'2008-09-30T12:37:27Z', 'rdf_bag': ...mming scrum xp', 'scheme': None, 'label': None}]}, blog = u'Delicious/adrianomelo/programming' |
| /home/.peri/adrianomelo/adrianomelo.com/links/index.py in __init__(self=<__main__.Entry instance>, data={'updated': u'2008-09-30T12:37:27Z', 'rdf_bag': ...mming scrum xp', 'scheme': None, 'label': None}]}, blog=u'Delicious/adrianomelo/programming') |
| 32 self.date = time.mktime(data.modified_parsed) |
| 33 self.link = data.link |
| 34 self.description = data.summary_detail.value and data.summary_detail.value or "Link sem descricao" |
| 35 self.tags = data.tags[0].term |
| 36 def __cmp__(self, other): |
| self = <__main__.Entry instance>, self.description undefined, data = {'updated': u'2008-09-30T12:37:27Z', 'rdf_bag': ...mming scrum xp', 'scheme': None, 'label': None}]}, data.summary_detail undefined |
| /home/.peri/adrianomelo/adrianomelo.com/links/feedparser.py in __getattr__(self={'updated': u'2008-09-30T12:37:27Z', 'rdf_bag': ...mming scrum xp', 'scheme': None, 'label': None}]}, key='summary_detail') |
| 234 return self.__getitem__(key) |
| 235 except: |
| 236 raise AttributeError, "object has no attribute '%s'" % key |
| 237 |
| 238 def __setattr__(self, key, value): |
| builtin AttributeError = <class exceptions.AttributeError>, key = 'summary_detail' |
AttributeError: object has no attribute 'summary_detail'
args =
("object has no attribute 'summary_detail'",)