{"action":"created","issue":{"url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/526","repository_url":"https://api.github.com/repos/jazzband/sorl-thumbnail","labels_url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/526/comments","events_url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/526/events","html_url":"https://github.com/jazzband/sorl-thumbnail/issues/526","id":275985732,"number":526,"title":"\"missing file_ argument in get_thumbnail\" error in logs and email","user":{"login":"Flimm","id":355454,"avatar_url":"https://avatars3.githubusercontent.com/u/355454?v=4","gravatar_id":"","url":"https://api.github.com/users/Flimm","html_url":"https://github.com/Flimm","followers_url":"https://api.github.com/users/Flimm/followers","following_url":"https://api.github.com/users/Flimm/following{/other_user}","gists_url":"https://api.github.com/users/Flimm/gists{/gist_id}","starred_url":"https://api.github.com/users/Flimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flimm/subscriptions","organizations_url":"https://api.github.com/users/Flimm/orgs","repos_url":"https://api.github.com/users/Flimm/repos","events_url":"https://api.github.com/users/Flimm/events{/privacy}","received_events_url":"https://api.github.com/users/Flimm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-22T08:45:22Z","updated_at":"2018-04-25T10:59:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have configured my site to send my logged error messages, and I have been getting these error messages ever since upgrading to sorl-thumbnail 12.4.1:\r\n\r\n    missing file_ argument in get_thumbnail()\r\n\r\nHere's the line of code emitting this error:\r\n\r\nhttps://github.com/jazzband/sorl-thumbnail/blob/a99797fe20fbf78993d42d4031e9239401c24a78/sorl/thumbnail/base.py#L83\r\n\r\nI see that I was the one who wrote this line, changing it from an exception to a logged error: 0375ffe9b66e571bfeb7581fb47174f50b47468f\r\n\r\nI did so based on @mariocesar's comment here: https://github.com/jazzband/sorl-thumbnail/pull/493#issuecomment-299302392\r\n\r\n> There is a thing about `raise ValueError('missing file_ argument in get_thumbnail()')` we need to silent that in DEBUG=False probably, but maintain the error. It's a common problem."},"comment":{"url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/comments/384247743","html_url":"https://github.com/jazzband/sorl-thumbnail/issues/526#issuecomment-384247743","issue_url":"https://api.github.com/repos/jazzband/sorl-thumbnail/issues/526","id":384247743,"user":{"login":"odero","id":380686,"avatar_url":"https://avatars3.githubusercontent.com/u/380686?v=4","gravatar_id":"","url":"https://api.github.com/users/odero","html_url":"https://github.com/odero","followers_url":"https://api.github.com/users/odero/followers","following_url":"https://api.github.com/users/odero/following{/other_user}","gists_url":"https://api.github.com/users/odero/gists{/gist_id}","starred_url":"https://api.github.com/users/odero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odero/subscriptions","organizations_url":"https://api.github.com/users/odero/orgs","repos_url":"https://api.github.com/users/odero/repos","events_url":"https://api.github.com/users/odero/events{/privacy}","received_events_url":"https://api.github.com/users/odero/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T10:59:40Z","updated_at":"2018-04-25T10:59:40Z","author_association":"NONE","body":"Any idea on when this will be release on pypi? Still getting the errors"}}
{"actor":{"display_login":"odero"}}