2009/3/6 Jeff Fisher <[email protected]>

> 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.
>


I think the authentication worked well. If I input the wrong password, it
will raise BadAuthentication exception.
I wonder if because the account I use is not the gmail user.

Could I give you my account to test it?



>
> Cheers,
> -Jeff
>
>
> On Wed, Mar 4, 2009 at 6:07 PM, rocksun <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 = '[email protected]'
>> > > gd_client.password = 'mypasswd'
>> > > gd_client.source = 'list-nianzuo-com-1.0'
>> > > gd_client.ProgrammaticLogin()
>> >
>> > > albums = gd_client.GetUserFeed(user='default')
>>
>>
>
> >
>


-- 
My Blog: http://rocksun.cn/
My Site: http://www.subversion.org.cn

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to