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

Open
canadianhero opened this Issue Feb 14, 2019 · 6 comments

Comments

Projects
None yet
3 participants
@canadianhero
Copy link

canadianhero commented Feb 14, 2019

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Author

canadianhero commented Feb 14, 2019

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

@bastimeyer

This comment has been minimized.

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 (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 (streamlink/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 - streamlink/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
  • Publish a new Streamlink Twitch GUI release
@knasen88

This comment has been minimized.

Copy link

knasen88 commented Mar 20, 2019

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

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

@bastimeyer

This comment has been minimized.

Copy link
Member

bastimeyer commented Mar 20, 2019

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

This comment has been minimized.

Copy link

knasen88 commented Mar 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.