David,
I'm receiving the same error and similar results albeit with a
different API. This happens when I try to create a new empty (not
uploaded) spreadsheet. The spreadsheet shows up, but I still get
ApplicationError:5. Until I can find the solution, I've chosen to just
catch the exception and work around it. On my dev engine I receive a
slightly different exception, ApplicationError:2 timeout. This happens
on the request to google. Again, in dev even though I get the error
the spreadsheet is created. The details of the request are listed
below. The request looks to be in line with the API sample code at
http://groups.google.com/group/Google-Docs-Data-APIs/browse_frm/thread/26d983bfda97d1fe
and
http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#UploadingMetadata.
I'll keep looking and will let you know if I find anything out.
Scott
operation str: POST
url Url:
http://docs.google.com/feeds/documents/private/full
headers dict: {'Content-Length': '254', 'Content-Type': 'application/
atom+xml', 'User-Agent': 'None GData-Python/1.2.2'}
data GDataEntry:
<?xml version='1.0' encoding='UTF-8'?>
<ns0:entry xmlns:ns0="
http://www.w3.org/2005/Atom">
<ns0:category scheme="
http://schemas.google.com/g/2005#kind"
term="
http://schemas.google.com/docs/2007#spreadsheet" /
><ns0:title>NoNameSheet</ns0:title>
</ns0:entry>
From the error log:
File "/base/data/home/apps/mamooproject/1.331984609576213456/gdata/
service.py", line 1147, in Post
media_source=media_source, converter=converter)
File "/base/data/home/apps/mamooproject/1.331984609576213456/gdata/
service.py", line 1232, in PostOrPut
headers=extra_headers)
File "/base/data/home/apps/mamooproject/1.331984609576213456/atom/
service.py", line 176, in request
data=data, headers=all_headers)
File "/base/data/home/apps/mamooproject/1.331984609576213456/gdata/
auth.py", line 704, in perform_request
return http_client.request(operation, url, data=data,
headers=headers)
File "/base/data/home/apps/mamooproject/1.331984609576213456/gdata/
alt/appengine.py", line 144, in request
method=method, headers=all_headers, follow_redirects=False))
File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 273, in fetch
raise DownloadError(str(e))
DownloadError: ApplicationError: 5
On Mar 9, 7:03 pm, David Cifuentes <
david.cifuen...@eforcers.com>
wrote:
> Hello,
>
> I'm getting this error when I'm using the GData Provisioning API to
> create user accounts from GAE. The weird thing is that it works well
> on the development environment and even in the production server the
...