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

Running the example keras_nonvis.py fails #10

Closed
tasdikrahman opened this issue Jul 2, 2016 · 4 comments
Closed

Running the example keras_nonvis.py fails #10

tasdikrahman opened this issue Jul 2, 2016 · 4 comments

Comments

@tasdikrahman
Copy link

tasdikrahman commented Jul 2, 2016

Hey @ntasfi . Thanks for putting the Dockerfile up for everybody

What I did was

$ wget http://raw.githubusercontent.com/ntasfi/PyGame-Learning-Environment/master/docker/Dockerfile
$ docker build -t prodicus/pygame .
$ docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY prodicus/pygame /bin/bash

I get the following error inside the docker container,

root@9bacfcf2f0a4:/ple/examples# python keras_nonvis.py 
Using Theano backend.
No protocol specified
No protocol specified
No protocol specified
Fatal Python error: (pygame parachute) Segmentation Fault
Aborted (core dumped)
root@9bacfcf2f0a4:/ple/examples# 

What could be the cause of the problem?


Relevant information

$ docker --version
Docker version 1.11.2, build b9f10c9

$ uname -r
4.4.0-28-generic

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial
@EderSantana
Copy link
Contributor

it seems like it is not forwarding the display correctly. I got it working on my mac and copied the instructions for ubuntu. But it seems like I missed something. I tried asking for help:
jessfraz/dockerfiles#129

but didn't get enough information. I was originally inspired by this example:
https://github.com/jfrazelle/dockerfiles/blob/master/atom/Dockerfile#L18-L19

if you find a solution please let me know and I'll fix it. Thanks!

@ntasfi
Copy link
Owner

ntasfi commented Aug 6, 2016

Is this resolved? @prodicus

@ntasfi
Copy link
Owner

ntasfi commented Aug 31, 2016

Closing issue as no response from OP.

@ntasfi ntasfi closed this as completed Aug 31, 2016
@mrdrozdov
Copy link

On mac, installing xquartz helped with this issue for me.

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

4 participants