Opened 4 years ago

Closed 4 years ago

#5015 closed defect (can't reproduce)

'VolumeViewer' object has no attribute 'tool_window'

Reported by: chimerax-bug-report@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.6.0-x86_64-i386-64bit
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
(Describe the actions that caused this problem to occur here)

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  

> open
> /Volumes/projects_secondary/hli/xiangf/Cryodrgn/T4helicase/05_vae128/analyze.49/kmeans20/vol_009.mrc

Failed opening file
/Volumes/projects_secondary/hli/xiangf/Cryodrgn/T4helicase/05_vae128/analyze.49/kmeans20/vol_009.mrc:  
'VolumeViewer' object has no attribute 'tool_window'  

> open
> /Volumes/projects_secondary/hli/xiangf/Cryodrgn/T4helicase/05_vae128/analyze.49/kmeans20/vol_010.mrc

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 238, in event  
_open_dropped_file(self.session, event.file())  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 1721, in _open_dropped_file  
run(session, 'open %s' % FileNameArg.unparse(path))  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/run.py", line 31, in run  
results = command.run(text, log=log)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 101, in cmd_open  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 152, in provider_open  
name or model_name_from_path(fi.file_name)), provider_kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 382, in collated_open  
return func(*func_args, **func_kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/__init__.py", line 141, in open  
return open_map(session, path, format=_name, **kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3524, in open_map  
smodels, smsg = open_grids(session, sgrids, name, **kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3584, in open_grids  
show_volume_dialog(session)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3384, in show_volume_dialog  
show_volume_dialog(session)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 5111, in show_volume_dialog  
vv.show()  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 60, in show  
self.tool_window.shown = True  
AttributeError: 'VolumeViewer' object has no attribute 'tool_window'  
  
AttributeError: 'VolumeViewer' object has no attribute 'tool_window'  
  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 60, in show  
self.tool_window.shown = True  
  
See log for complete Python traceback.  
  

> open
> /Volumes/projects_secondary/hli/xiangf/Cryodrgn/T4helicase/05_vae128/analyze.49/kmeans20/vol_010.mrc

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 238, in event  
_open_dropped_file(self.session, event.file())  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 1721, in _open_dropped_file  
run(session, 'open %s' % FileNameArg.unparse(path))  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/run.py", line 31, in run  
results = command.run(text, log=log)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 101, in cmd_open  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 152, in provider_open  
name or model_name_from_path(fi.file_name)), provider_kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 382, in collated_open  
return func(*func_args, **func_kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/__init__.py", line 141, in open  
return open_map(session, path, format=_name, **kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3524, in open_map  
smodels, smsg = open_grids(session, sgrids, name, **kw)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3584, in open_grids  
show_volume_dialog(session)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3384, in show_volume_dialog  
show_volume_dialog(session)  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 5111, in show_volume_dialog  
vv.show()  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 60, in show  
self.tool_window.shown = True  
AttributeError: 'VolumeViewer' object has no attribute 'tool_window'  
  
AttributeError: 'VolumeViewer' object has no attribute 'tool_window'  
  
File
"/Applications/ChimeraX-1.0.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume_viewer.py", line 60, in show  
self.tool_window.shown = True  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-3.10.22
OpenGL renderer: AMD Radeon Pro 570 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.Hardware:

    Hardware Overview:

      Model Name: iMac
      Model Identifier: iMac18,3
      Processor Name: Quad-Core Intel Core i5
      Processor Speed: 3.4 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 32 GB
      Boot ROM Version: 429.140.8.0.0
      SMC Version (system): 2.41f2

Software:

    System Software Overview:

      System Version: macOS 10.15.7 (19H1323)
      Kernel Version: Darwin 19.6.0
      Time since boot: 3 days 3:38

Graphics/Displays:

    Radeon Pro 570:

      Chipset Model: Radeon Pro 570
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x16
      VRAM (Total): 4 GB
      Vendor: AMD (0x1002)
      Device ID: 0x67df
      Revision ID: 0x00c5
      ROM Revision: 113-D000AA-931
      VBIOS Version: 113-D0001A1L-025
      EFI Driver Version: 01.00.931
      Metal: Supported, feature set macOS GPUFamily2 v1
      Displays:
        iMac:
          Display Type: Built-In Retina LCD
          Resolution: 5120 x 2880 Retina
          Framebuffer Depth: 30-Bit Color (ARGB2101010)
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Automatically Adjust Brightness: No
          Connection Type: Internal

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

Change History (2)

comment:1 by pett, 4 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submission'VolumeViewer' object has no attribute 'tool_window'

comment:2 by Tom Goddard, 4 years ago

Resolution: can't reproduce
Status: assignedclosed

Old version of ChimeraX (1.0). Unlikely this error still is present.

Note: See TracTickets for help on using tickets.