On my Google Cloud Storage dev server, files cannot be saved during the PUT command.
The same team works great in production. The response headers (see below) have some debugging information. I have a lot of hard disk space and I am running the dev server as an administrator, so it must have all the necessary permissions.
Any ideas?
Below is the corresponding Traceback (I changed the name of the bucket):
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] from Google Storage. But 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: ''. Extra 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'}. 3D% 3D HTTP / 1.1 " 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] from Google Storage. But 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: ''. Extra 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'}.