-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Stream launch failure #637
Comments
The issue is not a missing translation, but rather an error while trying to initialize the stream-launch sequence which is not covered by the regular error flow. You're only seeing the missing translation text because the drop-down needs the quality selection from the active stream record in order to show the correct text, and this data doesn't exist for some reason, same as the other stuff like the channel name, stream title, etc. Could you please see if an error got logged in the log files or if it gets logged to
Could you please be a bit more specific what exactly you were doing since the application start? Which channels were you trying to watch? Do you have custom settings set for the channels you're trying to watch? |
Well, if it's not a translation issue then we can close this as it's pretty much a one-time issue which I can't reproduce. I've been using Twitch GUI for more than a year and this has never happened before. I just checked and don't have any log, just a cache folder. As I said, I was randomly browsing streams. Opened Twitch GUI, typed "Max Payne" in the search bar, clicked on Max Payne, opened a stream, clicked on Previous then Max Payne 2, opened and closed the 2 streams you can see on the screenshot then maybe reopened one of them. Really not sure about these steps though. |
Let's not close this thread. I think I know what the issue is, but I don't know what caused it. Without a log, this is a bit difficult, unfortunately. Like I've mentioned, it looks like the active stream record wasn't set when the streaming dialog was opened. This makes be believe that there was an error regarding loading custom channel settings or a malformed Twitch API reponse while loading the channel data. If I don't manage to find and fix this issue, it will be resolved enventually when I'm going to rewrite the entire streaming logic (which I already wanted to a long time ago). |
I'm not using custom channel settings. I suppose there's no way of setting logging verbosity without using the launch parameter? Haven't found anything in the GUI. I set it to debug and can now see logs in my temp folder. I'll send you the log if the issue ever happens again. By the way, there's no environment variable named "%TMPDIR%" by default on Windows, just "%TEMP%" and "%TMP%". |
No. That's because the settings get loaded way too late during the app initialization. I don't think debug messages will be of use here. I'm surprised though that the error got swallowed and not logged. Maybe there's something else which I am missing here. Luckily it's a very rare bug, so I am not too worried right now.
Thanks, that's of course true. I just mindlessly copied it from the wiki, which is now fixed (I've also fixed several other things on that page). |
I've had the issue happen again tonight on the same version. Clicked on a live channel but it was hosting another channel. So I clicked on Switch but Streamlink Twitch GUI doesn't get the stream info and the hosted channel gets opened in VLC. The only thing appearing in the log is this (I'm not using the debug loglevel):
|
I'm now also running into this issue after fixing a few bugs/issues for the next release and bumping NW.js to 0.40.0 (latest version) in preparation for that. The issue here is caused by a silly EmberData implementation when unloading a model/record and trying to create a new one later on (closing a stream and re-opening it again in this case). I've experienced this EmberData bug in the past, and also created a test case for this and posted a Gist on EmberData's issue tracker: What I don't understand is why this is only happening to me when I use NW.js 0.40.0 instead of 0.37.4 (currently used version). |
After this bug has been fixed, I will add proper error logging. |
fixes #637 - globally apply fix/workaround to Model.prototype.destroyRecord - remove old individual fixes which are not working anymore or which were unreliable - use deleteRecord().save() where fix should not be applied - remove embedded record data from createRecord responses in the Twitch{Channel,Game}FollowedSerializer and rewrite tests
I've pushed the fix to the |
Bug report
Environment details
Operating system and version: Windows 10 x64 1809
Streamlink Twitch GUI version: 1.7.1
Streamlink version: 1.1
Configuration details: English language
Description
There's a missing translation in the quality drop-down menu when opening a stream. I can't tell what's the missing translation as the string is cut out.
Expected / Actual behavior
It should say something like "Quality" or not be displayed at all.
Reproduction steps
I can't reproduce it as I was randomly browsing streams. Tried to open the same streams again, multiple streams at the same time or cancelling them. What's weird is that the window in the attached screenshot doesn't have any information about a stream.
Log output
Additional comments, screenshots, etc.
When upgrading from portable 1.7.0, I drag and dropped the content of streamlink-twitch-gui-v1.7.1-win64.zip over my Twitch GUI directory and replaced all files.
The text was updated successfully, but these errors were encountered: