-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
GuixSD panics with Option::unwrap()
#848
Comments
Can you produce a minimum reproduction program? I'll see if it happens on other linuces. |
This is the minimum code I need to produce the panic with
|
That's pretty minimal! On Debian Linux Stretch, using Rust 1.15 and glutin 0.7:
However, I was able to get the same error at the same place when I accidentally tried to run the program via ssh when there was no display available. This suggests that this is happening because it can't open an X11 display. What is the output of A nicer error message than 'called |
The output of
I think that this is the reason. I mentioned in the original post that I am using GuixSD. Guix tries to keep dependencies isolated from each other, so perhaps a dynamically linked library that |
I got this same error on NixOS and was able to get the project to run using
from issue #642. I don't think GuixSD can drop to a |
Thanks for the help! I got it working with
I had to give glutin a version of OpenGl that it could run, and I can't see anything rendering, but those are separate issues. Thanks! 😄 |
Option::unwrap()
Option::unwrap()
I am writing an application using conrod and using piston as the backend. When I create a window, it fails at runtime with the following error:
I followed the stack trace to the line of code where it originated;
src/platform/linux/x11.rs:117
. This is the line:One thing to note is that I am using GuixSD, which doesn't like to put files in the typical places for linux. I don't know if that is the source of the problem.
The text was updated successfully, but these errors were encountered: