Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7178 closed defect (duplicate)

Cannot restore session: invalid load key, '\x04'

Reported by: lu.yang@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Sessions Version:
Keywords: Cc: pett
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: 0.9 (2019-06-06)
Description
(Describe the actions that caused this problem to occur here)

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

> open "/Users/ylu/Documents/DATA/cryoEM/OdhAFL
alone/P20_OdhAFL_Chapso/P20J62_without_density_modification_composite_map.cxs"

Traceback (most recent call last):  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 141, in <lambda>  
lambda e, what=what, self=self: self.handle_scheme(what),  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/toolbar/tool.py", line 96, in handle_scheme  
run(self.session, f'{value}')  
File
"/Applications/Pasteur/ChimeraX.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/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2632, in run  
result = ci.function(session, **kw_args)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/open.py", line 64, in open  
path_models = session.models.open(paths, format=format, name=name, **kw)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/models.py", line 601, in open  
session, filenames, format=format, name=name, **kw)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/io.py", line 477, in open_multiple_data  
models, status = open_data(session, fspec, format=format, name=name, **kw)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/io.py", line 433, in open_data  
models, status = open_func(*args, **kw)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 819, in open  
session.restore(stream, path=path, resize_window=resize_window)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 524, in restore  
version = serialize.pickle_deserialize(stream)  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/serialize.py", line 57, in pickle_deserialize  
return unpickler.load()  
_pickle.UnpicklingError: invalid load key, '\x04'.  
  
_pickle.UnpicklingError: invalid load key, '\x04'.  
  
File
"/Applications/Pasteur/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/serialize.py", line 57, in pickle_deserialize  
return unpickler.load()  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-3.10.15
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (7)

comment:1 by pett, 3 years ago

Cc: pett added
Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionCannot restore session: invalid load key, '\x04'

comment:2 by pett, 3 years ago

Resolution: duplicate
Status: assignedclosed

Hi Lu,

You can't restore sessions saved by newer versions of ChimeraX in older versions of ChimeraX. You need to update your ChimeraX in order to restore that session.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

in reply to:  3 ; comment:3 by lu.yang@…, 3 years ago

Hi, Eric,

Yes, I realized the problem later and solved it already, thank you so much for your comment.

Best,
Lu

On 27/06/2022 18:09, "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:

    #7178: Cannot restore session: invalid load key, '\x04'
    --------------------------------+------------------------
              Reporter:  lu.yang@…  |      Owner:  Greg Couch
                  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:  assigned => closed
     * resolution:   => duplicate
    
    
    Comment:
    
     Hi Lu,
             You can't restore sessions saved by newer versions of ChimeraX in
     older versions of ChimeraX.  You need to update your ChimeraX in order to
     restore that session.
    
     --Eric
    
             Eric Pettersen
             UCSF Computer Graphics Lab
    
    --
    Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/7178*comment:2__;Iw!!JFdNOqOXpB6UZW0!vqnec2xVRcfe-NvYO5oUmEYxAid6M3Yza3bA9Pv0pTLDBewOiEGIfbiS9rdCHTw5UB_jEOWmCAMyXoEqDT1m5DNW-DuND8pr4Q$ >
    ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0!vqnec2xVRcfe-NvYO5oUmEYxAid6M3Yza3bA9Pv0pTLDBewOiEGIfbiS9rdCHTw5UB_jEOWmCAMyXoEqDT1m5DNW-Ds1IsJ9RA$ >
    ChimeraX Issue Tracker
    

comment:4 by pett, 3 years ago

Glad it's working!

--Eric

in reply to:  5 ; comment:5 by lu.yang@…, 3 years ago

Hi, Eric,

Since you are here answering my question, I would like to make use of this opportunity to ask you a question about making movie, I want to make a movie with five different density maps from cryo-EM with different ligands binding in two different conformation, there is no animation interface in ChimeraX as the same in Chimera, right? It is easier for me to use animation in Chimera to make the movie, but I have all my sessions with colored density map in Chimera, I know I could use commands to make such kind of movie in ChimeraX, but I found it difficult for me. Can you give me some suggestions what should I do? I am sorry that if this bothers you.

Have a nice day!

Best,
Lu

On 27/06/2022 18:55, "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:

    #7178: Cannot restore session: invalid load key, '\x04'
    --------------------------------+------------------------
              Reporter:  lu.yang@…  |      Owner:  Greg Couch
                  Type:  defect     |     Status:  closed
              Priority:  normal     |  Milestone:
             Component:  Sessions   |    Version:
            Resolution:  duplicate  |   Keywords:
            Blocked By:             |   Blocking:
    Notify when closed:             |   Platform:  all
               Project:  ChimeraX   |
    --------------------------------+------------------------
    
    Comment (by pett):
    
     Glad it's working!
    
     --Eric
    
    --
    Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/7178*comment:4__;Iw!!JFdNOqOXpB6UZW0!q4J9oiRVA1n9hmfePNuTKG1Di4Dhc4aQC-NG96mwbA-PpyPWsm6UUMHcK4b_XSSweum5SxUCFZtNqoSfnmMporhX3qChaNwL2g$ >
    ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0!q4J9oiRVA1n9hmfePNuTKG1Di4Dhc4aQC-NG96mwbA-PpyPWsm6UUMHcK4b_XSSweum5SxUCFZtNqoSfnmMporhX3qAN6IUQvw$ >
    ChimeraX Issue Tracker
    

comment:6 by pett, 3 years ago

Hi Lu,

I have forwarded your question to chimerax-users, so that others can possibly benefit from the feedback.

--Eric

in reply to:  7 ; comment:7 by lu.yang@…, 3 years ago

Hi, Eric,

Thank you so much, I already received the email from chimerax-users and replied it. 

Thanks again!

Best,
Lu

On 27/06/2022 22:16, "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:

    #7178: Cannot restore session: invalid load key, '\x04'
    --------------------------------+------------------------
              Reporter:  lu.yang@…  |      Owner:  Greg Couch
                  Type:  defect     |     Status:  closed
              Priority:  normal     |  Milestone:
             Component:  Sessions   |    Version:
            Resolution:  duplicate  |   Keywords:
            Blocked By:             |   Blocking:
    Notify when closed:             |   Platform:  all
               Project:  ChimeraX   |
    --------------------------------+------------------------
    
    Comment (by pett):
    
     Hi Lu,
             I have forwarded your question to chimerax-users, so that others
     can possibly benefit from the feedback.
    
     --Eric
    
    --
    Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/7178*comment:6__;Iw!!JFdNOqOXpB6UZW0!p4jKISgTspg5lVkauBhs6PEHSLt4t8a8lexl-CSZjbA3XuGzmqE9GisA9QanzDjtSQp-Uks_7itQjonUhHDQ3qE33ZOOyozJaQ$ >
    ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0!p4jKISgTspg5lVkauBhs6PEHSLt4t8a8lexl-CSZjbA3XuGzmqE9GisA9QanzDjtSQp-Uks_7itQjonUhHDQ3qE33ZNDeoowjA$ >
    ChimeraX Issue Tracker
    

Note: See TracTickets for help on using tickets.