#15534: Corrupt pickle in cluster_seed.py
--------------------------------------+----------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.1
Component: packages: experimental | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
--------------------------------------+----------------------------
The following is an unlikely but occasional error on the buildbot (on
"mod"), see
http://build.sagemath.org/sage/builders/%20fast%20UW%20mod%20%28Ubuntu%208-64%29%20incremental/builds/0/steps/shell_3/logs/stdio
The problem seems to be that the pickle hasn't been flushed to disc before
trying to read it, e.g. http://stackoverflow.com/questions/1746825/python-
valueerror-insecure-string-pickle
{{{
sage -t --long src/sage/combinat/cluster_algebra_quiver/cluster_seed.py
**********************************************************************
File "src/sage/combinat/cluster_algebra_quiver/cluster_seed.py", line
1847, in
sage.combinat.cluster_algebra_quiver.cluster_seed.ClusterSeed.mutation_type
Failed example:
S.mutation_type() # long time
Exception raised:
Traceback (most recent call last):
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.combinat.cluster_algebra_quiver.cluster_seed.ClusterSeed.mutation_type[7]>",
line 1, in <module>
S.mutation_type() # long time
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/combinat/cluster_algebra_quiver/cluster_seed.py", line
1874, in mutation_type
self._mutation_type = self._quiver.mutation_type()
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/combinat/cluster_algebra_quiver/quiver.py", line 855,
in mutation_type
mut_type_part = _mutation_type_from_data(dg_component.order(),
dig6, compute_if_necessary=True)
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/combinat/cluster_algebra_quiver/mutation_type.py",
line 1243, in _mutation_type_from_data
data = load_data(n)
File "cachefunc.pyx", line 749, in
sage.misc.cachefunc.CachedFunction.__call__ (sage/misc/cachefunc.c:3356)
File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7
/site-packages/sage/combinat/cluster_algebra_quiver/mutation_type.py",
line 1214, in load_data
data_new = cPickle.load(f)
ValueError: insecure string pickle
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15534>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.