<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hello All,<div><br></div><div>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?</div><div><div><br></div><div>











<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures">ChimeraX --offscreen --nogui test.cxc<span> </span></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures">Traceback (most recent call last):</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/runpy.py", line 193, in _run_module_as_main</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>"__main__", mod_spec)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/runpy.py", line 85, in _run_code</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>exec(code, run_globals)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/ChimeraX_main.py", line 895, in <module></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>exit_code = init(sys.argv)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/ChimeraX_main.py", line 453, in init</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>sess = session.Session(app_name, debug=opts.debug, silent=opts.silent)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 441, in __init__</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>self.logger = logger.Logger(self)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 501, in __setattr__</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>if not name.startswith('_') and self.snapshot_methods(value, base_type=StateManager) is not None:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/core/session.py", line 535, in snapshot_methods</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from chimerax import graphics as gr</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/graphics/__init__.py", line 34, in <module></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from .opengl import Texture, Lighting, Material</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>File "/opt/chimerax-1.0-1.fc32/lib/python3.7/site-packages/chimerax/graphics/opengl.py", line 61, in <module></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from OpenGL import GL</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>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></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from OpenGL.GL.VERSION.GL_1_1 import *</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>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></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from OpenGL.raw.GL.VERSION.GL_1_1 import *</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>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></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>from <a href="http://OpenGL.raw.GL" target="_blank">OpenGL.raw.GL</a> import _errors</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>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></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures"><span>    </span>_error_checker = _ErrorChecker( _p, _p.GL.glGetError )</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.72)"><span style="font-variant-ligatures:no-common-ligatures">AttributeError: 'NoneType' object has no attribute 'glGetError'</span><span style="background-color:rgb(255,255,255);font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)">-- </span><br></p></div><div><br></div>Thanks,<br>Sai </div></div>
</div><div><br></div></div>