yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03730
_getMemoizedPacking error
Hello,
when reading saved packing from database, I got this error..
Is it only my problem, or is it a bug in current yade version? I saved the packing and tried to reload it again in the same (bzr2425) yade version..
thanks
Jan
Traceback (most recent call last):
..........
O.bodies.append(pack.randomDensePack(pack.inGtsSurface(surfConcrete),radius=rSphere,spheresInCell=5000,memoizeDb='cache.sqlite',material=concMat,color=(0,0,1)))
File "/........py/yade/pack.py", line 395, in randomDensePack
sp=_getMemoizedPacking(memoizeDb,radius,rRelFuzz,x1,y1,z1,fullDim,wantPeri,fillPeriodic=True,spheresInCell=spheresInCell,memoDbg=False)
File "/.........py/yade/pack.py", line 328, in _getMemoizedPacking
sp=SpherePack(cPickle.loads(str(c.fetchone()[0])))
TypeError: List elements must be (tuple or Vector3, float)!
Follow ups