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

Tests fail on Docker container #17

Open
ear7h opened this issue Sep 17, 2018 · 2 comments
Open

Tests fail on Docker container #17

ear7h opened this issue Sep 17, 2018 · 2 comments
Assignees

Comments

@ear7h
Copy link
Collaborator

ear7h commented Sep 17, 2018

Running TestNewSnapshotter fails with the following error in a Docker container:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to open X display.

Running TestSnapshotterSnapshot fails with the following error:

mbgl.test: /go/src/github.com/go-spatial/go-mbgl/mapbox-gl-native/platform/default/run_loop.cpp:144: void mbgl::util::RunLoop::runOnce(): Assertion `tid == std::this_thread::get_id()' failed.
SIGABRT: abort
@ear7h
Copy link
Collaborator Author

ear7h commented Sep 17, 2018

The first error makes me think that the MapSnapshotter is not suitable for a server environment. And, we should use the atto approach and use the headless_frontend class.

@ear7h ear7h self-assigned this Sep 17, 2018
@ear7h
Copy link
Collaborator Author

ear7h commented Sep 17, 2018

In addition the mapbox-gl-native repo has a similar bare-bones rendering tool which use headless_frontend.

https://github.com/mapbox/mapbox-gl-native/blob/master/bin/render.cpp#L86

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

No branches or pull requests

1 participant