Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2418 closed defect (duplicate)

File→Open: unhashable type: 'set'

Reported by: thor.thorsen@… 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:        Darwin-18.2.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-09-17)
Description
I just installed chimera. When pressing the "open" bottom on the top left, this error orrcured.

Log:
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-macosx_10_9_x86_64.whl'  
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/  
Processing
/Users/sqt866/Library/Caches/ChimeraX/0.91/installers/ChimeraX_ISOLDE-1.0b3.dev5-cp37-cp37m-macosx_10_9_x86_64.whl  
Requirement already satisfied, skipping upgrade: ChimeraX-Core==0.91 in
/Applications/ChimeraX_Daily.app/Contents/lib/python3.7/site-packages (from
ChimeraX-ISOLDE==1.0b3.dev5) (0.91)  
Requirement already satisfied, skipping upgrade: ChimeraX-Clipper>=0.9.9 in
/Applications/ChimeraX_Daily.app/Contents/lib/python3.7/site-packages (from
ChimeraX-ISOLDE==1.0b3.dev5) (0.9.9)  
Requirement already satisfied, skipping upgrade: ChimeraX-Atomic>=1.0 in
/Applications/ChimeraX_Daily.app/Contents/lib/python3.7/site-packages (from
ChimeraX-ISOLDE==1.0b3.dev5) (1.0)  
Installing collected packages: ChimeraX-ISOLDE  
Successfully installed ChimeraX-ISOLDE-1.0b3.dev5  
Lock 4719426640 acquired on
/Users/sqt866/Library/Caches/ChimeraX/0.91/toolshed/bundle_info.cache.lock  
Lock 4719426640 released on
/Users/sqt866/Library/Caches/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  
Molecular trajectory  
Molecular trajectory  
Molecular trajectory  
Reflection data  
Generic 3D objects  
Molecular structure  
Generic 3D objects  
Documentation  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Sequence alignment  
Molecular structure  
Volume data  
Molecular structure  
Generic 3D objects  
Higher-Order Structure  
Molecule structure  
Molecule structure  
Generic 3D objects  
set()  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 138, in <lambda>  
lambda e, what=what, self=self: self.handle_scheme(what),  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 84, in handle_scheme  
cmd(self.session)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 163, in _file_open  
session.ui.main_window.file_open_cb(session)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 571, in file_open_cb  
self.show_file_open_dialog(session)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/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
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/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
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/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: 4.1 ATI-2.4.9
OpenGL renderer: AMD Radeon Pro 560X OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by Eric Pettersen, 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 Eric Pettersen, 6 years ago

Resolution: duplicate
Status: assignedclosed

Hi Thor,

This problem was just fixed, so if you get the most recent daily build then this will work. Sorry for the hassle.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

in reply to:  3 ; comment:3 by thor.thorsen@…, 6 years ago

Hi Eric,

Thank you!

 Best,
 Thor

On 18/09/2019, 20.22, "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:

    #2418: File→Open: unhashable type: 'set'
    -------------------------------------+--------------------------
              Reporter:  thor.thorsen@…  |      Owner:  Conrad Huang
                  Type:  defect          |     Status:  closed
              Priority:  normal          |  Milestone:
             Component:  Input/Output    |    Version:
            Resolution:  duplicate       |   Keywords:
            Blocked By:                  |   Blocking:
    Notify when closed:                  |   Platform:  all
               Project:  ChimeraX        |
    -------------------------------------+--------------------------
    Changes (by Eric Pettersen):
    
     * status:  assigned => closed
     * resolution:   => duplicate
    
    
    Comment:
    
     Hi Thor,
             This problem was just fixed, so if you get the most recent daily
     build then this will work.  Sorry for the hassle.
    
     --Eric
    
             Eric Pettersen
             UCSF Computer Graphics Lab
    
    -- 
    Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/2418#comment:2>
    ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
    ChimeraX Issue Tracker
    

Note: See TracTickets for help on using tickets.