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 post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to