{"action":"created","issue":{"url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6081","repository_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer","labels_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6081/labels{/name}","comments_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6081/comments","events_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6081/events","html_url":"https://github.com/CouchPotato/CouchPotatoServer/issues/6081","id":133481470,"number":6081,"title":"[ERROR] Quality.Single and Movie.Searcher.Single when adding new movie... ","user":{"login":"bmcclure937","id":382845,"avatar_url":"https://avatars.githubusercontent.com/u/382845?v=3","gravatar_id":"","url":"https://api.github.com/users/bmcclure937","html_url":"https://github.com/bmcclure937","followers_url":"https://api.github.com/users/bmcclure937/followers","following_url":"https://api.github.com/users/bmcclure937/following{/other_user}","gists_url":"https://api.github.com/users/bmcclure937/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcclure937/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcclure937/subscriptions","organizations_url":"https://api.github.com/users/bmcclure937/orgs","repos_url":"https://api.github.com/users/bmcclure937/repos","events_url":"https://api.github.com/users/bmcclure937/events{/privacy}","received_events_url":"https://api.github.com/users/bmcclure937/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2016-02-13T22:59:22Z","updated_at":"2016-06-05T14:43:46Z","closed_at":null,"body":"### Steps to reproduce:\r\n1. Add Movie with any quality profile selected. I removed a number of default profiles and only use BEST or HD. I can provide more information on how these are configured, if necessary.\r\n2. Check log to see these 2 items in the ERROR log.\r\n\r\n### Information:\r\nMovie(s) I have this with: all\r\nQuality of the movie being searched: BEST or HD (quality profiles, customized to end on 1080p movie quality)\r\nProviders I use: N/A\r\nVersion of CouchPotato: source:(CouchPotato:CouchPotatoServer master) f94a8a9b (2016-02-12 10:25:11)\r\nRunning on: FreeNAS 9.3\r\n\r\n### Logs:\r\n```\r\n02-13 17:48:58 ERROR [   couchpotato.core.event] Error in event \"quality.single\", that wasn't caught: Traceback (most recent call last):\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/event.py\", line 15, in runHandler\r\n    return handler(*args, **kwargs)\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/plugins/quality/main.py\", line 117, in single\r\n    quality = db.get('quality', identifier, with_doc = True)['doc']\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database_super_thread_safe.py\", line 43, in _inner\r\n    res = f(*args, **kwargs)\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py\", line 944, in get\r\n    raise RecordNotFound(\"Not found\")\r\nRecordNotFound: Not found\r\nencoding=UTF-8 debug=False args=['--data_dir', '/var/db/couchpotato', '--pid_file', '/var/run/couchpotato/couchpotato.pid', '--daemon'] app_dir=/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer data_dir=/var/db/couchpotato desktop=None options=Namespace(config_file='/var/db/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/db/couchpotato', debug=False, pid_file='/var/run/couchpotato/couchpotato.pid', quiet=False)  \r\n02-13 17:48:58 ERROR [   couchpotato.core.event] Error in event \"movie.searcher.single\", that wasn't caught: Traceback (most recent call last):\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/event.py\", line 15, in runHandler\r\n    return handler(*args, **kwargs)\r\n  File \"/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/searcher.py\", line 200, in single\r\n    log.info('Search for %s in %s%s', (default_title, quality['label'], ' ignoring ETA' if always_search or ignore_eta else ''))\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\nencoding=UTF-8 debug=False args=['--data_dir', '/var/db/couchpotato', '--pid_file', '/var/run/couchpotato/couchpotato.pid', '--daemon'] app_dir=/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer data_dir=/var/db/couchpotato desktop=None options=Namespace(config_file='/var/db/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/db/couchpotato', debug=False, pid_file='/var/run/couchpotato/couchpotato.pid', quiet=False)  \r\n```"},"comment":{"url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/comments/223816923","html_url":"https://github.com/CouchPotato/CouchPotatoServer/issues/6081#issuecomment-223816923","issue_url":"https://api.github.com/repos/CouchPotato/CouchPotatoServer/issues/6081","id":223816923,"user":{"login":"maxcore","id":4043787,"avatar_url":"https://avatars.githubusercontent.com/u/4043787?v=3","gravatar_id":"","url":"https://api.github.com/users/maxcore","html_url":"https://github.com/maxcore","followers_url":"https://api.github.com/users/maxcore/followers","following_url":"https://api.github.com/users/maxcore/following{/other_user}","gists_url":"https://api.github.com/users/maxcore/gists{/gist_id}","starred_url":"https://api.github.com/users/maxcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxcore/subscriptions","organizations_url":"https://api.github.com/users/maxcore/orgs","repos_url":"https://api.github.com/users/maxcore/repos","events_url":"https://api.github.com/users/maxcore/events{/privacy}","received_events_url":"https://api.github.com/users/maxcore/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T14:43:46Z","updated_at":"2016-06-05T14:43:46Z","body":"@RuudBurger you can help hoss .. pls"}}
{"actor":{"display_login":"maxcore"}}