-
-
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
Internal error #121
Comments
Thanks for reporting the issue... Could you please run The internal error message needs to be fixed, though... |
The command runs just fine:
|
ah and btw, as you seem to be doing some "sophisticated" logic to find out the executable path, livestreamer is placed in /usr/local/bin/livestreamer in macos.
|
Yeah, it's a necessity on OSX, because of #55. Could you please debug the application for me real quick? Infos can be found in CONTRIBUTING.md... Edit |
exec seems to be correct too: "/usr/local/bin/livestreamer" On Sun, Aug 2, 2015 at 9:01 PM, Sebastian Meyer notifications@github.com
|
there is even a match in onData method, but "spawn" variable is null ... On Sun, Aug 2, 2015 at 9:11 PM, Marco Rinck romulus23@gmail.com wrote:
|
oh I see, the failed method is getting called with error code 0. Hmm. So, it seems to be all ok, but because you are setting spawn to null, version check is failing later. |
maybe the problem is, that you are defining failed as an exit handler? |
yes, that is the problem. Ignoring "error" code 0 in failed method is fixing this problem. Stream is basically working after that. |
Well, it must either be the
Yeah, it's been fixed by 4ed2d06 now...
The promise should resolve before executing the exit callback, so it doesn't matter... Binding |
timeout handler is not getting called, failed is directly getting called from event.js of EventEmitter And that is happening before! onData method. |
Well, that's not supposed to be happening. Thanks for taking the time finding the cause of this issue! 👍 I don't know why NW.js is triggering the |
It was fun, had no nw.js experience whatsoever before. Its an impressive framework though. However, adding delays so that callback handlers are getting called in the "right" order seems to be very fragile to me. Why are you not splitting up error and exit handler? Or get rid of the exit handler at all, you don't need it really, don't you? |
Sometimes, the child processes exit event gets executed first, so the validation promise gets rejected. Fix this by ignoring exit code `0`. Also implement a StreamOutputBuffer, in case the output is being returned in chunks. The StreamOutputBuffer buffers each chunk and splits everything into lines, so each line can be parsed as a whole. The StreamOutputBuffer will also be used by future IRC implemenations.
@marcorinck could you please tell me if 07ecb5d has fixed your issue? |
yes, its fixed now. |
Awesome, thanks |
The latest OS X release (not source, full DL) is not fixed yet right? (I still have the issue ;) ) |
yes, you need the source as long as basti does not make a new release. |
To be honest, I'm a little bit surprised about the appearance of this bug. It's been working like that for over a year now and hasn't been changed in the latest release, so I'm wondering why this is happening all of a sudden now. |
I'm under 10.10.4 BUT it's working perfectly fine on my Mac Mini. I'm not sure but I think it's related to python and / or how it's installed (old OSX stuff, new release, brew release...) Livestreamer was unhappy too on my MacBook Pro until I fixed Python / updated / etc. BUT it was working with your GUI since I watched A LOT of stuff with it lately. The update broke it for some reason. :/ |
Yeah, I think I'm going to release a hotfix tomorrow then... Thanks for the infos |
I can confirm the issue in 10.10.4. |
And all is fine in the world again. ;) THX a LOT for that fix. <3 <3 |
Unfortunately I can't start any stream with livestreamer-twitch-gui. I only get this message when starting the stream (other functions do work, I have successfully logged in, f.i.):
When I use livestreamer from the command line with the same stream, it does work without any problem.
When I start livestreamer-twitch-gui from the command line I get this message:
iMac 5k, GPU: M290X, OSX Yosemite (fresh installation, only 2 days old), No flash installed (I don't intend to on this machine at all)
The text was updated successfully, but these errors were encountered: