|
From: Jennifer F. <jen...@ww...> - 2012-12-12 12:59:24
|
Hi All,
I'm getting errors of this sort when I use pytables to store data in hdf5 format.
Has anyone come across this before? Is there a fix?
Thanks,
Jennifer
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7
/lib/python2.7/site-packages/pymc/database/hdf5.py", line 474,
in savestate s.append(state)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7
/lib/python2.7/site-packages/tables/vlarray.py", line 462, in append
sequence = atom.toarray(sequence)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7
/lib/python2.7/site-packages/tables/atom.py", line 1000, in toarray
buffer_ = self._tobuffer(object_)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7
/lib/python2.7/site-packages/tables/atom.py", line 1112, in _tobuffer
return cPickle.dumps(object_, cPickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'function'>:
attribute lookup __builtin__.function failed
|