-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't validate python script error message on OS X #459
Comments
Do you have custom paths set in the settings menu? which streamlink
head -n 1 "$(which streamlink)" |
I tried several different paths, right now my custom paths are
|
I can't think of a possible reason right now why this shouldn't work. Unfortunately, the error message doesn't tell you what exactly is failing here. I'll see if I can improve this in the next release. Could you please run a dev build and set a break point in this line:
Instructions can be found here... Thanks |
Sure, I might not have time tonight. I did a bit of digging though and see that the following exception is raised: { "errno": -2, "code": "ENOENT", "syscall": "stat", "path": "/usr/local/opt/python3/bin/python" } There's no |
Thanks. This is exactly what I need. 👍 streamlink-twitch-gui/src/app/services/StreamingService/provider/find-pythonscript-interpreter.js Lines 65 to 68 in 050fbc1
The reason for this logic is that there are two python executables on Windows. One which requires a Windows command prompt ( streamlink-twitch-gui/src/config/streamprovider.json Lines 31 to 35 in 050fbc1
This can be fixed by either adding |
Aha, thanks for the detailed info. I created a |
This doesn't seem to be working for me as my UI config seems to be pointed to the correct python versions: /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 Yet I'm still getting that error. |
$ ls /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/ 2to3 idle3 pip3.5 python3-config python3.5m-config |
@bran The problem I was having was that the app would take the dirname from streamlink and append
|
@jhanssen yep can confirm this works! Thanks for clarifying. |
Checklist
Description
I started getting an error message saying
Couldn't validate python script
when launching twitch streams after upgrading from 1.2.1 to 1.3.0. Downgrading to 1.2.1 makes the problem go away.Reproduction steps
Environment details (operating system, etc.)
Streamlink Twitch GUI 1.3.0, OS X, Python 3.6.1, streamlink installed from pip.
Comments, logs, screenshots, etc.
The log file contains entries like the following
The text was updated successfully, but these errors were encountered: