Opened 5 years ago

Closed 5 years ago

#3393 closed defect (fixed)

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

Reported by: tif@… Owned by: pett
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
pressing the Open DICOM button on the Medical Image tab of the ribbon

Log:
Startup Messages  
---  
note | available bundle cache has not been initialized yet  
  
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Traceback (most recent call last):  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\toolbar\tool.py", line 202, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 363, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1607, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\medical_toolbar\\__init__.py", line 22, in run_provider  
actions.run_provider(session, name)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\medical_toolbar\actions.py", line 17, in run_provider  
open_dicom(session)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\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 "D:\Program Files\ChimeraX 1.0\bin\lib\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 "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\toolbar\tool.py", line 202, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 363, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1607, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\medical_toolbar\\__init__.py", line 22, in run_provider  
actions.run_provider(session, name)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\medical_toolbar\actions.py", line 17, in run_provider  
open_dicom(session)  
File "D:\Program Files\ChimeraX 1.0\bin\lib\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 "D:\Program Files\ChimeraX 1.0\bin\lib\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: 3.3.0 NVIDIA 445.75
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: Gigabyte Technology Co., Ltd.
Model: Z68X-UD7-B3
OS: Microsoft Windows 10 Pro (Build 17763)
Memory: 17,162,350,592
MaxProcessMemory: 137,438,953,344
CPU: 8 Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz"
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (2)

comment:1 by pett, 5 years ago

Cc: Tom Goddard added
Component: UnassignedInput/Output
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionDICOM icon: 'MainWindow' object has no attribute 'folder_open_cb'

Hi Florin,

Thanks for reporting this problem. Until we get it fixed, you can use the File→Open DICOM Folder.. menu item instead to open DICOM data.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

comment:2 by pett, 5 years ago

Resolution: fixed
Status: acceptedclosed

Fix will be in the next daily build

Note: See TracTickets for help on using tickets.