Opened 6 years ago

Closed 6 years ago

#3096 closed defect (duplicate)

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

Reported by: ogahura@… Owned by: Greg Couch
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:        Linux-4.15.0-96-generic-x86_64-with-debian-buster-sid
ChimeraX Version: 0.94 (2020-04-20)
Description
Unable to open various saved sessions

Log:
Startup Errors  
---  
error | Bundle 'ChimeraX-Registration' custom initialization failed  
warning | Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/toolshed/info.py", line 432, in initialize  
api._api_caller.initialize(api, session, self)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/toolshed/__init__.py", line 1633, in initialize  
return cls._get_func(api, "initialize")(session, bi)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/registration/__init__.py", line 41, in initialize  
nag(session)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 28, in nag  
if not check_registration(logger=session.logger):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 49, in check_registration  
return _check_expiration(param, logger)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/registration/nag.py", line 131, in _check_expiration  
expires = datetime.strptime(param["Expires"], TimeFormat)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/_strptime.py", line 577, in
_strptime_datetime  
tt, fraction, gmtoff_fraction = _strptime(data_string, format)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/_strptime.py", line 359, in
_strptime  
(data_string, format))  
ValueError: time data 'Tue Dec 8 23:48:19 2020' does not match format '%a %b
%d %H:%M:%S %Y'  
  
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 /home/ondragahura/Work/Publications/TbATPS_structure/Pre-
> figures/TMH_su-a_PC.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/session.py", line 640, in restore  
data = fdeserialize(stream)  
File "/usr/lib/ucsf-chimerax-daily/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.5 (Core Profile) Mesa 18.1.0-rc4
OpenGL renderer: Radeon RX 570 Series (POLARIS10, DRM 3.26.0 AMD 18.30 , 4.15.0-96-generic, LLVM 6.0.1)
OpenGL vendor: X.Org
Manufacturer: System manufacturer
Model: System Product Name
OS: Ubuntu 18.04 bionic
Architecture: 64bit ELF
CPU: 12 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Cache Size: 12288 KB
Graphics:
	01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] [1002:67df] (rev ef)
	Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 470/480/570/580] [1043:04c2]
	Kernel driver in use: amdgpu

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSession restore failure: ValueError: int is not allowed for map key

comment:2 by Eric Pettersen, 6 years ago

Resolution: duplicate
Status: assignedclosed

Hi Ondrej,

This bug was fixed just yesterday, so if you get today's daily build you should be able to open your session. Sorry for the inconvenience!

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.