Opened 6 years ago

Closed 6 years ago

#3089 closed defect (fixed)

Session restore failure: ValueError: int is not allowed for map key

Reported by: chimerax-bug-report@… Owned by: Greg Couch
Priority: critical Milestone:
Component: Sessions Version:
Keywords: Cc: chimera-programmers, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.94 (2020-04-20)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.94.dev202004200102 (2020-04-20)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open2 "/Volumes/GoogleDrive/My Drive/Aha2/EM/apo_NCNC/map_model.cxs"

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 640, in restore  
data = fdeserialize(stream)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/serialize.py", line 68, in msgpack_deserialize  
return next(stream)  
File "msgpack/_unpacker.pyx", line 528, in msgpack._cmsgpack.Unpacker.__next__  
File "msgpack/_unpacker.pyx", line 459, in msgpack._cmsgpack.Unpacker._unpack  
ValueError: int is not allowed for map key  
  
opened ChimeraX session  




OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro 5300M OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Cc: chimera-programmers Elaine Meng added
Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Priority: normalcritical
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSession restore failure: ValueError: int is not allowed for map key

I find that this happens with all sessions (only tried with sessions with structures though), e.g. just 1gcn.

comment:2 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in the next daily build. Bug was due to change in msgpack 1.0 API change where non-strings could no longer be dictionary keys by default.

Note: See TracTickets for help on using tickets.