﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1385	Session restore ValueError: Places place_array argument must have type <class 'numpy.float64'>, got float32	Greg Couch	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Linux-4.15.0-38-generic-x86_64-with-debian-buster-sid
ChimeraX Version: 0.8 (2018-09-28)
Description
Tried to open session file from February 2018.  A secondary bug is that the traceback is hidden in log summary, so I can to separately start the bug reporter.

Log:
UCSF ChimeraX version: 0.8 (2018-09-28)  
How to cite UCSF ChimeraX  

open /home/gregc/src/chimerax/goo.cxs

open /home/gregc/src/chimerax/goo.cxs

Summary of feedback from opening /home/gregc/src/chimerax/goo.cxs  
---  
error | Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/core/session.py"", line 590, in restore  
obj = sm.restore_snapshot(self, data)  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/atomic/structure.py"", line 2224, in restore_snapshot  
Structure.set_state_from_snapshot(s, session, data)  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/atomic/structure.py"", line 183, in set_state_from_snapshot  
Model.set_state_from_snapshot(self, session, data['model state'])  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/core/models.py"", line 274, in set_state_from_snapshot  
self.positions = Places(place_array=data['positions'])  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/core/geometry/place.py"", line 512, in __init__  
self._check_array('place_array', place_array, double=True)  
File ""/home/gregc/src/chimerax/ChimeraX.app/lib/python3.6/site-
packages/chimerax/core/geometry/place.py"", line 524, in _check_array  
raise ValueError('Places %s argument must have type %s, got %s' % (name,
str(dtype), str(array.dtype)))  
ValueError: Places place_array argument must have type <class
'numpy.float64'>, got float32  
  
opened ChimeraX session  

help help:contact.html

help help:contact.html

toolshed show ""Bug Reporter""

toolshed show ""Bug Reporter""




OpenGL version: 4.5 (Core Profile) Mesa 18.0.5
OpenGL renderer: AMD TAHITI (DRM 2.50.0 / 4.15.0-38-generic, LLVM 6.0.0)
OpenGL vendor: X.Org
File attachment: goo.cxs

}}}

[attachment:""goo.cxs""]
"	defect	closed	normal		Core		fixed		Eric Pettersen				all	ChimeraX
