The doctest picks up the pickled stuff from 
$SAGE_ROOT/data/extcode/pickle_jar/pickle_jar.tar.bz2
which you get in the source distribution.

Actually, if I try, on ARM, at the sage prompt the following:
sage: sage.structure.sage_object.unpickle_all()
I get the same "Failed to unpickle 5 objects." result.

In short, ARM cannot unpickle correctly some stuff pickled elsewhere....
You can reproduce this by 
untarring $SAGE_ROOT/data/extcode/pickle_jar/pickle_jar.tar.bz2
somewhere, creating a directory, say, /tmp/jah/, and say, putting there 
_class__sage_coding_linear_code_LinearCode__.sobj
_class__sage_coding_linear_code_LinearCode__.txt

Then we see:

sage: sage.structure.sage_object.unpickle_all('/tmp/jah/')
 * unpickle failure: 
load('/tmp/jah//_class__sage_coding_linear_code_LinearCode__.sobj')
Failed:
_class__sage_coding_linear_code_LinearCode__.sobj
Successfully unpickled 0 objects.
Failed to unpickle 1 objects.






-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to