{"action":"closed","issue":{"url":"https://api.github.com/repos/Flexget/Flexget/issues/1546","repository_url":"https://api.github.com/repos/Flexget/Flexget","labels_url":"https://api.github.com/repos/Flexget/Flexget/issues/1546/labels{/name}","comments_url":"https://api.github.com/repos/Flexget/Flexget/issues/1546/comments","events_url":"https://api.github.com/repos/Flexget/Flexget/issues/1546/events","html_url":"https://github.com/Flexget/Flexget/issues/1546","id":194784956,"number":1546,"title":"BUG: Unhandled error in plugin rtorrent: 'NoneType' object has no attribute 'name'","user":{"login":"CryogenicPilot","id":17101272,"avatar_url":"https://avatars.githubusercontent.com/u/17101272?v=3","gravatar_id":"","url":"https://api.github.com/users/CryogenicPilot","html_url":"https://github.com/CryogenicPilot","followers_url":"https://api.github.com/users/CryogenicPilot/followers","following_url":"https://api.github.com/users/CryogenicPilot/following{/other_user}","gists_url":"https://api.github.com/users/CryogenicPilot/gists{/gist_id}","starred_url":"https://api.github.com/users/CryogenicPilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryogenicPilot/subscriptions","organizations_url":"https://api.github.com/users/CryogenicPilot/orgs","repos_url":"https://api.github.com/users/CryogenicPilot/repos","events_url":"https://api.github.com/users/CryogenicPilot/events{/privacy}","received_events_url":"https://api.github.com/users/CryogenicPilot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-10T18:26:05Z","updated_at":"2016-12-10T18:29:40Z","closed_at":"2016-12-10T18:29:40Z","body":"### Expected behaviour:\r\nadd torrent to torrent remote host with data path\r\n### Actual behaviour:\r\nunhandled exception\r\n### Steps to reproduce:\r\n- Step 1: flexget execute\r\n\r\n#### Config:\r\n```\r\nrtorrent:\r\n      uri: http://xxxxxxxx\r\n      username: xxxxxxxx\r\n      password: xxxxxxxxx\r\n      path: /files/{{ series_name }}/Season {{series_season}}/\r\n      custom1: TV\r\n```\r\n  \r\n#### Log:\r\n```\r\n2016-12-10 19:00 CRITICAL task          search          BUG: Unhandled error in plugin rtorrent: 'NoneType' object has no attribute 'name'\r\n2016-12-10 19:00 CRITICAL manager       search          An unexpected crash has occurred. Writing crash report to /home/alby/.flexget/crash_report.2016.12.10.190020880324.log. Please verify you are running the latest version of flexget by using \"flexget -V\" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.7.1\r\n2016-12-10 19:00 DEBUG    manager       search          Traceback:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/task.py\", line 483, in __run_plugin\r\n    return method(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/event.py\", line 23, in __call__\r\n    return self.func(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/rtorrent.py\", line 525, in on_task_output\r\n    options = self._build_options(config, entry)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/rtorrent.py\", line 431, in _build_options\r\n    options[opt_key] = entry.render(config_value)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/entry.py\", line 294, in render\r\n    return render_from_entry(template, self)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flexget/utils/template.py\", line 212, in render_from_entry\r\n    variables['task_name'] = variables.get('task', entry.task.name)\r\nAttributeError: 'NoneType' object has no attribute 'name'\r\n2016-12-10 19:00 WARNING  task          search          Aborting task (plugin: rtorrent)\r\n```\r\n\r\n### Additional information:\r\n\r\n- Flexget Version: 2.8.1\r\n- Python Version: 2.7.11\r\n- Installation method: pip\r\n- OS and version: Ubuntu 14.04.4 LTS\r\n- Link to crash log:"}}
{"actor":{"display_login":"cvium"}}