{"action":"closed","issue":{"url":"https://api.github.com/repos/gingerlime/smugline/issues/14","repository_url":"https://api.github.com/repos/gingerlime/smugline","labels_url":"https://api.github.com/repos/gingerlime/smugline/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/gingerlime/smugline/issues/14/comments","events_url":"https://api.github.com/repos/gingerlime/smugline/issues/14/events","html_url":"https://github.com/gingerlime/smugline/issues/14","id":96254217,"node_id":"MDU6SXNzdWU5NjI1NDIxNw==","number":14,"title":"KeyError: MD5Sum","user":{"login":"trond7","id":6748232,"node_id":"MDQ6VXNlcjY3NDgyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/6748232?v=4","gravatar_id":"","url":"https://api.github.com/users/trond7","html_url":"https://github.com/trond7","followers_url":"https://api.github.com/users/trond7/followers","following_url":"https://api.github.com/users/trond7/following{/other_user}","gists_url":"https://api.github.com/users/trond7/gists{/gist_id}","starred_url":"https://api.github.com/users/trond7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trond7/subscriptions","organizations_url":"https://api.github.com/users/trond7/orgs","repos_url":"https://api.github.com/users/trond7/repos","events_url":"https://api.github.com/users/trond7/events{/privacy}","received_events_url":"https://api.github.com/users/trond7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-07-21T08:02:08Z","updated_at":"2018-06-17T15:28:24Z","closed_at":"2018-06-17T15:28:24Z","author_association":"NONE","body":"I have been using you script to upload around 2000 images spread over multiple folders.\nFor most folders it works fine but for a few I got an error after uploading some of the images.\nWhen I try to run the script again for these folders I alway get the same error.\nWhen I run the same command again the script does not give any skipping image messages for the images it had managed to upload. It throws the error instantly.\n\n**Complete Error message:**\n\nTraceback (most recent call last):\n  File \"/home/thh/bin/smugline/smugline.py\", line 303, in <module>\n    file_filter)\n  File \"/home/thh/bin/smugline/smugline.py\", line 137, in upload_folder\n    self._upload(images, album_name, album)\n  File \"/home/thh/bin/smugline/smugline.py\", line 148, in _upload\n    images = self._remove_duplicates(images, album)\n  File \"/home/thh/bin/smugline/smugline.py\", line 202, in _remove_duplicates\n    md5_sums = self._get_md5_hashes_for_album(album)\n  File \"/home/thh/bin/smugline/smugline.py\", line 168, in _get_md5_hashes_for_album\n    md5_sums = [x['MD5Sum'] for x in remote_images['Album']['Images']]\nKeyError: 'MD5Sum'\n\n**My environment:**\n- Ubuntu 12.04 LTS \n- Python 2.7.3\n- smugline = Already up-to-date\n\n**More comments:**\nIt does not stop on strange filenames\n--> All image filenames have the same  structure like  “DSC_0626.JPG”\nIt is not any strange folder names\n-->  It does upload some of the images\nI happens only sometime\n--> 5 out of approximately 120 folders has this error\nAll images in the folder has the same ownership and permission\n--> Owner is me (permission rwx,rwx,rwx)\n"}}
{"actor":{"display_login":"gingerlime"}}