﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3134	Attempt to retrieve context when no valid context	chimerax-bug-report@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.94 (2020-04-17)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.94.dev202004170644 (2020-04-17)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Thank you for registering your copy of ChimeraX. By providing the information
requested you will be helping us document the impact this software is having
in the scientific community. The information you supplied will only be used
for reporting summary usage statistics; no individual data will be released.  
yanxin@msg.ucsf.edu is subscribed to the ChimeraX announcements list  
Traceback (most recent call last):  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/statusbar.py"", line 83, in _expose_event  
self.status(self._last_message, self._last_color)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/statusbar.py"", line 144, in status  
self._draw_text(msg, color, secondary)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/statusbar.py"", line 154, in _draw_text  
draw_overlays(dlist, self._renderer)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 1466, in draw_overlays  
_draw_multiple(drawings, r, Drawing.TRANSPARENT_DRAW_PASS)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 1431, in _draw_multiple  
d.draw(renderer, draw_pass)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 716, in draw  
self.draw_self(renderer, draw_pass)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 727, in draw_self  
self._draw_geometry(renderer, transparent_only = any_opaque)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 750, in _draw_geometry  
ds.activate_bindings(renderer)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 1769, in activate_bindings  
self.update_buffers()  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/drawing.py"", line 1759, in update_buffers  
bi.bind_shader_variable(b)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/graphics/opengl.py"", line 2383, in bind_shader_variable  
GL.glVertexAttribPointer(attr_id, ncomp, gtype, normalize, 0, None)  
File ""src/latebind.pyx"", line 51, in OpenGL_accelerate.latebind.Curry.__call__  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/GL/VERSION/GL_2_0.py"", line 469, in
glVertexAttribPointer  
contextdata.setValue( key, array )  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/contextdata.py"", line 58, in setValue  
context = getContext( context )  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/contextdata.py"", line 41, in
getContext  
""""""Attempt to retrieve context when no valid context""""""  
OpenGL.error.Error: Attempt to retrieve context when no valid context  
  
OpenGL.error.Error: Attempt to retrieve context when no valid context  
  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/PyOpenGL-3.1.5-py3.7.egg/OpenGL/contextdata.py"", line 41, in
getContext  
""""""Attempt to retrieve context when no valid context""""""  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro 5300M OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

}}}
"	defect	closed	normal		Graphics		can't reproduce						all	ChimeraX
