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

cannot generate a video headlessly #167

Closed
koaqiu opened this issue May 18, 2023 · 2 comments
Closed

cannot generate a video headlessly #167

koaqiu opened this issue May 18, 2023 · 2 comments

Comments

@koaqiu
Copy link

koaqiu commented May 18, 2023

Ubuntu 18.04.

>>> from animated_drawings import render
>>> render.start('./examples/config/mvc/export_gif_example.yaml')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/AnimatedDrawings/animated_drawings/render.py", line 17, in start
    view = View.create_view(cfg.view)
  File "/root/AnimatedDrawings/animated_drawings/view/view.py", line 43, in create_view
    from animated_drawings.view.mesa_view import MesaView
  File "/root/AnimatedDrawings/animated_drawings/view/mesa_view.py", line 8, in <module>
    from OpenGL import GL, osmesa
  File "/opt/conda/lib/python3.10/site-packages/OpenGL/GL/__init__.py", line 4, in <module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "/opt/conda/lib/python3.10/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
    from OpenGL.raw.GL.VERSION.GL_1_1 import *
  File "/opt/conda/lib/python3.10/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
    from OpenGL.raw.GL import _errors
  File "/opt/conda/lib/python3.10/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module>
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
AttributeError: 'NoneType' object has no attribute 'glGetError'
@koaqiu
Copy link
Author

koaqiu commented May 18, 2023

Python 3.8.13

Python 3.8.13 (default, Oct 21 2022, 23:50:54)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from animated_drawings import render
>>> render.start('./examples/config/mvc/export_gif_example.yaml')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/AnimatedDrawings/animated_drawings/render.py", line 17, in start
    view = View.create_view(cfg.view)
  File "/root/AnimatedDrawings/animated_drawings/view/view.py", line 43, in create_view
    from animated_drawings.view.mesa_view import MesaView
  File "/root/AnimatedDrawings/animated_drawings/view/mesa_view.py", line 8, in <module>
    from OpenGL import GL, osmesa
  File "/opt/conda/envs/animated_drawings/lib/python3.8/site-packages/OpenGL/GL/__init__.py", line 4, in <module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "/opt/conda/envs/animated_drawings/lib/python3.8/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
    from OpenGL.raw.GL.VERSION.GL_1_1 import *
  File "/opt/conda/envs/animated_drawings/lib/python3.8/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
    from OpenGL.raw.GL import _errors
  File "/opt/conda/envs/animated_drawings/lib/python3.8/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module>
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
AttributeError: 'NoneType' object has no attribute 'glGetError'

@koaqiu
Copy link
Author

koaqiu commented May 18, 2023

#99 this work to 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

1 participant