[Numpy-discussion] Unpickled numarray types unsable?
falted at pytables.org
Mon Jun 21 11:40:06 CDT 2004
I'm experiencing problems when using a numarray datatype after
>>> import numarray
>>> import pickle
>>> na=numarray.array(type=t, shape=(2,))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.3/site-packages/numarray/numarraycore.py", line 321, in array
return NumArray(buffer=sequence, shape=shape, type=type)
RuntimeError: _numarray_init: can't get typeno for type
Perhaps this is a bug and the typeno attribute is missed when reconstructing
More information about the Numpy-discussion