{"action":"opened","issue":{"url":"https://api.github.com/repos/digitallyApocalyptic/ImageVersus/issues/19","repository_url":"https://api.github.com/repos/digitallyApocalyptic/ImageVersus","labels_url":"https://api.github.com/repos/digitallyApocalyptic/ImageVersus/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/digitallyApocalyptic/ImageVersus/issues/19/comments","events_url":"https://api.github.com/repos/digitallyApocalyptic/ImageVersus/issues/19/events","html_url":"https://github.com/digitallyApocalyptic/ImageVersus/issues/19","id":175347505,"number":19,"title":"ImageVersus will not handle empty libraries well","user":{"login":"digitallyApocalyptic","id":21273522,"avatar_url":"https://avatars.githubusercontent.com/u/21273522?v=3","gravatar_id":"","url":"https://api.github.com/users/digitallyApocalyptic","html_url":"https://github.com/digitallyApocalyptic","followers_url":"https://api.github.com/users/digitallyApocalyptic/followers","following_url":"https://api.github.com/users/digitallyApocalyptic/following{/other_user}","gists_url":"https://api.github.com/users/digitallyApocalyptic/gists{/gist_id}","starred_url":"https://api.github.com/users/digitallyApocalyptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitallyApocalyptic/subscriptions","organizations_url":"https://api.github.com/users/digitallyApocalyptic/orgs","repos_url":"https://api.github.com/users/digitallyApocalyptic/repos","events_url":"https://api.github.com/users/digitallyApocalyptic/events{/privacy}","received_events_url":"https://api.github.com/users/digitallyApocalyptic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-06T20:45:53Z","updated_at":"2016-09-06T20:45:53Z","closed_at":null,"body":"There is no check in any of the matchmaking algorithms to make sure that the length of the dict it's working with is nonzero. Shouldn't be an issue unless the user decides to move all of their previously rated images somewhere else and keeps their DB in the same location, which would cause all of the files in the DB to no longer be present. This would mean that the algorithm would go through the DB and remove all of the files as it tries to find a match, then eventually throw an error as it's found out that the length of the dict is zero and there's no items to look at. Not sure whether this would quit out of the application or just cause it to enter an infinite loop and make it so that the user can't really exit. Warrants investigation."}}
{"actor":{"display_login":"digitallyApocalyptic"}}