Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1750 closed defect (duplicate)

'Session' object has no attribute 'preset_mgr'

Reported by: cody.warren@… Owned by: Eric Pettersen
Priority: normal Milestone:
Component: Sessions 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.9 (2019-03-05)
Description
Opening a saved .cxs file

Log:
UCSF ChimeraX version: 0.9 (2019-03-05)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "/Users/CJWarren/SawyerLab/Positive_selection_analyses/2019 -
Bats/DPP4/PRANK alignments/Co-crystal/MERS_DPP4_PDB4l72_PosSelection_180degree
rotation.cxs"

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
"/Users/CJWarren/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File
"/Users/CJWarren/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/preset_mgr/manager.py", line 48, in restore_snapshot  
return session.preset_mgr  
AttributeError: 'Session' object has no attribute 'preset_mgr'  
  
opened ChimeraX session  




OpenGL version: 4.1 INTEL-12.4.7
OpenGL renderer: Intel(R) Iris(TM) Graphics 6100
OpenGL vendor: Intel Inc.
File attachment: MERS_DPP4_PDB4l72_PosSelection.cxs

MERS_DPP4_PDB4l72_PosSelection.cxs

Attachments (1)

MERS_DPP4_PDB4l72_PosSelection.cxs (4.3 MB ) - added by cody.warren@… 7 years ago.
Added by email2trac

Change History (5)

by cody.warren@…, 7 years ago

Added by email2trac

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedSessions
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submission'Session' object has no attribute 'preset_mgr'

comment:2 by Eric Pettersen, 7 years ago

Resolution: duplicate
Status: acceptedclosed

Hi Cody,

Sorry for the problem with the session restore. It is fixed now and the fix will be in the next daily build.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

in reply to:  4 comment:3 by Cody.Warren@…, 7 years ago

Thank you. I've been having this problem consistently (saved .cxs files do not open)  and just sent the bug report. If I download the next daily build, then I can restore these files?

On 3/5/19, 2:31 PM, "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:

    #1750: 'Session' object has no attribute 'preset_mgr'
    ------------------------------------+--------------------
              Reporter:  cody.warren@…  |      Owner:  pett
                  Type:  defect         |     Status:  closed
              Priority:  normal         |  Milestone:
             Component:  Sessions       |    Version:
            Resolution:  duplicate      |   Keywords:
            Blocked By:                 |   Blocking:
    Notify when closed:                 |   Platform:  all
               Project:  ChimeraX       |
    ------------------------------------+--------------------
    Changes (by pett):
    
     * status:  accepted => closed
     * resolution:   => duplicate
    
    
    Comment:
    
     Hi Cody,
             Sorry for the problem with the session restore.  It is fixed now
     and the fix will be in the next daily build.
    
     --Eric
    
             Eric Pettersen
             UCSF Computer Graphics Lab
    
    --
    Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1750#comment:2>
    ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
    ChimeraX Issue Tracker
    

in reply to:  5 ; comment:4 by Eric Pettersen, 7 years ago

Yes, the problem is in the ChimeraX code and not in the session file, so once you have the corrected code then the session will open.

—Eric


Note: See TracTickets for help on using tickets.