-
-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using file.write() fails on S3 when files are missing #607
Comments
Related, #350 |
No activity on this since more than a year. This started to happen for me suddenly and i am wondering what really changed for this to fail. I am still wondering if it is really a django-storages issue? |
I'm experiencing the issue as well. Any workarounds? |
Seems that |
I had this problem also, my work around was to add a save_overwrite method
|
Okay will fix, the issue here is that the gzip downloading path should only be called on files opened in read mode, not write. |
This works:
This fails:
The
S3Boto3StorageFile.write()
method tries to detect the file size (self.file.tell()
) which raises an exception when the file doesn't exist yet.The text was updated successfully, but these errors were encountered: