I'm Experimenting the same problem. Seems exclusive to tasks via taskqueue 
or running on backend instances. The problem is solved if you use deferred 
instead, buy then you get another problem regarding _local scope request 
variables.  I've been googling for someone else with this issue but can't 
seem to find anything useful.

Cheers

On Tuesday, April 3, 2012 1:32:22 PM UTC-5, Justin LeFebvre wrote:
>
> I'm still seeing this. Has anyone else seen this issue? I would love 
> to get an answer on this. Thanks. 
>
> On Feb 15, 3:10 pm, Justin LeFebvre <[email protected]> wrote: 
> > I'm trying to write a generated csv file line by line to the 
> > blobstore, using the task queue, which will be eventually uploaded to 
> > google docs and recently saw the following error. I am using the 
> > python API. 
> > 
> > File "/base/data/home/apps/cloudlock11/5-2-11.356657273301426337/gapps/ 
> > export.py", line 391, in write_lines 
> >     with files.open(blob_name, 'a') as csv_output: 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 427, in open 
> >     exclusive_lock=exclusive_lock) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 260, in __init__ 
> >     self._open() 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 384, in _open 
> >     self._make_rpc_call_with_retry('Open', request, response) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 388, in _make_rpc_call_with_retry 
> >     _make_call(method, request, response) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 236, in _make_call 
> >     _raise_app_error(e) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 204, in _raise_app_error 
> >     raise Error(str(e)) 
> > Error: ApplicationError: 108 
> > 
> > I have never seen this before and interestingly enough it happened 
> > after already writing 44400 rows to the blob. I was wondering what 
> > this error means. Also, When the task goes to retry, I get this error. 
> > 
> >  File "/base/data/home/apps/cloudlock11/5-2-11.356657273301426337/ 
> > gapps/export.py", line 391, in write_lines 
> >     with files.open(blob_name, 'a') as csv_output: 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 427, in open 
> >     exclusive_lock=exclusive_lock) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 260, in __init__ 
> >     self._open() 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 384, in _open 
> >     self._make_rpc_call_with_retry('Open', request, response) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 388, in _make_rpc_call_with_retry 
> >     _make_call(method, request, response) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 236, in _make_call 
> >     _raise_app_error(e) 
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/ 
> > api/files/file.py", line 203, in _raise_app_error 
> >     raise ExclusiveLockFailedError() 
> > ExclusiveLockFailedError 
> > 
> > Can anyone help me with this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/gUzGTbplmBQJ.
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