Skip to content
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

Missing streamlink-script.py on Windows #618

Closed
2 tasks done
canadianhero opened this issue Feb 14, 2019 · 8 comments
Closed
2 tasks done

Missing streamlink-script.py on Windows #618

canadianhero opened this issue Feb 14, 2019 · 8 comments

Comments

@canadianhero
Copy link

Bug report

  • I understand the difference between Streamlink and Streamlink Twitch GUI.
  • This is a bug report and I have read the contribution guidelines.

Environment details

Operating system and version:
Windows 10, all updates except the October update

Streamlink Twitch GUI version:
https://github.com/streamlink/streamlink-twitch-gui/releases/download/v1.6.0/streamlink-twitch-gui-v1.6.0-win64-installer.exe

Streamlink version:
https://github.com/streamlink/streamlink/releases/download/1.0.0/streamlink-1.0.0.exe

Configuration details:

Description

i have tried to get this to work for about 2 hours last night, Feb 13 2019, i tried uninstalling and deleting all of the appdata to reset it, i have download both the 64bit and the 1.0.0 of the streamlink and the streamlink twitch gui and i did my best to follow the rules but i keep getting streamlink misconfiguration couldn't find pything script. i have no idea where to go. and i followed the wiki but none of it made sense to me. tried following youtubers but no one seems to get the same issue i do with this. oh also i just let them install where ever they want too

Expected / Actual behavior

I expect to stream, i can't

Reproduction steps

  1. ... click on stream

Log output

REPLACE THIS TEXT WITH THE LOG OUTPUT

Additional comments, screenshots, etc.

@bastimeyer
Copy link
Member

bastimeyer commented Feb 14, 2019

That's caused by a recent packaging change in the Windows installer of Streamlink which is causing issues in the Twitch GUI. I'm still searching for a proper solution to this that's not a cheap workaround. It's not that simple, unfortunately.

For now, you'll have to fix this yourself by choosing the streamlink.exe file from the installer's bin subdirectory as the intended streamlink-script.py and selecting the included pythonw.exe file (notice the w) from the Python subdirectory as the python executable.

2019-02-05 15_42_35-streamlink twitch gui

More infos here:
streamlink/streamlink#2287

Let me pin this thread to the top, so everyone on Windows can see it. Sorry for the inconveniences.

I will also add a link to this thread in the wiki.

@bastimeyer bastimeyer pinned this issue Feb 14, 2019
@bastimeyer bastimeyer changed the title cant stream python error Missing streamlink-script.py on Windows Feb 14, 2019
@canadianhero
Copy link
Author

thank you so much for the fast reply!! and ill try this out

@bastimeyer
Copy link
Member

bastimeyer commented Feb 21, 2019

Let me post a quick update on this matter:

I've submitted a patch with a new build feature to pynsist, the library Streamlink is using to build the Windows installer. This hasn't been reviewed (and merged) yet, so I'm still waiting for that to happen. If it gets merged, Streamlink will be able to build a secondary executable which the Twitch GUI can then use in a new resolver config and everything should continue to work OOTB again on Windows.

  • Submit a pull request to pynsist which makes it possible to build "noconsole" command launchers (Implement console command section property takluyver/pynsist#179)
  • Pull request gets merged or similar feature gets implemented
  • New pynsist release (optional, Streamlink can use a pre-release version)
  • Submit a pull request to streamlink (Build additional "streamlinkw" launcher on Windows streamlink#2326) which uses this new pynsist "noconsole" feature and also adds a "GUI" ("noconsole") launcher to installs via pip, which works exactly the same
  • Pull request gets merged
  • Publish new streamlink release (1.1.0 - 1.1.0 release streamlink#2349)
  • Add new "Streamlink (Windows)" (streamlinkw) resolver config to the Twitch GUI, similar to the "Livestreamer (Standalone)" one (not yet merged, waiting for Streamlink release, see 0429a00)
  • Bump Streamlink version requirement in the Twitch GUI from 0.2.0 to 1.1.0 (6dff009)
  • Publish a new Streamlink Twitch GUI release

https://github.com/streamlink/streamlink-twitch-gui/releases/latest

@knasen88
Copy link

Am I missing something here? There is NO such file/folder in my streamlink folder.

https://i.imgur.com/KM4WNOT.png

@bastimeyer
Copy link
Member

This is your Streamlink Twitch GUI folder and not your Streamlink folder

Streamlink Twitch GUI
A graphical user interface on top of the Streamlink command line interface.

https://github.com/streamlink/streamlink-twitch-gui#description
https://github.com/streamlink/streamlink-twitch-gui/wiki/Installation
https://github.com/streamlink/streamlink-twitch-gui/wiki/Streamlink-configuration

@knasen88
Copy link

right.. me renaming it made me confused, thanks!

@bastimeyer
Copy link
Member

v1.7.0 has just been released:
https://github.com/streamlink/streamlink-twitch-gui/releases/latest

You will have to upgrade to the latest Streamlink release and manually choose the Streamlink (Windows) provider in the streaming settings menu if you've previously used Streamlink Twitch GUI. This provider is the new default on Windows and will be selected automatically on new installs (clean config folder).

I will keep this thread open for a while, though.

@streamlink streamlink locked as resolved and limited conversation to collaborators Apr 5, 2019
@bastimeyer
Copy link
Member

Closing, as it's been a week since 1.7.0 and everyone already had the chance to upgrade by now who could possibly run into this issue.

@bastimeyer bastimeyer unpinned this issue Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants