﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3313	"""Vestigial"" ViewDockX can interfere with session restore"	phil.cruz@…	Conrad Huang	"{{{
The following bug report has been submitted:
Platform:        Darwin-18.7.0-x86_64-i386-64bit
ChimeraX Version: 1.0 (2020-05-08)
Description
Cant' open session file if ViewDockX was in the session.  
If I use ViewDockX and save a ChimeraX session, I get errors when trying to open the ChimeraX session file.  
Try with attached .cxs file.
Same result with every ViewDockX containing session I've tried.

Log:
UCSF ChimeraX version: 1.0rc202005080235 (2020-05-08)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open ""/Users/cruzp2/OneDrive - National Institutes of
> Health/Parks/Schrodinger/1j3i_wt_if_xp_1/ViewDocX_bug.cxs""

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py"", line 665, in restore  
obj = sm.restore_snapshot(self, data)  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 287, in restore_snapshot  
inst.setup(structures, data.get(cls.html_state, None))  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 23, in setup  
self._setup(structures)  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 55, in _setup  
raise UserError(""No suitable models found for ViewDockX"")  
chimerax.core.errors.UserError: No suitable models found for ViewDockX  
  
opened ChimeraX session  
Traceback (most recent call last):  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 198, in _load_finished  
self._update_models()  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 110, in _update_models  
self.delete()  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 345, in delete  
del self._name_map[self.name]  
KeyError: '1'  
  
KeyError: '1'  
  
File
""/Applications/ChimeraX-1.0-rc-2020.05.08.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/viewdockx/tool.py"", line 345, in delete  
del self._name_map[self.name]  
  
See log for complete Python traceback.  
  




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

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro14,3
      Processor Name: Intel Core i7
      Processor Speed: 3.1 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 8 MB
      Hyper-Threading Technology: Enabled
      Memory: 16 GB
      Boot ROM Version: 204.0.0.0.0
      SMC Version (system): 2.45f0

Software:

    System Software Overview:

      System Version: macOS 10.14.6 (18G3020)
      Kernel Version: Darwin 18.7.0
      Time since boot: 12 days 15:50

Graphics/Displays:

    Intel HD Graphics 630:

      Chipset Model: Intel HD Graphics 630
      Type: GPU
      Bus: Built-In
      VRAM (Dynamic, Max): 1536 MB
      Vendor: Intel
      Device ID: 0x591b
      Revision ID: 0x0004
      Automatic Graphics Switching: Supported
      gMux Version: 4.0.29 [3.2.8]
      Metal: Supported, feature set macOS GPUFamily2 v1

    Radeon Pro 560:

      Chipset Model: Radeon Pro 560
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x8
      VRAM (Total): 4 GB
      Vendor: AMD (0x1002)
      Device ID: 0x67ef
      Revision ID: 0x00c0
      ROM Revision: 113-C980AJ-927
      VBIOS Version: 113-C9801AU-A02
      EFI Driver Version: 01.A0.927
      Automatic Graphics Switching: Supported
      gMux Version: 4.0.29 [3.2.8]
      Metal: Supported, feature set macOS GPUFamily2 v1
      Displays:
        Color LCD:
          Display Type: Built-In Retina LCD
          Resolution: 2880 x 1800 Retina
          Framebuffer Depth: 24-Bit Color (ARGB8888)
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No
        BenQ GW2750H:
          Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
          UI Looks like: 1920 x 1080 @ 60 Hz
          Framebuffer Depth: 30-Bit Color (ARGB2101010)
          Display Serial Number: 6CD03450SL0 
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Adapter Type: Apple USB-C Digital AV Adapter
          Automatically Adjust Brightness: No
          Adapter Firmware Version: 2.35
File attachment: ViewDocX_bug.cxs

}}}

[attachment:""ViewDocX_bug.cxs""]
"	defect	closed	normal	1.1	Sessions		fixed						all	ChimeraX
