﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1304	AnnotationProxy.name = None	goddard@…	Conrad Huang	"{{{
The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.8 (2018-09-07)
Description
Command ""usage save"" gives this error.
Apparently it is because toolshed/info.py AnnotationProxy.name = None.

Log:
UCSF ChimeraX version: 0.8 (2018-09-07)  
How to cite UCSF ChimeraX  

usage save ↵

Traceback (most recent call last):  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py"", line 205, in execute  
    cmd.run(cmd_text)  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 2561, in run  
    result = ci.function(session, **kw_args)  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/std_commands/usage.py"", line 72, in usage  
    info(cli.html_usage(command_name, show_hidden=show_hidden), is_html=True)  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 2871, in html_usage  
    arg_syntax.append('<i>%s</i>: %s' % (uarg_name, arg_type.html_name()))  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 405, in inst_html_name  
    return escape(name)  
  File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/html/__init__.py"",
line 19, in escape  
    s = s.replace(""&"", ""&amp;"") # Must be done first!  
AttributeError: 'NoneType' object has no attribute 'replace'  
  

AttributeError: 'NoneType' object has no attribute 'replace'  
  
File ""/Users/goddard/Desktop/ChimeraX Sep 7
2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/html/__init__.py"",
line 19, in escape  
s = s.replace(""&"", ""&"") # Must be done first!  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 680MX OpenGL Engine
OpenGL vendor: NVIDIA Corporation

}}}
"	defect	closed	normal	0.8	Tool Shed		fixed						all	ChimeraX
