{"action":"closed","issue":{"url":"https://api.github.com/repos/mapillary/mapillary_tools/issues/112","repository_url":"https://api.github.com/repos/mapillary/mapillary_tools","labels_url":"https://api.github.com/repos/mapillary/mapillary_tools/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/mapillary/mapillary_tools/issues/112/comments","events_url":"https://api.github.com/repos/mapillary/mapillary_tools/issues/112/events","html_url":"https://github.com/mapillary/mapillary_tools/issues/112","id":141784796,"number":112,"title":"Not Enough Data from Remove Duplicates","user":{"login":"JulieMay","id":1037221,"avatar_url":"https://avatars.githubusercontent.com/u/1037221?v=3","gravatar_id":"","url":"https://api.github.com/users/JulieMay","html_url":"https://github.com/JulieMay","followers_url":"https://api.github.com/users/JulieMay/followers","following_url":"https://api.github.com/users/JulieMay/following{/other_user}","gists_url":"https://api.github.com/users/JulieMay/gists{/gist_id}","starred_url":"https://api.github.com/users/JulieMay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulieMay/subscriptions","organizations_url":"https://api.github.com/users/JulieMay/orgs","repos_url":"https://api.github.com/users/JulieMay/repos","events_url":"https://api.github.com/users/JulieMay/events{/privacy}","received_events_url":"https://api.github.com/users/JulieMay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ybkuang","id":5370656,"avatar_url":"https://avatars.githubusercontent.com/u/5370656?v=3","gravatar_id":"","url":"https://api.github.com/users/ybkuang","html_url":"https://github.com/ybkuang","followers_url":"https://api.github.com/users/ybkuang/followers","following_url":"https://api.github.com/users/ybkuang/following{/other_user}","gists_url":"https://api.github.com/users/ybkuang/gists{/gist_id}","starred_url":"https://api.github.com/users/ybkuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybkuang/subscriptions","organizations_url":"https://api.github.com/users/ybkuang/orgs","repos_url":"https://api.github.com/users/ybkuang/repos","events_url":"https://api.github.com/users/ybkuang/events{/privacy}","received_events_url":"https://api.github.com/users/ybkuang/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-18T06:13:42Z","updated_at":"2016-03-18T06:21:34Z","closed_at":"2016-03-18T06:21:33Z","body":"The image source was the Mapillary for Android App. \r\n\r\nI wanted to clean up the tour, adjust the brightness and saturation a bit, and upload the images.\r\n\r\nWhen I tried the remove duplicates command this is the traceback. I have both PIL and pillow installed as an earlier error indicated PIL was being called instead of pillow.\r\n\r\nThe Readme for dependencies doesn't even mention pillow, by the way.\r\n\r\n\r\nc:\\wamp\\www\\mapillary_tools\\mapillary_tools\\python>python remove_duplicates.py -\r\nd 2 C:\\Users\\Julie\\Pictures\\2016-Mapillary-Banff\\2016_03_17_15_11_23_659___Mapil\r\nlary C:\\Users\\Julie\\Pictures\\2016-Mapillary-Banff\\Temp_Duplicates\r\nTraceback (most recent call last):\r\n  File \"remove_duplicates.py\", line 417, in <module>\r\n    image_remover.do_magic()\r\n  File \"remove_duplicates.py\", line 262, in do_magic\r\n    capturetime, files = self._sort_file_list(files)\r\n  File \"remove_duplicates.py\", line 251, in _sort_file_list\r\n    capture_times = [self._read_capture_time(filepath) for filepath in file_list\r\n]\r\n  File \"remove_duplicates.py\", line 244, in _read_capture_time\r\n    reader = PILExifReader(filepath)\r\n  File \"c:\\wamp\\www\\mapillary_tools\\mapillary_tools\\python\\lib\\exif_pil.py\", lin\r\ne 23, in __init__\r\n    self._exif = self.get_exif_data(image)\r\n  File \"c:\\wamp\\www\\mapillary_tools\\mapillary_tools\\python\\lib\\exif_pil.py\", lin\r\ne 31, in get_exif_data\r\n    info = image._getexif()\r\n  File \"C:\\users\\julie\\appdata\\local\\enthought\\canopy\\user\\lib\\site-packages\\PIL\r\n\\JpegImagePlugin.py\", line 381, in _getexif\r\n    info.load(file)\r\n  File \"C:\\users\\julie\\appdata\\local\\enthought\\canopy\\user\\lib\\site-packages\\PIL\r\n\\TiffImagePlugin.py\", line 382, in load\r\n    raise IOError, \"not enough data\"\r\nIOError: not enough data\r\n\r\nc:\\wamp\\www\\mapillary_tools\\mapillary_tools\\python>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}