python - Google Cloud Storage - PUT Fails on Development Server -
on dev server, google cloud storage fails save files during put
command.
this same command works fine on production. response headers (see below) have little debug information. have plenty of space on hard-drive, , have been running dev server administrator, should have necessary permissions.
any ideas?
below relevant traceback (i changed bucket name):
info 2015-08-07 14:14:41,415 module.py:809] default: "put /_ah/gcs/bucket/ipr2013-00219%2c%20no.%2016%20institution%20decision%20-%20decis_2015-08-07%2018-14-25.100000.pdf?upload_id=encoded_gs_file%3azg9ja2v0ywxhcm0tzgv2l0lqujiwmtmtmdaymtksie5vliaxnibjbnn0axr1dglvbibezwnpc2lvbiatierly2lzxziwmtutmdgtmdcgmtgtmtqtmjuumtawmdawlnbkzg%3d%3d http/1.1" 500 - traceback (most recent call last): file "project\libs\cloudstorage\storage_api.py", line 794, in __exit__ self.close() file "project\libs\cloudstorage\storage_api.py", line 787, in close self._flush(finish=true) file "project\libs\cloudstorage\storage_api.py", line 841, in _flush self._send_data(data, self._written, file_len) file "project\libs\cloudstorage\storage_api.py", line 874, in _send_data {'upload_path': self._path_with_token}) file "project\libs\cloudstorage\errors.py", line 141, in check_status raise servererror(msg) servererror: expect status [200] google storage. got status 500. path: '/bucket/ipr2013-00219%2c%20no.%2016%20institution%20decision%20-%20decis_2015-08-07%2018-14-25.100000.pdf'. request headers: {'accept-encoding': 'gzip, *', 'content-range': 'bytes 0-195060/195061', 'x-goog-api-version': '2'}. response headers: {'date': 'fri, 07 aug 2015 18:14:41 gmt', 'transfer-encoding': 'chunked', 'server': 'development/2.0'}. body: ''. info: {'upload_path': '/bucket/ipr2013-00219%2c%20no.%2016%20institution%20decision%20-%20decis_2015-08-07%2018-14-25.100000.pdf?upload_id=encoded_gs_file%3azg9ja2v0ywxhcm0tzgv2l0lqujiw mtmtmdaymtksie5vliaxnibjbnn0axr1dglvbibezwnpc2lvbiatierly2lzxziwmtutmdgtmdcgmtgtmtqtmjuumtawmdawlnbkzg%3d%3d'}.
Comments
Post a Comment