Opened 7 years ago
Closed 7 years ago
#1304 closed defect (fixed)
AnnotationProxy.name = None
| Reported by: | Owned by: | Conrad Huang | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8 |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
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("&", "&") # 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
Change History (2)
comment:1 by , 7 years ago
| Component: | Unassigned → Tool Shed |
|---|---|
| Milestone: | → 0.8 |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → AnnotationProxy.name = None |
comment:2 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 6bb56ff5d.