gfcapalbo / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

"instancemethod is not iterable #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Everything built/installed (Python-twitter-0.5, simplejson 2.0.4 and python 
2.5 on a Mac OSX 
Leopard System)
2. Looked for the public time line just as in the instructions (see: 
http://static.unto.net/python-
twitter/0.5/doc/twitter.html):
>>> import twitter
>>> api=twitter.Api()
>>> statuses=api.GetPublicTimeline
>>> print [s.user.name for s in statuses]

What is the expected output? What do you see instead?
Expected: sth like:
    [u'DeWitt', u'Kesuke Miyagi', u'ev', u'Buzz Andersen', u'Biz Stone'] #...
Seen:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'instancemethod' object is not iterable

Original issue reported on code.google.com by philipp....@googlemail.com on 26 Oct 2008 at 8:46

GoogleCodeExporter commented 9 years ago
Everything allright now. Patch out of Issue 26 worked.

Original comment by philipp....@googlemail.com on 2 Nov 2008 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by dclinton on 21 Feb 2009 at 5:30