{"action":"created","issue":{"url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/424","repository_url":"https://api.github.com/repos/matthewwithanm/django-imagekit","labels_url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/424/comments","events_url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/424/events","html_url":"https://github.com/matthewwithanm/django-imagekit/issues/424","id":235495300,"node_id":"MDU6SXNzdWUyMzU0OTUzMDA=","number":424,"title":"S3 upload error if File doesn't have name","user":{"login":"wtemmerman","id":437078,"node_id":"MDQ6VXNlcjQzNzA3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/437078?v=4","gravatar_id":"","url":"https://api.github.com/users/wtemmerman","html_url":"https://github.com/wtemmerman","followers_url":"https://api.github.com/users/wtemmerman/followers","following_url":"https://api.github.com/users/wtemmerman/following{/other_user}","gists_url":"https://api.github.com/users/wtemmerman/gists{/gist_id}","starred_url":"https://api.github.com/users/wtemmerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtemmerman/subscriptions","organizations_url":"https://api.github.com/users/wtemmerman/orgs","repos_url":"https://api.github.com/users/wtemmerman/repos","events_url":"https://api.github.com/users/wtemmerman/events{/privacy}","received_events_url":"https://api.github.com/users/wtemmerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-13T09:41:45Z","updated_at":"2018-06-14T23:20:59Z","closed_at":null,"author_association":"NONE","body":"I have an error if I tried to upload a file without name, on S3 storage. The error message is not important.\r\n\r\n> S3Storage error at 'profiles/kiss.jpg': An error occurred (XAmzContentSHA256Mismatch) when calling the PutObject operation: The provided 'x-amz-content-sha256' header does not match what was computed.\r\n\r\nAnd when I upload a profile picture for users, I used `ProcessedImageField() `on my field picture.\r\nBut in imagekit/utils.py, the function `generate()` (line 146) create a File object without name. In traceback I can see `<File: None>`\r\n\r\nBut when I update line 153 of `utils.py`\r\nFrom :     `f = File(content)`\r\nTo :    ` f = File(content, name=generator.source.name)`\r\nUpload finish perfectly. \r\n\r\nMaybe I miss something in S3 storage configuration, to accept File without name. I used django-s3-storage, last version, with boto3.\r\nOr do you want me to create a PR ?"},"comment":{"url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/comments/397467130","html_url":"https://github.com/matthewwithanm/django-imagekit/issues/424#issuecomment-397467130","issue_url":"https://api.github.com/repos/matthewwithanm/django-imagekit/issues/424","id":397467130,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQ2NzEzMA==","user":{"login":"apiljic","id":2684894,"node_id":"MDQ6VXNlcjI2ODQ4OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2684894?v=4","gravatar_id":"","url":"https://api.github.com/users/apiljic","html_url":"https://github.com/apiljic","followers_url":"https://api.github.com/users/apiljic/followers","following_url":"https://api.github.com/users/apiljic/following{/other_user}","gists_url":"https://api.github.com/users/apiljic/gists{/gist_id}","starred_url":"https://api.github.com/users/apiljic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiljic/subscriptions","organizations_url":"https://api.github.com/users/apiljic/orgs","repos_url":"https://api.github.com/users/apiljic/repos","events_url":"https://api.github.com/users/apiljic/events{/privacy}","received_events_url":"https://api.github.com/users/apiljic/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T23:20:59Z","updated_at":"2018-06-14T23:20:59Z","author_association":"NONE","body":"@wtemmerman I made a fork with your fix and just tested it. Unfortunately, for me the error is still there."}}
{"actor":{"display_login":"apiljic"}}