6 messages in com.googlegroups.google-picasa-data-api[PWA API] Re: 500L 'Unknown authoriza...
FromSent OnAttachments
Chandrashekar14 Jun 2008 10:12 
Jeff Fisher (Google)14 Jun 2008 21:21 
Chandrashekar16 Jun 2008 19:26 
Jeff Fisher (Google)16 Jun 2008 19:47 
Chandrashekar17 Jun 2008 21:56 
Jeff Fisher (Google)17 Jun 2008 23:12 
Subject:[PWA API] Re: 500L 'Unknown authorization header')
From:Jeff Fisher (Google) (api.@google.com)
Date:06/16/2008 07:47:37 PM
List:com.googlegroups.google-picasa-data-api

Oh, are you trying to use the client library with App Engine? That requires some extra footwork, if I recall correctly. The short version is explained here:

http://googledataapis.blogspot.com/2008/04/release-hounds-support-for-app-engine.html

But there is also an in-depth article about it here:

http://code.google.com/appengine/articles/gdata.html

Cheers, -Jeff

On Jun 17, 12:27 pm, Chandrashekar <chan@gmail.com> wrote:

mod_python

I guess this is the one that comes with the google app engine. I have not installed Apache.

Thanks.

On Jun 14, 11:22 pm, "Jeff Fisher (Google)" <api.@google.com> wrote:

Hi,

What kind of environment is your server running? For example, is this mod_python on apache, etc?

Cheers, -Jeff

On Jun 14, 10:12 am, Chandrashekar

<chan@gmail.com> wrote:

Hi , i am trying to get my applicaition authenticated using Autsub as specified.http://code.google.com/apis/picasaweb/developers_guide_python.html#Au...

class Album(webapp.RequestHandler): def get(self):

parameters = cgi.FieldStorage() authsub_token = parameters['token'] gd_client = gdata.photos.service.PhotosService() gd_client.auth_token = authsub_token gd_client.UpgradeToSessionToken() feed = gd_client.GetUserFeed(user='default') for entry in feed.entry: self.response.out.write('title: %s, number of photos: %s' % (entry.title.text,entry.numphotos.text))

i am using pydev in elcipse. strangly when i try this in python console it works fine and i get the list like below.

for entry in feed.entry: print 'title: %s, number of photos: %s' % (entry.title.text, entry.numphotos.text)

title: ZZZZZZZe, CA, number of photos: 83 title: ZZZZZZo, CA, number of photos: 50 title: ZZZZZZo, CA, number of photos: 44 title: ZZZZZZZh, CA, number of photos: 41 title: ZZZZZZZco, number of photos: 64 title: ZZZZZZZz, number of photos: 17

but when i upload the same code and try online i am gettin the following error.

raise GooglePhotosException(e.args[0]) GooglePhotosException: (500L, '', 'Unknown authorization header')