{"action":"created","issue":{"url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1384","repository_url":"https://api.github.com/repos/DobyTang/LazyLibrarian","labels_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1384/labels{/name}","comments_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1384/comments","events_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1384/events","html_url":"https://github.com/DobyTang/LazyLibrarian/issues/1384","id":321227834,"number":1384,"title":"Import failed but not sure why","user":{"login":"dkids","id":30055574,"avatar_url":"https://avatars0.githubusercontent.com/u/30055574?v=4","gravatar_id":"","url":"https://api.github.com/users/dkids","html_url":"https://github.com/dkids","followers_url":"https://api.github.com/users/dkids/followers","following_url":"https://api.github.com/users/dkids/following{/other_user}","gists_url":"https://api.github.com/users/dkids/gists{/gist_id}","starred_url":"https://api.github.com/users/dkids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkids/subscriptions","organizations_url":"https://api.github.com/users/dkids/orgs","repos_url":"https://api.github.com/users/dkids/repos","events_url":"https://api.github.com/users/dkids/events{/privacy}","received_events_url":"https://api.github.com/users/dkids/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-08T15:09:01Z","updated_at":"2018-05-09T08:19:27Z","closed_at":null,"author_association":"NONE","body":"I've replaced the username and password.   Import does seem to work almost all of the time.  If this is just a temporary problem it would be nice if it re-tried X times.  \r\n[hunted.txt](https://github.com/DobyTang/LazyLibrarian/files/1984496/hunted.txt)\r\n\r\n[moth.txt](https://github.com/DobyTang/LazyLibrarian/files/1984470/moth.txt)\r\n\r\nBoth books are in Calibre.   \r\n"},"comment":{"url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/comments/387660795","html_url":"https://github.com/DobyTang/LazyLibrarian/issues/1384#issuecomment-387660795","issue_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1384","id":387660795,"user":{"login":"philborman","id":12158777,"avatar_url":"https://avatars0.githubusercontent.com/u/12158777?v=4","gravatar_id":"","url":"https://api.github.com/users/philborman","html_url":"https://github.com/philborman","followers_url":"https://api.github.com/users/philborman/followers","following_url":"https://api.github.com/users/philborman/following{/other_user}","gists_url":"https://api.github.com/users/philborman/gists{/gist_id}","starred_url":"https://api.github.com/users/philborman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philborman/subscriptions","organizations_url":"https://api.github.com/users/philborman/orgs","repos_url":"https://api.github.com/users/philborman/repos","events_url":"https://api.github.com/users/philborman/events{/privacy}","received_events_url":"https://api.github.com/users/philborman/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T08:19:27Z","updated_at":"2018-05-09T08:19:27Z","author_association":"COLLABORATOR","body":"Ok, I think I see what's going on here. Earth's and Water's containing apostrophes are being compared to the words without the apostrophe Earths Waters  and that's pulling down the fuzzy match percentage .\r\n\r\nfuzz.token_sort_ratio(\"Waters Wrath\", \"Water's Wrath\") = 88  which is below the threshold. \r\n\r\nWe need to strip the apostrophes before comparison so we get the right match.  Can you run the same import with debug level set to 3, lazylibrarian will print each book it compares against and the percentage match. Should confirm if that's the problem. If it is, should be fairly simple to fix."}}
{"actor":{"display_login":"philborman"}}