{"action":"created","issue":{"url":"https://api.github.com/repos/Flexget/Flexget/issues/1113","repository_url":"https://api.github.com/repos/Flexget/Flexget","labels_url":"https://api.github.com/repos/Flexget/Flexget/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/Flexget/Flexget/issues/1113/comments","events_url":"https://api.github.com/repos/Flexget/Flexget/issues/1113/events","html_url":"https://github.com/Flexget/Flexget/issues/1113","id":151999644,"number":1113,"title":"BUG: Unhandled error in plugin discover: 'ascii' codec can't encode character u'\\u2013'","user":{"login":"programatix","id":3293865,"avatar_url":"https://avatars.githubusercontent.com/u/3293865?v=3","gravatar_id":"","url":"https://api.github.com/users/programatix","html_url":"https://github.com/programatix","followers_url":"https://api.github.com/users/programatix/followers","following_url":"https://api.github.com/users/programatix/following{/other_user}","gists_url":"https://api.github.com/users/programatix/gists{/gist_id}","starred_url":"https://api.github.com/users/programatix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programatix/subscriptions","organizations_url":"https://api.github.com/users/programatix/orgs","repos_url":"https://api.github.com/users/programatix/repos","events_url":"https://api.github.com/users/programatix/events{/privacy}","received_events_url":"https://api.github.com/users/programatix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-30T01:53:15Z","updated_at":"2016-04-30T03:28:34Z","closed_at":null,"body":"Hi,\r\n\r\nJust updated flexget to version 2.0.8 and I'm getting the following error,\r\n```\r\n2016-04-30 02:20 DEBUG    est_series_tvmaze NyaaTorrents    show_name: Soukyuu no Fafner Dead Aggressor – Exodus\r\n2016-04-30 02:20 DEBUG    est_series_tvmaze NyaaTorrents    series_name: Soukyuu no Fafner Dead Aggressor – Exodus\r\n2016-04-30 02:20 DEBUG    api_tvmaze    NyaaTorrents    returning search params for series lookup: {u'tvdb_id': None, u'tvmaze_id': None, u'name': u'Soukyuu no Fafner Dead Aggressor \\u2013 Exodus', u'tvrage_id': None}\r\n2016-04-30 02:20 DEBUG    api_tvmaze    NyaaTorrents    searching db tvmaze_series for the values [(u'tvdb_id', None), (u'tvmaze_id', None), (u'name', u'Soukyuu no Fafner Dead Aggressor \\u2013 Exodus'), (u'tvrage_id', None)]\r\n2016-04-30 02:20 DEBUG    api_tvmaze    NyaaTorrents    did not find exact match for series Soukyuu no Fafner Dead Aggressor – Exodus in cache, looking in search table\r\n2016-04-30 02:20 DEBUG    api_tvmaze    NyaaTorrents    searching lookup table using title Soukyuu no Fafner Dead Aggressor – Exodus\r\n2016-04-30 02:20 CRITICAL task          NyaaTorrents    BUG: Unhandled error in plugin discover: 'ascii' codec can't encode character u'\\u2013' in position 33: ordinal not in range(128)\r\nTraceback (most recent call last):\r\n  File \"/opt/lib/python2.7/site-packages/flexget/task.py\", line 442, in __run_plugin\r\n    return method(*args, **kwargs)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/event.py\", line 23, in __call__\r\n    return self.func(*args, **kwargs)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/input/discover.py\", line 276, in on_task_input\r\n    entries = self.estimated(entries, estimation_mode)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/input/discover.py\", line 192, in estimated\r\n    est_date = estimator.estimate(entry)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/estimators/est_released.py\", line 29, in estimate\r\n    estimate = estimator(entry)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/estimators/est_release_series_tvmaze.py\", line 53, in estimate\r\n    episode = lookup(**kwargs)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/utils/database.py\", line 34, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/api_tvmaze.py\", line 527, in episode_lookup\r\n    series = APITVMaze.series_lookup(session=session, only_cached=only_cached, **lookup_params)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/utils/database.py\", line 31, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/api_tvmaze.py\", line 471, in series_lookup\r\n    prepared_params = prepare_lookup_for_pytvmaze(**lookup_params)\r\n  File \"/opt/lib/python2.7/site-packages/flexget/plugins/api_tvmaze.py\", line 429, in prepare_lookup_for_pytvmaze\r\n    prepared_params['show_name'] = native_str(title) if title else None\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\u2013' in position 33: ordinal not in range(128)\r\n```\r\n\r\nAny help would be greatly appreciated. Thanks."},"comment":{"url":"https://api.github.com/repos/Flexget/Flexget/issues/comments/215929514","html_url":"https://github.com/Flexget/Flexget/issues/1113#issuecomment-215929514","issue_url":"https://api.github.com/repos/Flexget/Flexget/issues/1113","id":215929514,"user":{"login":"programatix","id":3293865,"avatar_url":"https://avatars.githubusercontent.com/u/3293865?v=3","gravatar_id":"","url":"https://api.github.com/users/programatix","html_url":"https://github.com/programatix","followers_url":"https://api.github.com/users/programatix/followers","following_url":"https://api.github.com/users/programatix/following{/other_user}","gists_url":"https://api.github.com/users/programatix/gists{/gist_id}","starred_url":"https://api.github.com/users/programatix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programatix/subscriptions","organizations_url":"https://api.github.com/users/programatix/orgs","repos_url":"https://api.github.com/users/programatix/repos","events_url":"https://api.github.com/users/programatix/events{/privacy}","received_events_url":"https://api.github.com/users/programatix/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T03:28:34Z","updated_at":"2016-04-30T03:28:34Z","body":"Ok, I think flexget is not using the latest config.yml I pointed it to use. In the DEBUG, it did state that it detected new config.yml but when discovering, it still uses old list. What I did was to comment out the problematic title and the error still exists."}}