﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
4029	glClear: invalid enumerant	yael.sivron@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Windows-10-10.0.19041
ChimeraX Version: 0.93 (2020-03-12)
Description
(Describe the actions that caused this problem to occur here)
This massage comes up almost any time I load a PDB or a cxs. file, and does not allow to do any action, not even color the background. ChimeraX used to worl perfectly on my computer until a few weeks ago when this massage started showing. 

I did not understand from the traceback what exactly to change before I can restart the graphics.

Log:
UCSF ChimeraX version: 0.93 (2020-03-12)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open ""C:/Users/User/Desktop/projects/GH5_106/Final files of all 106
> strcutres/2-106--finaltouch-P5X9_refine_9.pdb""

Summary of feedback from opening C:/Users/User/Desktop/projects/GH5_106/Final
files of all 106 strcutres/2-106--finaltouch-P5X9_refine_9.pdb  
---  
warnings | Ignored bad PDB record found on line 1  
REMARK Date 2020-11-16 Time 13:04:45 ???????? ???????? ?????????????? +0200
(1605524685.98 s)  
  
Ignored bad PDB record found on line 2  
REMARK PHENIX refinement  
  
Ignored bad PDB record found on line 4  
REMARK ****************** INPUT FILES AND LABELS
******************************  
  
Ignored bad PDB record found on line 5  
REMARK Reflections:  
  
Ignored bad PDB record found on line 6  
REMARK file name :
C:\Users\User\Desktop\projects\GH5_106\P5X9\GH5_106_P5X9_RES_1_56_AIMLESS_after_DIALS.mtz  
  
33 messages similar to the above omitted  
  
Chain information for 2-106--finaltouch-P5X9_refine_9.pdb #1  
---  
Chain | Description  
A | No description available  
  
An error occurred in drawing the scene. Redrawing graphics is now stopped to
avoid a continuous stream of error messages. To restart graphics use the
command ""graphics restart"" after changing the settings that caused the error.  
  
Traceback (most recent call last):  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\updateloop.py"", line 73, in draw_new_frame  
view.draw(check_for_changes = False)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py"", line 157, in draw  
r.set_background_color(self.background_color)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 1078, in set_background_color  
GL.glClearColor(r, g, b, a)  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glClearColor,  
cArguments = (0.0, 0.0, 0.0, 0.0)  
)  
  

> style stick

Traceback (most recent call last):  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\toolbar\tool.py"", line 202, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py"", line 453, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py"", line 1632, in run_provider  
return cls._get_func(api, ""run_provider"")(session, name, mgr, **kw)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\\__init__.py"", line 52, in run_provider  
shortcuts.run_provider(session, name)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 1163, in run_provider  
keyboard_shortcuts(session).try_shortcut(name)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 375, in try_shortcut  
self.run_shortcut(keys)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 393, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 312, in run  
f(s)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 491, in sel_or_all  
run(session, cmd)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py"", line 479, in run  
run_command(session, command, **kw)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\run.py"", line 31, in run  
results = command.run(text, log=log)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py"", line 2845, in run  
result = ci.function(session, **kw_args)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\std_commands\style.py"", line 79, in style  
log.status(msg)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py"", line 454, in status  
StatusLogger.status(self, msg, **kw)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py"", line 196, in status  
if l.status(msg, color, secondary) and getattr(l, ""excludes_other_logs"",
True):  
File ""C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\ui\gui.py"",
line 807, in status  
sbar.status(msg, color, secondary)  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py"", line 143, in status  
r.draw_background()  
File ""C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 1083, in draw_background  
GL.glClear(flags)  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 - Build 20.19.15.4835
OpenGL renderer: Intel(R) HD Graphics 4600
OpenGL vendor: Intel
Manufacturer: Dell Inc.
Model: Latitude E6440
OS: ‏‏Microsoft Windows 10 Home (Build 19041)
Memory: 17,080,705,024
MaxProcessMemory: 137,438,953,344
CPU: 4 Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz""

}}}
"	defect	closed	normal		Graphics	0.93	nonchimerax						all	ChimeraX
