<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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.<br>
</p>
<p> -- Greg<br>
</p>
<div class="moz-cite-prefix">On 9/15/2020 1:30 PM, Sai Janani
Ganesan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOzfy2mj99tGjjmxbU2bjH0UvHL=wf=1SpbHG0J70RbqanPRwQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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" moz-do-not-send="true">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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ChimeraX-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a>
Manage subscription:
<a class="moz-txt-link-freetext" href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a>
</pre>
</blockquote>
</body>
</html>