{"action":"created","issue":{"url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6371","repository_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer","labels_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6371/labels{/name}","comments_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6371/comments","events_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6371/events","html_url":"https://github.com/CouchPotato/CouchPotatoServer/issues/6371","id":153589104,"number":6371,"title":"Error in event \"provider.search.nzb.movie\"","user":{"login":"sasha-koss","id":4930994,"avatar_url":"https://avatars.githubusercontent.com/u/4930994?v=3","gravatar_id":"","url":"https://api.github.com/users/sasha-koss","html_url":"https://github.com/sasha-koss","followers_url":"https://api.github.com/users/sasha-koss/followers","following_url":"https://api.github.com/users/sasha-koss/following{/other_user}","gists_url":"https://api.github.com/users/sasha-koss/gists{/gist_id}","starred_url":"https://api.github.com/users/sasha-koss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sasha-koss/subscriptions","organizations_url":"https://api.github.com/users/sasha-koss/orgs","repos_url":"https://api.github.com/users/sasha-koss/repos","events_url":"https://api.github.com/users/sasha-koss/events{/privacy}","received_events_url":"https://api.github.com/users/sasha-koss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-07T11:07:30Z","updated_at":"2016-05-07T11:07:31Z","closed_at":null,"body":"Search over NZB Hydra works fine.\r\nFinds some good scoring results but aborts with the error below.\r\n\r\nExamples from the Log before the error:\r\n05-07 12:58:28 INFO [edia._base.providers.base] Found: score(69) on Newznab, 127.0.0.1: The.Big.Short.2015.1080p.BluRay.x264-Replica\r\n05-07 12:58:28 INFO [edia._base.providers.base] Found: score(69) on Newznab, 127.0.0.1: The.Big.Short.2015.1080p.BluRay.x264-Soebatten\r\n\r\n### Steps to reproduce:\r\n1. Press Search on wanted Movie.\r\n\r\n### Information:\r\nMovie(s) I have this with: The Big Short 2015\r\nQuality of the movie being searched: 1080p\r\nProviders I use: NZB Hydra with 12 Indexer, Sonarr works fine.\r\nVersion of CouchPotato: git:(CouchPotato:CouchPotatoServer master) c4fad95c (2016-02-24 15:05:59)\r\nRunning on: Windows 8.1\r\n\r\n### Logs:\r\n```\r\n05-07 12:58:28 ERROR [   couchpotato.core.event] Error in event \"provider.search.nzb.movie\", that wasn't caught: Traceback (most recent call last):\r\n  File \"D:\\Program Files (x86)\\CP\\CouchPotatoServer\\couchpotato\\core\\event.py\", line 15, in runHandler\r\n    return handler(*args, **kwargs)\r\n  File \"D:\\Program Files (x86)\\CP\\CouchPotatoServer\\couchpotato\\core\\media\\_base\\providers\\nzb\\newznab.py\", line 41, in search\r\n    self._searchOnHost(host, media, quality, results)\r\n  File \"D:\\Program Files (x86)\\CP\\CouchPotatoServer\\couchpotato\\core\\media\\_base\\providers\\nzb\\newznab.py\", line 116, in _searchOnHost\r\n    'size': int(self.getElement(nzb, 'enclosure').attrib['length']) / 1024 / 1024,\r\nValueError: invalid literal for int() with base 10: 'None'\r\nencoding=cp1252 debug=False args=[] app_dir=D:\\Program Files (x86)\\CP\\CouchPotatoServer data_dir=C:\\Users\\x\\AppData\\Roaming\\CouchPotato desktop=None options=Namespace(config_file='C:\\\\Users\\\\x\\\\AppData\\\\Roaming\\\\CouchPotato\\\\settings.conf', console_log=False, daemon=False, data_dir=None, debug=False, pid_file='C:\\\\Users\\\\x\\\\AppData\\\\Roaming\\\\CouchPotato\\\\couchpotato.pid', quiet=False)  \r\n```"},"comment":{"url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/comments/217629267","html_url":"https://github.com/CouchPotato/CouchPotatoServer/issues/6371#issuecomment-217629267","issue_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6371","id":217629267,"user":{"login":"CouchPotatoBot","id":9165143,"avatar_url":"https://avatars.githubusercontent.com/u/9165143?v=3","gravatar_id":"","url":"https://api.github.com/users/CouchPotatoBot","html_url":"https://github.com/CouchPotatoBot","followers_url":"https://api.github.com/users/CouchPotatoBot/followers","following_url":"https://api.github.com/users/CouchPotatoBot/following{/other_user}","gists_url":"https://api.github.com/users/CouchPotatoBot/gists{/gist_id}","starred_url":"https://api.github.com/users/CouchPotatoBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CouchPotatoBot/subscriptions","organizations_url":"https://api.github.com/users/CouchPotatoBot/orgs","repos_url":"https://api.github.com/users/CouchPotatoBot/repos","events_url":"https://api.github.com/users/CouchPotatoBot/events{/privacy}","received_events_url":"https://api.github.com/users/CouchPotatoBot/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T11:07:31Z","updated_at":"2016-05-07T11:07:31Z","body":"Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked\n\n- [x] Fill in all the dots. They're there for a reason\n- [x] Post logs, either inline (for smaller logs) or using [Pastebin](http://pastebin.com/)\n- [x] Please wrap inline logs inside ``` for readability\n- [ ] Enabled debug logging in Settings > Advanced (restart CP, be sure to disable after the bug is fixed)\n- [ ] Post full version information\n\nPlease make sure you also read [contribution guide](https://github.com/RuudBurger/CouchPotatoServer/blob/develop/contributing.md#issues) and followed all the steps. \nMake the title describe your issue. Having \"CP not working\" or \"I get this bug\" for 100 issues, isn't really helpful. My master will close issues if there isn't enough information. On a good day he will tag the issue on close with the reason (like `can't reproduce`), but usually he won't, the lazy asshat.\n\nSometimes my master seems like a grumpy cat and responds with short answers. This isn't (always) because he hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let him know. Maybe he can teach me his awesome ways.\n\nThanks!"}}