Opened 6 years ago

Closed 6 years ago

#2416 closed defect (fixed)

File→Open: unhashable type: 'set'

Reported by: Tristan Croll Owned by: Conrad Huang
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-4.20.8-200.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
ChimeraX Version: 0.91 (2019-09-17)
Description
Just used the File/Open dialog. For what it's worth, in situations like this I've found frozenset to be really useful.

Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.91 (2019-09-17)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Successfully installed
'ChimeraX_ISOLDE-1.0b3.dev5-cp37-cp37m-linux_x86_64.whl'  
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/  
Processing
/home/tic20/.cache/ChimeraX/0.91/installers/ChimeraX_ISOLDE-1.0b3.dev5-cp37-cp37m-linux_x86_64.whl  
Requirement already satisfied, skipping upgrade: ChimeraX-Core==0.91 in
/opt/UCSF/ChimeraX-daily/lib/python3.7/site-packages (from ChimeraX-
ISOLDE==1.0b3.dev5) (0.91)  
Collecting ChimeraX-Clipper>=0.9.9 (from ChimeraX-ISOLDE==1.0b3.dev5)  
Downloading
https://cxtoolshed.rbvi.ucsf.edu/media/chimeraxclipper/releases/0.9.9/ChimeraX_Clipper-0.9.9-cp37-cp37m-linux_x86_64.whl
(26.7MB)  
Requirement already satisfied, skipping upgrade: ChimeraX-Atomic>=1.0 in
/opt/UCSF/ChimeraX-daily/lib/python3.7/site-packages (from ChimeraX-
ISOLDE==1.0b3.dev5) (1.0)  
Installing collected packages: ChimeraX-Clipper, ChimeraX-ISOLDE  
Found existing installation: ChimeraX-Clipper 0.9.8  
Uninstalling ChimeraX-Clipper-0.9.8:  
Successfully uninstalled ChimeraX-Clipper-0.9.8  
Found existing installation: ChimeraX-ISOLDE 1.0b3.dev4  
Uninstalling ChimeraX-ISOLDE-1.0b3.dev4:  
Successfully uninstalled ChimeraX-ISOLDE-1.0b3.dev4  
Successfully installed ChimeraX-Clipper-0.9.9 ChimeraX-ISOLDE-1.0b3.dev5  
Lock 139676221446864 acquired on
/home/tic20/.cache/ChimeraX/0.91/toolshed/bundle_info.cache.lock  
Lock 139676221446864 released on
/home/tic20/.cache/ChimeraX/0.91/toolshed/bundle_info.cache.lock  
  
Session data  
Command script  
Command script  
Command script  
Generic 3D objects  
Generic 3D objects  
Generic 3D objects  
Generic 3D objects  
Generic 3D objects  
Generic 3D objects  
Reflection data  
Generic 3D objects  
Molecular structure  
Molecular trajectory  
Molecular trajectory  
Molecular trajectory  
Documentation  
Generic 3D objects  
Molecular structure  
Volume data  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Molecular structure  
Higher-Order Structure  
Generic 3D objects  
Molecule structure  
Molecule structure  
Generic 3D objects  
set()  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 138, in <lambda>  
lambda e, what=what, self=self: self.handle_scheme(what),  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 84, in handle_scheme  
cmd(self.session)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 163, in _file_open  
session.ui.main_window.file_open_cb(session)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 571, in file_open_cb  
self.show_file_open_dialog(session)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 579, in show_file_open_dialog  
filters = open_file_filter(all=True, format_name=format_name)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/ui/open_save.py", line 138, in open_file_filter  
exts = combine.setdefault(fmt.category, [])  
TypeError: unhashable type: 'set'  
  
TypeError: unhashable type: 'set'  
  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/ui/open_save.py", line 138, in open_file_filter  
exts = combine.setdefault(fmt.category, [])  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 410.93
OpenGL renderer: GeForce GTX 1070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedInput/Output
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionFile→Open: unhashable type: 'set'

comment:2 by pett, 6 years ago

Resolution: fixed
Status: assignedclosed

Conrad fixed this one yesterday.

--Eric

Note: See TracTickets for help on using tickets.