Akume
unread,Jun 7, 2008, 8:24:59 PM6/7/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
any help would be appreciated.
can't figure out why i'm getting this error.
here's the code
service = gdata.youtube.service.YouTubeService()
service.email = username
service.password = password
service.source = CLIENT_ID
service.developer_key = DEVELOPER_KEY
service.client_id = CLIENT_ID
feed = service.GetMostRecentVideoFeed()
stack trace
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 499, in __call__
handler.get(*groups)
File "/base/data/home/apps/akume/1.2/main.py", line 33, in get
feed = service.GetMostRecentVideoFeed()
File "/base/data/home/apps/akume/1.2/gdata/youtube/service.py", line
515, in GetMostRecentVideoFeed
return self.GetYouTubeVideoFeed(YOUTUBE_STANDARD_MOST_RECENT_URI)
File "/base/data/home/apps/akume/1.2/gdata/youtube/service.py", line
155, in GetYouTubeVideoFeed
return self.Get(uri,
converter=gdata.youtube.YouTubeVideoFeedFromString)
File "/base/data/home/apps/akume/1.2/gdata/service.py", line 513, in
Get
extra_headers=extra_headers)
File "/base/data/home/apps/akume/1.2/atom/service.py", line 316, in
HttpRequest
connection.endheaders()
File "/base/python_dist/lib/python2.5/httplib.py", line 860, in
endheaders
self._send_output()
File "/base/python_dist/lib/python2.5/httplib.py", line 732, in
_send_output
self.send(msg)
File "/base/python_dist/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/base/python_dist/lib/python2.5/httplib.py", line 666, in
connect
for res in socket.getaddrinfo(self.host, self.port, 0,
AttributeError: 'module' object has no attribute 'getaddrinfo'