Hi Gwyn,
  You're including the libraries manually... so you could add some
strategically placed logging calls.  Perhaps you use a pre/post call
hook to do this without messing around in the gdata libs too.

  I don't currently have anything that is updating profiles, but I can
tell you that in the past I have found bugs / inconsistencies in the
gdata libraries.  I would suggest that you find a way to get the
details of the request and make sure it matches what he protocol
guides say.  Also, to add some more joy, the gdata protocol guides
aren't without errors / important omissions either, but they are
usually much better than the other client guides.  I usually look at
two or three guides (protocol + some client guides) for the same
'service' to figure out what has the best chances of working.


  Good luck.

Robert




On Fri, Apr 15, 2011 at 17:37, Gwyn Howell <[email protected]> wrote:
> Good point about gdata - but i have just updated to the latest version
> (2.0.14) and still get the error. there isn't really any logging that
> i can do as the error happens from within the gdata libraries. having
> looked at that code, it seems that the error is actually being thrown
> from google when the request to update the profile is made.
>
> On Apr 15, 2:38 am, Robert Kluin <[email protected]> wrote:
>> That might be an error on the other end of things.  You might check
>> for updated gdata libs and/or try to get a bit more debugging info
>> into the logs.
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Apr 14, 2011 at 18:09, Gwyn Howell <[email protected]> wrote:
>> > just wrote a simple test script which also throws the error:
>> > class Test(webapp.RequestHandler):
>> >     def get(self):
>> >         client = gdata.contacts.client.ContactsClient(DOMAIN)
>> >         client.client_login(USERNAME, PASSWORD, 'appogee testing')
>> >         uri = client.GetFeedUri(kind='profiles', projection='full/%s' %
>> > USERNAME)
>> >         # load the profile here ...
>> >         profile = client.Get(uri,
>> > desired_class=gdata.contacts.data.ProfileEntry)
>> >         # then immediately save it again ....
>> >         client.update(profile)        # this line throws the Internal 
>> > Server
>> > Error
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" 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-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" 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-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to