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

'NoneType' object has no attribute 'glGetError' #201

Closed
XiaobenLi00 opened this issue Aug 5, 2024 · 10 comments
Closed

'NoneType' object has no attribute 'glGetError' #201

XiaobenLi00 opened this issue Aug 5, 2024 · 10 comments

Comments

@XiaobenLi00
Copy link

I try to run the demo in the tutorials, but I find the following problem
image
I have tried the solutions in facebookresearch/AnimatedDrawings#99 but it sames not work.
Looking forward to your help!

@Vittorio-Caggiano
Copy link
Collaborator

can you share what OS and python version?

@XiaobenLi00
Copy link
Author

I am using Docker, and my OS is 22.04 LTS
image
My python version is 3.8

@XiaobenLi00
Copy link
Author

I retried but the ipykernel died.
image

@Vittorio-Caggiano
Copy link
Collaborator

we have used docker for the myochallenge (see here) and worked with a very simple setting

can you please share your docker container setup to replicate the issue?

@XiaobenLi00
Copy link
Author

XiaobenLi00 commented Aug 6, 2024

I used the docker with cuda11.8_conda3_unbuntu22.0, and create container from it. Actually I can run the test python -m myosuite.tests.test_myo but have problem with headless rendering when use opengl to visualize.

@XiaobenLi00
Copy link
Author

And I installed myosuite following the advanced instruction.

@Vittorio-Caggiano
Copy link
Collaborator

for our CI test we use

sudo apt-get install -y xvfb x11-xserver-utils
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &

did you try that option?

@XiaobenLi00
Copy link
Author

image I just tried and I got another problem.

@Vittorio-Caggiano
Copy link
Collaborator

@XiaobenLi00 did you find a solution? or do you have more info on the issue to help troubleshooting?

@XiaobenLi00
Copy link
Author

@XiaobenLi00 did you find a solution? or do you have more info on the issue to help troubleshooting?

Actually I have solved it. I guess there is a library problem with the docker environment I used before, and I tried another docker images. According to my debugging experience, the opengl lib need a backend, e.g., osmesa, egl, glfw... Different backends may need different dependent libraries and need to handle respectively.

Thanks a lot for your reply and consideration!

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