Opened 5 years ago

Closed 5 years ago

#3496 closed defect (duplicate)

DICOM icon: 'MainWindow' object has no attribute 'folder_open_cb'

Reported by: g.ysuda@… Owned by: Eric Pettersen
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-19.5.0-x86_64-i386-64bit
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
when open dicom was click, error message has been shown as follows

File "/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/medical_toolbar/actions.py", line 22, in open_dicom
session.ui.main_window.folder_open_cb(session)


Log:
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Successfully installed 'ChimeraX_UI-1.2.1-py3-none-any.whl'  
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/  
Processing
/Users/ysuda5/Library/Caches/ChimeraX/1.0/installers/ChimeraX_UI-1.2.1-py3-none-
any.whl  
Requirement already satisfied, skipping upgrade: ChimeraX-Core~=1.0 in
/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/lib/python3.7/site-
packages (from ChimeraX-UI==1.2.1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Graphics~=1.0 in
/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/lib/python3.7/site-
packages (from ChimeraX-UI==1.2.1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-MouseModes~=1.0 in
/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/lib/python3.7/site-
packages (from ChimeraX-UI==1.2.1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Arrays~=1.0 in
/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/lib/python3.7/site-
packages (from ChimeraX-Graphics~=1.0->ChimeraX-UI==1.2.1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Geometry~=1.0 in
/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/lib/python3.7/site-
packages (from ChimeraX-Graphics~=1.0->ChimeraX-UI==1.2.1) (1.0)  
Installing collected packages: ChimeraX-UI  
Successfully installed ChimeraX-UI-1.2.1  
Lock 4687949392 acquired on
/Users/ysuda5/Library/Caches/ChimeraX/1.0/toolshed/bundle_info.cache.lock  
Lock 4687949392 released on
/Users/ysuda5/Library/Caches/ChimeraX/1.0/toolshed/bundle_info.cache.lock  
  

WARNING: You are using pip version 20.1; however, version 20.1.1 is available.  
You should consider upgrading via the
'/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/MacOS/ChimeraX
-m pip install --upgrade pip' command.  
  

Traceback (most recent call last):  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 202, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/toolshed/info.py", line 363, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/toolshed/__init__.py", line 1607, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/__init__.py", line 22, in run_provider  
actions.run_provider(session, name)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 17, in run_provider  
open_dicom(session)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 22, in open_dicom  
session.ui.main_window.folder_open_cb(session)  
AttributeError: 'MainWindow' object has no attribute 'folder_open_cb'  
  
AttributeError: 'MainWindow' object has no attribute 'folder_open_cb'  
  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 22, in open_dicom  
session.ui.main_window.folder_open_cb(session)  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 202, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/toolshed/info.py", line 363, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/toolshed/__init__.py", line 1607, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/__init__.py", line 22, in run_provider  
actions.run_provider(session, name)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 17, in run_provider  
open_dicom(session)  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 22, in open_dicom  
session.ui.main_window.folder_open_cb(session)  
AttributeError: 'MainWindow' object has no attribute 'folder_open_cb'  
  
AttributeError: 'MainWindow' object has no attribute 'folder_open_cb'  
  
File
"/private/var/folders/ly/zl5j6ldd5qq7_knstmqf1tqh0000gq/T/AppTranslocation/B1041856-5FE1-4B1C-88AB-A52CAEF9D851/d/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/medical_toolbar/actions.py", line 22, in open_dicom  
session.ui.main_window.folder_open_cb(session)  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-14.6.18
OpenGL renderer: Intel HD Graphics 4000 OpenGL Engine
OpenGL vendor: Intel Inc.Hardware:

    Hardware Overview:

      Model Name: Mac mini
      Model Identifier: Macmini6,2
      Processor Name: Quad-Core Intel Core i7
      Processor Speed: 2.3 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Hyper-Threading Technology: Enabled
      Memory: 16 GB
      Boot ROM Version: 284.0.0.0.0
      SMC Version (system): 2.8f0

Software:

    System Software Overview:

      System Version: macOS 10.15.5 (19F101)
      Kernel Version: Darwin 19.5.0
      Time since boot: 4:44

Graphics/Displays:

    Intel HD Graphics 4000:

      Chipset Model: Intel HD Graphics 4000
      Type: GPU
      Bus: Built-In
      VRAM (Dynamic, Max): 1536 MB
      Vendor: Intel
      Device ID: 0x0166
      Revision ID: 0x0009
      Metal: Supported, feature set macOS GPUFamily1 v4
      Displays:
        22M45:
          Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
          UI Looks like: 1920 x 1080 @ 60 Hz
          Framebuffer Depth: 24-Bit Color (ARGB8888)
          Display Serial Number: 403NDPHKS808
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Adapter Type: Apple Mini DisplayPort To VGA Adapter
          Automatically Adjust Brightness: No
          Adapter Firmware Version: 1.03

PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Component: UnassignedInput/Output
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionDICOM icon: 'MainWindow' object has no attribute 'folder_open_cb'

comment:2 by Eric Pettersen, 5 years ago

Resolution: duplicate
Status: acceptedclosed

Hi,

Thanks for reporting this problem. It was fixed around the middle of June, so you could either get a newer version of ChimeraX, or you could use the File→Open DICOM Folder menu item instead (unlike the icon, that does work). Sorry for the inconvenience.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.