Opened 4 years ago
Closed 4 years ago
#4607 closed defect (fixed)
_name_completion() can return None
Reported by: | Owned by: | Greg Couch | |
---|---|---|---|
Priority: | normal | Milestone: | 1.2 |
Component: | Command Line | Version: | |
Keywords: | Cc: | pet | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: macOS-10.13.6-x86_64-i386-64bit ChimeraX Version: 1.2.1 (2021-05-05 02:17:36 UTC) Description Other color palettes worked fine but when I applied the ylgnbu-3 and at least one other palette near it in the list in "Color Key" it threw this error: TypeError: object of type 'NoneType' has no len() File "/private/var/folders/b7/_py3282j25lfqnk58zh4f0rw0000gn/T/AppTranslocation/1E0836A0-2DBF-44B2-8496-35920D9D510D/d/ChimeraX-1.2.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/chimerax/core/commands/colorarg.py", line 346, in find_named_color if len(choices) == 0:
Change History (2)
comment:1 by , 4 years ago
Component: | Unassigned → Command Line |
---|---|
Milestone: | → 1.2 |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → _name_completion() can return None |
comment:2 by , 4 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Reproducible with command
color ylb
. Added test case.