{"action":"created","issue":{"url":"https://api.github.com/repos/streamlink/streamlink/issues/2025","repository_url":"https://api.github.com/repos/streamlink/streamlink","labels_url":"https://api.github.com/repos/streamlink/streamlink/issues/2025/labels{/name}","comments_url":"https://api.github.com/repos/streamlink/streamlink/issues/2025/comments","events_url":"https://api.github.com/repos/streamlink/streamlink/issues/2025/events","html_url":"https://github.com/streamlink/streamlink/issues/2025","id":353390465,"node_id":"MDU6SXNzdWUzNTMzOTA0NjU=","number":2025,"title":"Module has no attribute 'F_OK'","user":{"login":"lucavb","id":5306815,"node_id":"MDQ6VXNlcjUzMDY4MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/5306815?v=4","gravatar_id":"","url":"https://api.github.com/users/lucavb","html_url":"https://github.com/lucavb","followers_url":"https://api.github.com/users/lucavb/followers","following_url":"https://api.github.com/users/lucavb/following{/other_user}","gists_url":"https://api.github.com/users/lucavb/gists{/gist_id}","starred_url":"https://api.github.com/users/lucavb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucavb/subscriptions","organizations_url":"https://api.github.com/users/lucavb/orgs","repos_url":"https://api.github.com/users/lucavb/repos","events_url":"https://api.github.com/users/lucavb/events{/privacy}","received_events_url":"https://api.github.com/users/lucavb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-23T13:50:57Z","updated_at":"2018-08-23T18:35:23Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThanks for reporting a bug!\r\nUSE THE TEMPLATE. Otherwise your bug report may be rejected.\r\n\r\nFirst, see the contribution guidelines:\r\nhttps://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#contributing-to-streamlink\r\n\r\nAlso check the list of open and closed bug reports:\r\nhttps://github.com/streamlink/streamlink/issues?q=is%3Aissue+label%3A%22bug%22\r\n\r\nPlease see the text preview to avoid unnecessary formatting errors.\r\n-->\r\n\r\n\r\n## Bug Report\r\n\r\n<!-- Replace [ ] with [x] in order to check the box -->\r\n- [x ] This is a bug report and I have read the contribution guidelines.\r\n\r\n\r\n### Description\r\n\r\n<!-- Explain the bug as thoroughly as you can. Don't leave out information which is necessary for us to reproduce and debug this issue. -->\r\n\r\nSo the bug basically occurs every time I try to open up a twitch stream. It pretty much immediately fails to the attached error. I am running version 0.14.2 installed via homebrew for Mac on 10.13.6. \r\n\r\n`streamlink twitch.tv/playoverwatch best`\r\n\r\n### Expected / Actual behavior\r\n\r\n<!-- What do you expect to happen, and what is actually happening? -->\r\n\r\nStreamlink opening up the VLC player as expected and starting the stream.\r\n\r\n### Reproduction steps / Explicit stream URLs to test\r\n\r\n<!-- How can we reproduce this? Please note the exact steps below using the list format supplied. If you need more steps please add them. -->\r\n\r\n1. Install streamlink via homebrew\r\n2. start a twitch stream with the command above\r\n\r\n\r\n### Log output\r\n\r\n<!--\r\nTEXT LOG OUTPUT IS REQUIRED for a bug report!\r\nUse the `--loglevel debug` parameter and avoid using parameters which suppress log output.\r\nhttps://streamlink.github.io/cli.html#cmdoption-l\r\n\r\nMake sure to **remove usernames and passwords**\r\nYou can copy the output to https://gist.github.com/ or paste it below.\r\n-->\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/bin/streamlink\", line 11, in <module>\r\n    load_entry_point('streamlink==0.14.2', 'console_scripts', 'streamlink')()\r\n  File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 484, in load_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2707, in load_entry_point\r\n    return ep.load()\r\n  File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2325, in load\r\n    return self.resolve()\r\n  File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2331, in resolve\r\n    module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink_cli/main.py\", line 21, in <module>\r\n    from streamlink import __version__ as streamlink_version\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink/__init__.py\", line 86, in <module>\r\n    from .api import streams\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink/api.py\", line 1, in <module>\r\n    from .session import Streamlink\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink/session.py\", line 9, in <module>\r\n    from streamlink.logger import StreamlinkLogger, Logger\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink/logger.py\", line 7, in <module>\r\n    from streamlink.compat import is_py2\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/lib/python2.7/site-packages/streamlink/compat.py\", line 48, in <module>\r\n    from backports.shutil_which import which\r\n  File \"/usr/local/Cellar/streamlink/0.14.2/libexec/vendor/lib/python2.7/site-packages/backports/shutil_which.py\", line 12, in <module>\r\n    def backport_which(cmd, mode=os.F_OK | os.X_OK, path=None):\r\nAttributeError: 'module' object has no attribute 'F_OK'\r\n```\r\n\r\n\r\n### Additional comments, screenshots, etc.\r\n\r\nI tried reinstalling streamlink via homebrew and also removed the python2.7 installation from homebrew and then reinstalled streamlink. No luck.\r\n\r\n[traceback.txt](https://github.com/streamlink/streamlink/files/2314625/traceback.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/streamlink/streamlink/issues/comments/415523865","html_url":"https://github.com/streamlink/streamlink/issues/2025#issuecomment-415523865","issue_url":"https://api.github.com/repos/streamlink/streamlink/issues/2025","id":415523865,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTUyMzg2NQ==","user":{"login":"lucavb","id":5306815,"node_id":"MDQ6VXNlcjUzMDY4MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/5306815?v=4","gravatar_id":"","url":"https://api.github.com/users/lucavb","html_url":"https://github.com/lucavb","followers_url":"https://api.github.com/users/lucavb/followers","following_url":"https://api.github.com/users/lucavb/following{/other_user}","gists_url":"https://api.github.com/users/lucavb/gists{/gist_id}","starred_url":"https://api.github.com/users/lucavb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucavb/subscriptions","organizations_url":"https://api.github.com/users/lucavb/orgs","repos_url":"https://api.github.com/users/lucavb/repos","events_url":"https://api.github.com/users/lucavb/events{/privacy}","received_events_url":"https://api.github.com/users/lucavb/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T18:35:23Z","updated_at":"2018-08-23T18:35:23Z","author_association":"NONE","body":"I just managed to get it installed with python2.7/pip2 and the error does not occur."}}
{"actor":{"display_login":"lucavb"}}