Currently, --offscreen only works on Linux. Can you tell me more
about your Linux installation? It looks like you installed a
Fedora 32 rpm, but we don't distribute one. The first step would
be to try an official build. The CentOS 8 rpm should work for
Fedora 32. Installing from the rpm has the advantage that it
will get all of the dependencies installed as well.
-- Greg
Hello All,
I am unable to save images from the command line, I get an OpenGL error. I get openGL errors on both Mac and Linux. Any suggestions?
ChimeraX --offscreen --nogui test.cxc
Traceback (most recent call last):
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/ChimeraX_main.py", line 895, in <module>
exit_code = init(sys.argv)
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/ChimeraX_main.py", line 453, in init
sess = session.Session(app_name, debug=opts.debug, silent=opts.silent)
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 441, in __init__
self.logger = logger.Logger(self)
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 501, in __setattr__
if not name.startswith('_') and self.snapshot_methods(value, base_type=StateManager) is not None:
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 535, in snapshot_methods
from chimerax import graphics as gr
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/graphics/__init__.py", line 34, in <module>
from .opengl import Texture, Lighting, Material
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/graphics/opengl.py", line 61, in <module>
from OpenGL import GL
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/GL/__init__.py", line 4, in <module>
from OpenGL.GL.VERSION.GL_1_1 import *
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
from OpenGL.raw.GL.VERSION.GL_1_1 import *
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
from OpenGL.raw.GL import _errors
File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/raw/GL/_errors.py", line 4, in <module>
_error_checker = _ErrorChecker( _p, _p.GL.glGetError )
AttributeError: 'NoneType' object has no attribute 'glGetError'--
Thanks,
Sai
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users