On Saturday, December 28, 2013 6:43:49 PM UTC-8, Volker Braun wrote:
>
> I can't reproduce it on my ssd, but might be timing related. Can you
> trigger it when you run as
>
> strace -s 1024 -ff -o tmpdir/log sage -tp2 tt*.py
>
> If there is a temp file conflict then we can figure it out from the log...
>
Wow, running under strace seems to seriously reduce the probability of
whatever goes wrong, but it seems I finally got a run to fail under strace
control:
sage -t /tmp/HOME/ttg.py
**********************************************************************
File "/tmp/HOME/ttg.py", line 36, in ttg.tt
Failed example:
S.betti()
Exception raised:
Traceback (most recent call last):
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 480, in _run
self.execute(example, compiled, test.globs)
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 839, in execute
exec compiled in globs
File "<doctest ttg.tt[4]>", line 1, in <module>
S.betti()
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/sandpiles/sandpile.py",
line 2036, in betti
print
singular.eval('print(betti(%s),"betti")'%self._singular_resolution.name())
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/sandpiles/sandpile.py",
line 408, in __getattr__
self._set_resolution()
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/sandpiles/sandpile.py",
line 1909, in _set_resolution
row = new[j].transpose().sage_matrix(self._ring)
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/interfaces/singular.py",
line 1763, in sage_matrix
A[x,y]=R(self[x+1,y+1])
File "multi_polynomial_libsingular.pyx", line 807, in
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular.__call__
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:6226)
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/interfaces/singular.py",
line 1245, in __repr__
elif self.type() == 'matrix':
File
"/usr/local/sage/sage-dev/local/lib/python2.7/site-packages/sage/interfaces/singular.py",
line 1976, in type
return m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
**********************************************************************
1 item had failures:
1 of 6 in ttg.tt
[5 tests, 1 failure, 0.80 s]
The strace log directory sits in:
http://sage.math.washington.edu/home/nbruin/strace.tgz
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/groups/opt_out.