duckietown / gym-duckietown-agent

This is the template for the gym agent.
Other
11 stars 25 forks source link

GL library missing #3

Closed breandan closed 6 years ago

breandan commented 6 years ago

Running docker-compose up --build on the master branch fails with the following error:

gym-duckietown-server_1  |   File "/opt/conda/bin/duckietown-start-gym", line 11, in <module>
gym-duckietown-server_1  |   File "/opt/conda/lib/python3.6/site-packages/pkg_resources/__init__.py", lingym-duckietown-server_1  |   File "/opt/conda/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
gym-duckietown-server_1  |     return self.resolve()
gym-duckietown-server_1  |     from pyglet.gl import *
gym-duckietown-server_1  |     from pyglet.gl.lib import GLException
gym-duckietown-server_1  |   File "/opt/conda/lib/python3.6/site-packages/pyglet/gl/lib.py", line 143, ingym-duckietown-server_1  |   File "/opt/conda/lib/python3.6/site-packages/pyglet/gl/lib_glx.py", line 50, in <module>
ad_library
gym-duckietown-server_1  |     raise ImportError('Library "%s" not found.' % names[0])
fgolemo commented 6 years ago

Where does it build the server from? Because I noticed there is a new docker/server directory in the -agent repo and i didnt update it / don't know where it came from (because we have the same dockerfile also in the -server repo).

On Mon, Jul 23, 2018, 18:07 breandan notifications@github.com wrote:

Running docker-compose up --build on the master branch fails with the following error:

gym-duckietown-server_1 | File "/opt/conda/bin/duckietown-start-gym", line 11, in gym-duckietown-server_1 | File "/opt/conda/lib/python3.6/site-packages/pkg_resources/init.py", lingym-duckietown-server_1 | File "/opt/conda/lib/python3.6/site-packages/pkg_resources/init.py", line 2318, in load gym-duckietown-server_1 | return self.resolve() gym-duckietown-server_1 | from pyglet.gl import * gym-duckietown-server_1 | from pyglet.gl.lib import GLException gym-duckietown-server_1 | File "/opt/conda/lib/python3.6/site-packages/pyglet/gl/lib.py", line 143, ingym-duckietown-server_1 | File "/opt/conda/lib/python3.6/site-packages/pyglet/gl/lib_glx.py", line 50, in ad_library gym-duckietown-server_1 | raise ImportError('Library "%s" not found.' % names[0])

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/duckietown/gym-duckietown-agent/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AEmXkGsd5FR_qSGg-jc_UHtGUjXbF6pvks5uJgLNgaJpZM4VbXKg .

breandan commented 6 years ago

gym-duckietown-agent/docker/server/Dockerfile is a simplified version of gym-duckietown/docker/amod/server/Dockerfile (I refactored and migrated it, maybe it's missing some pieces). What ever became of this discussion? Did we agree to leave the Docker stuff in duckietown/gym-duckietown or are we planning to move everything into gym-duckietown-agent?

edit: The original reason for creating it was to set up the automated builder. I have deleted it now and will ask for higher permissions to duckietown/gym-duckietown.

fgolemo commented 6 years ago

I thought that would be the way to implement the results of that discussion: we have the server with its server container dockerfile in its own repo and the agent with its own dockerfile in its own repo. No crossovers.

fgolemo commented 6 years ago

Did I misunderstand something? Do you want all the dockerfiles in a completely different repo? Because I think gym-duckietown-agent is not the place for all docker files.

fgolemo commented 6 years ago

As for the actual issue: working on it.

breandan commented 6 years ago

I can no longer reproduce this error. Closing.