Closed paulaurel closed 6 years ago
Please paste the complete error message you got.
This is the error I received:
Traceback (most recent call last):
File "./standalone.py", line 18, in
Are you on a mac?
using a virtual machine on a mac
So the issue is because the OpenGL drivers on the mac don't support some of the features that I'm using (supported by nvidia drivers). Specifically the use of anti-aliasing in frame buffer objects. I'll try to make it work. I have a macbook at home that I can use to test it.
That would be perfect thank you.
I just ran the standalone.py code on a pc running linux and encountered the following problem
./standalone.py
Traceback (most recent call last):
File "./standalone.py", line 18, in
@paulaurel: could you try this please: https://stackoverflow.com/questions/43019951/after-install-ros-kinetic-cannot-import-opencv
... because from what I see in the traceback you are starting your script in Python 3 but then it tries to import OpenCV for PY 2.7 and that obviously won't work.
Thank you. I am now able to import OpenCV in python 3. Yet I still cannot run the standalone.py code. I now encounter the following error
Traceback (most recent call last):
File "./standalone.py", line 18, in
The error is identical to the one I encountered on my virtual machine.
@paulaurel That's the same issue as before: a problem with GL caused by the code using some platform-specific GL instructions that aren't supported by your virtual machine.
As Maxime mentioned here https://github.com/duckietown/gym-duckietown/issues/2#comment-373571330 there is no easy fix but she is working on a solution.
@fgolemo Now I am running it on a PC running ubuntu lts 16.04 not via a virtual machine.
I see. I think the issue is still related to some platform- or driver-specific OpenGL code.
Could you run the command glxgears
from the Ubuntu package mesa-utils
and tell us which output you get and if you see any errors? Same for glxinfo > glxinfo.log
and then please attach (not paste) that text file (glxinfo.log
).
Here you go. Thanks for your efforts. I am really grateful. glxgears.log glxinfo.log (obtained on the PC)
@paulaurel So, I pushed a tentative fix on the master branch.
Can someone with a macbook do a git pull
and let me know if they can run ./standalone.py
? If not, please paste the complete error message.
It works! Thank you!
When running the standalone.py script I get an error message, related to env = gym.make(args.env_name).