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

An error occurs when running a test #2

Closed
sunmoon9898 opened this issue Dec 6, 2016 · 2 comments
Closed

An error occurs when running a test #2

sunmoon9898 opened this issue Dec 6, 2016 · 2 comments

Comments

@sunmoon9898
Copy link

the platform is ubuntu 16.04, bazel 0.32.

$bazel run :python_module_test --define headless=glx

INFO: Found 1 target...
Target //:python_module_test up-to-date:
bazel-bin/python_module_test
INFO: Elapsed time: 0.148s, Critical Path: 0.00s

INFO: Running command line: bazel-bin/python_module_test
...Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(zenity:28528): Gtk-WARNING **: cannot open display:
ERROR: Non-zero return code '3' from command: Process exited with status 3.

@tkoeppe
Copy link
Collaborator

tkoeppe commented Dec 6, 2016

Are you running this remotely? You need an X server for GLX. Does the osmesa version work?

@sunmoon9898
Copy link
Author

thanks tkoppe. you are right, I run it locally, it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants