That means it was retrieved without authentication. If your password was incorrect it should be raising a BadAuthentication exception. I'm not sure what's going on here.
Cheers, -Jeff On Wed, Mar 4, 2009 at 6:07 PM, rocksun <dai...@gmail.com> wrote: > > Thank you. > > I want to know if it is because I use an wrong account. > > In gd_client.GetUserFeed(user='default') , if I changed the > user to the gd_client.email and it will not report 404. But I could > not > change the album information. > > On Mar 5, 5:26 am, Jeff Fisher <api.jfis...@google.com> wrote: > > This works fine for me. (Just tried it in the python interpreter, > although I > > only imported gdata.photos.service, which shouldn't affect anything.) > > > > Cheers, > > -Jeff > > > > On Mon, Mar 2, 2009 at 11:15 PM, rocksun <dai...@gmail.com> wrote: > > > > > When I want to get the private albums, I get errors below. > > > > > gdata.photos.service.GooglePhotosException: (404, 'Not Found', 'No > > > such user.') > > > > > The gd_client.ProgrammaticLogin() looks successful, but the gd_client > > > looks could not use the authenticated information. > > > > > If I use the same name as gd_client.email, I can get the public albums > > > but the private albums. > > > > > The code is below: > > > > > import gdata.media > > > import gdata.geo > > > import gdata.photos.service > > > import sys > > > import codecs > > > > > targetUser = 'default' > > > gd_client = gdata.photos.service.PhotosService() > > > gd_client.email = 'pho...@nianzuo.com' > > > gd_client.password = 'mypasswd' > > > gd_client.source = 'list-nianzuo-com-1.0' > > > gd_client.ProgrammaticLogin() > > > > > albums = gd_client.GetUserFeed(user='default') > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to Google-Picasa-Data-API@googlegroups.com To unsubscribe from this group, send email to google-picasa-data-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---