{"action":"created","issue":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/584","repository_url":"https://api.github.com/repos/michael-lazar/rtv","labels_url":"https://api.github.com/repos/michael-lazar/rtv/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/michael-lazar/rtv/issues/584/comments","events_url":"https://api.github.com/repos/michael-lazar/rtv/issues/584/events","html_url":"https://github.com/michael-lazar/rtv/issues/584","id":348713577,"node_id":"MDU6SXNzdWUzNDg3MTM1Nzc=","number":584,"title":"Login with custom $RTV_BROWSER","user":{"login":"sprnza","id":1968839,"node_id":"MDQ6VXNlcjE5Njg4Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1968839?v=4","gravatar_id":"","url":"https://api.github.com/users/sprnza","html_url":"https://github.com/sprnza","followers_url":"https://api.github.com/users/sprnza/followers","following_url":"https://api.github.com/users/sprnza/following{/other_user}","gists_url":"https://api.github.com/users/sprnza/gists{/gist_id}","starred_url":"https://api.github.com/users/sprnza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprnza/subscriptions","organizations_url":"https://api.github.com/users/sprnza/orgs","repos_url":"https://api.github.com/users/sprnza/repos","events_url":"https://api.github.com/users/sprnza/events{/privacy}","received_events_url":"https://api.github.com/users/sprnza/received_events","type":"User","site_admin":false},"labels":[{"id":174906092,"node_id":"MDU6TGFiZWwxNzQ5MDYwOTI=","url":"https://api.github.com/repos/michael-lazar/rtv/labels/bug","name":"bug","color":"d93f0b","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-08T12:55:39Z","updated_at":"2018-08-08T17:17:23Z","closed_at":null,"author_association":"NONE","body":"Hi there!\r\nI'd like to use rtv on my headless server. So I set $RTV_BROWSER and $BROWSER to `w3m` and with those set I can't launch rtv. It returns this error:\r\n\r\n```\r\nsrvr ➜  ~ rtv\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/rtv\", line 11, in <module>\r\n    load_entry_point('rtv==1.23.0', 'console_scripts', 'rtv')()\r\n  File \"/usr/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 476, in\r\nload_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/usr/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 2700, in load_entry_point\r\n    return ep.load()\r\n  File \"/usr/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 2318, in load\r\n    return self.resolve()\r\n  File \"/usr/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 2324, in resolve\r\n    module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n  File \"/usr/lib/python3.7/site-packages/rtv/__main__.py\", line 254, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/lib/python3.7/site-packages/rtv/__main__.py\", line 168, in main\r\n    patch_webbrowser()\r\n  File \"/usr/lib/python3.7/site-packages/rtv/objects.py\", line 37, in patch_webbrowser\r\n    webbrowser.register('surf', None, webbrowser.BackgroundBrowser('surf'))\r\n  File \"/usr/lib/python3.7/webbrowser.py\", line 26, in register\r\n    register_standard_browsers()\r\n  File \"/usr/lib/python3.7/webbrowser.py\", line 567, in register_standard_browsers\r\n    cmd = _synthesize(cmdline, -1)\r\n  File \"/usr/lib/python3.7/webbrowser.py\", line 116, in _synthesize\r\n    register(browser, None, controller, update_tryorder)\r\nTypeError: register() takes from 2 to 3 positional arguments but 4 were given\r\n```"},"comment":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/comments/411483793","html_url":"https://github.com/michael-lazar/rtv/issues/584#issuecomment-411483793","issue_url":"https://api.github.com/repos/michael-lazar/rtv/issues/584","id":411483793,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTQ4Mzc5Mw==","user":{"login":"michael-lazar","id":5026795,"node_id":"MDQ6VXNlcjUwMjY3OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5026795?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-lazar","html_url":"https://github.com/michael-lazar","followers_url":"https://api.github.com/users/michael-lazar/followers","following_url":"https://api.github.com/users/michael-lazar/following{/other_user}","gists_url":"https://api.github.com/users/michael-lazar/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-lazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-lazar/subscriptions","organizations_url":"https://api.github.com/users/michael-lazar/orgs","repos_url":"https://api.github.com/users/michael-lazar/repos","events_url":"https://api.github.com/users/michael-lazar/events{/privacy}","received_events_url":"https://api.github.com/users/michael-lazar/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T17:17:23Z","updated_at":"2018-08-08T17:17:23Z","author_association":"OWNER","body":"Thanks for the report, this is a new bug in python 3.7 (the method signature was changed). I still need to run through the test suite in 3.7 to sift out changes like these."}}
{"actor":{"display_login":"michael-lazar"}}