﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
577	Bug in Python 3.6	tic20@…	tic20@…	"{{{
Hi all,

Just downloaded the latest build, and upon attempting to use Clipper ran into a crash that appears to be described by the below Python 3.6 bug (discussion includes a patch that was released in mid-Jan):
https://bugs.python.org/issue29327

Relevant part of the traceback:

/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/clipper/crystal.py in __init__(self, session, dataset)
    82     hkl = self.hklinfo = dataset.find_ancestor(db_levels.CRYSTAL_SET)['hkl']
    83     sg = self.spacegroup = hkl.spacegroup
---> 84     cell = self.cell = hkl.cell
    85     res = self.resolution = hkl.resolution
    86     grid = self.grid = clipper.Grid_sampling(sg, cell, res)

/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/clipper/clipper_decorators.py in getter(self)
    87     def property_factory(func):
    88         def getter(self):
---> 89             return getattr(super(self.__class__, self), func)()
    90         prop = property(getter)
    91         return prop

/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/clipper/lib/clipper_python_core/clipper.py in cell(self)
 13561
 13562         """"""
> 13563         return _clipper.HKL_info_cell(self)
 13564
 13565

SystemError: Objects/tupleobject.c:81: bad argument to internal function

Cheers,

Tristan


}}}
"	defect	closed	major		Infrastructure		fixed		chimera-programmers@…				all	ChimeraX
