#15631: Random failures in sandpiles.py
--------------------------+----------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.1
Component: interfaces | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
--------------------------+----------------------------
As reported on https://groups.google.com/d/msg/sage-
devel/ymsEq_f9MNU/0x6vympN2c0J
{{{
File "src/sage/sandpiles/sandpile.py", line 4684, in
sage.sandpiles.sandpile.complete_sandpile
Failed example:
K.betti(verbose=False)
...
File "multi_polynomial_libsingular.pyx", line 912, in
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular.__call__
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:7912)
TypeError: Could not find a mapping of the passed element to this
ring.
---
(same place but different error:)
File "multi_polynomial_libsingular.pyx", line 807, in
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular.__call__
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:6207)
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'
}}}
This is because the singular pexpect interface has subtle bugs. The easy
fix is to rewrite it with disabled terminal echo.
--
Ticket URL: <http://trac.sagemath.org/ticket/15631>
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.