﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2403	Bad error reporting for startup-command errors	chimerax-bug-report@…	Eric Pettersen	"{{{
The following bug report has been submitted:
Platform:        Darwin-18.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-09-10)
Description
(Describe the actions that caused this problem to occur here)

Log:
Traceback (most recent call last):  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py"", line 293, in _run_startup_commands  
run(self.session, cmd_text)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/run.py"", line 31, in run  
results = command.run(text, log=log)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py"", line 2662, in run  
raise UserError(self._error)  
chimerax.core.errors.UserError: Expected a keyword  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py"", line 130, in invoke  
return self._func(self._name, data)  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py"", line 295, in _run_startup_commands  
session.logger.status(str(err), color=""crimson"")  
NameError: name 'session' is not defined  
  
Error processing trigger ""ready"":  
NameError: name 'session' is not defined  
  
File
""/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py"", line 295, in _run_startup_commands  
session.logger.status(str(err), color=""crimson"")  
  
See log for complete Python traceback.  
  
UCSF ChimeraX version: 0.91 (2019-09-10)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 4.1 ATI-2.11.20
OpenGL renderer: AMD Radeon Pro 560X OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

}}}
"	defect	closed	normal		Command Line		fixed						all	ChimeraX
