A Logical Explanation

my 2 cents about the world around us

I started digging into Googles appengine recently. Its a great service provided by Google. Now developers like us dont have to worry about the servers.. deployment and other stuff. If we have an Idea we can jump in and start working on it.


As my first project on appengine, am trying to develop a simple which fetches videos from youtube and displays in a page. Its pretty basic.

Nice articles describing it can be found here.

Found a small issue in this article. There is a small hack we need to do to use the Python gdata apis in appengine. This article talks more about it.

This hack is failing in gdata-python api 1.2.1 With the new gdata api instead of doing

gdata.service.http_request_handler = gdata.urlfetch

We should do this

client = gdata.youtube.service.YouTubeService()
urlfetch.run_on_appengine(client)

Lost a day figuring this out. :(

2 comments

  1. Jeff Scudder  

    As you've noticed, I had made a change which broke backwards compatibility so that new features could be added. The run_on_appengine function will be capable of modifying more than just the way that HTTP requests are made. However, I can see that this change has caused some confusion, so I've added a check to the GDataService constructor so that both the old way and the new way way will work.

  2. Jeff Scudder  

    I forgot to mention in my last post, please try revision 547 of gdata-python-client.

Post a Comment

Subscribe to: Post Comments (Atom)