Ryan Shaw added the comment:
I can't reproduce this in a self-contained script. Pickling a smaller
cluster object and storing it in Redis works fine. The cluster object that
caused the crash was large, a binary tree with >5000 leaves holding the
results of a nine-hour cal
Ryan Shaw added the comment:
r is the Redis python client. cluster is a large cluster tree along the
lines of the cluster_node class found here:
http://jesolem.blogspot.com/2009/04/hierarchical-clustering-in-python.html
--
___
Python tracker
New submission from Ryan Shaw :
def save_object(r, key, m):
r.set(key, cPickle.dumps(m))
[4] >>> save_object(r, 'cluster', cluster)
python: ./Modules/cStringIO.c:419: O_cwrite: Assertion `oself->pos + l <
2147483647' failed.
Aborted
Linux 2.6.30.9-96.fc11.