Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1765 closed defect (duplicate)

'Session' object has no attribute 'preset_mgr'

Reported by: haom@… 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:        Windows-10-10.0.17134
ChimeraX Version: 0.9 (2019-03-05)
Description
can't open saved session. My OS is Window 10.

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 isuo

File not found: isuo  

> open 1SUO

Summary of feedback from opening 1SUO fetched from pdb  
---  
notes | Fetching compressed mmCIF 1suo from
http://files.rcsb.org/download/1suo.cif  
Fetching CCD HEM from http://ligand-expo.rcsb.org/reports/H/HEM/HEM.cif  
Fetching CCD CPZ from http://ligand-expo.rcsb.org/reports/C/CPZ/CPZ.cif  
  
1suo title:  
Structure of mammalian cytochrome P450 2B4 with bound
4-(4-chlorophenyl)imidazole [more info...]  
  
Chain information for 1suo #1  
---  
Chain | Description  
A | Cytochrome P450 2B4  
  
Non-standard residues in 1suo #1  
---  
CPZ — 4-(4-chlorophenyl)imidazole  
HEM — protoporphyrin IX containing Fe (HEME)  
  
  

> select up

43 atoms, 46 bonds selected  

> style selAtoms ball

Changed 43 atom styles  

> style selAtoms sphere

Changed 43 atom styles  

> style selAtoms stick

Changed 43 atom styles  

> close session

> open "C:\\\Users\\\Haoming_Dell\\\Dropbox\\\manuscript\\\cryo-EM of
BM3\\\d12 interface.cxs" format session

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "C:\Program Files\ChimeraX\bin\lib\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  

> open "C:\\\Users\\\Haoming_Dell\\\Dropbox\\\manuscript\\\cryo-EM of
BM3\\\d12 interface.cxs" format session

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "C:\Program Files\ChimeraX\bin\lib\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  

> open "C:/Users/Haoming_Dell/Dropbox/manuscript/cryo-EM of BM3/d12
interface.cxs"

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "C:\Program Files\ChimeraX\bin\lib\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  

> open "C:/Users/Haoming_Dell/Dropbox/manuscript/cryo-EM of BM3/final-model-
bm3-d12-4.4A.pdb"

Chain information for final-model-bm3-d12-4.4A.pdb #1  
---  
Chain | Description  
A B | No description available  
  

> select up

2 atoms, 1 bond selected  

> select up

43 atoms, 46 bonds selected  

> style selAtoms sphere

Changed 43 atom styles  

> style selAtoms ball

Changed 43 atom styles  

> style selAtoms stick

Changed 43 atom styles  

> select :HEM

86 atoms, 92 bonds selected  

> color sel red

> style sel stick

Changed 86 atom styles  

> style selAtoms sphere

Changed 86 atom styles  

> style selAtoms ball

Changed 86 atom styles  

> style selAtoms stick

Changed 86 atom styles  

> style selAtoms ball

Changed 86 atom styles  

Expected a collection of one of 'atoms', 'bonds', 'cartoons', 'models',
'pbonds', 'pseudobonds', 'ribbons', or 'surfaces' or a keyword  

Unknown command: ~stick  

Expected a collection of one of 'atoms', 'bonds', 'cartoons', 'models',
'pbonds', 'pseudobonds', 'ribbons', or 'surfaces' or a keyword  

Expected an objects specifier or a keyword  

> hide selAtoms ribbons

> select up

11 atoms, 11 bonds selected  

> select up

26 atoms, 26 bonds selected  

> select up

8334 atoms, 8519 bonds selected  

> select up

16668 atoms, 17038 bonds selected  

> hide

> select :HEM

86 atoms, 92 bonds selected  

> style sel stick

Changed 86 atom styles  

> show sel

Expected a keyword  

> select :FMN & :FAD

Nothing selected  

Expected a collection of one of 'atoms', 'bonds', 'cartoons', 'models',
'pbonds', 'pseudobonds', 'ribbons', or 'surfaces' or a keyword  

> show sel

> style sel stick

Changed 0 atom style  

> select :FMN

62 atoms, 62 bonds selected  

> show :FMN

> style sel stick

Changed 62 atom styles  

> color sel orange

> show :FAD

> color sel yellow

> color :FAD orange

> show selAtoms ribbons

> save session "C:/Users/Haoming_Dell/Dropbox/manuscript/cryo-EM of
BM3/d12-interface.cxs"

> open "C:/Users/Haoming_Dell/Dropbox/manuscript/cryo-EM of
BM3/d12-interface.cxs"

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "C:\Program Files\ChimeraX\bin\lib\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: 3.3.0 - Build 23.20.16.4973
OpenGL renderer: Intel(R) Iris(R) Graphics 540
OpenGL vendor: Intel
File attachment: error.txt

error.txt

Attachments (1)

error.txt (452 bytes ) - added by haom@… 7 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (5)

by haom@…, 7 years ago

Attachment: error.txt added

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 Haoming,

Sorry for the problem with the session restore. It was fixed about 6 days ago and the fix is in the current daily build.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

in reply to:  4 comment:3 by haom@…, 7 years ago

Dear Dr. Petterson,

Thank you for your email. The nightly built version worked!.

Best regards,
Haoming

On Mon, Mar 11, 2019 at 2:18 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

comment:4 by Eric Pettersen, 7 years ago

I'm glad it worked!

--Eric

Note: See TracTickets for help on using tickets.