RuntimeError: ECL says: THROW: The catch RAT-ERR is undefined

asked 2018-06-20 07:09:30 -0600

Nasser gravatar image

updated 2018-06-21 06:24:11 -0600

Using 8.3.beta6 on Linux Manjaro

reported at https://trac.sagemath.org/ticket/25627

Problem with integrate.

sage: var('x')
sage: integrate((cos(x) + 2*sin(x) + 1)/(cos(x)^2 - 2*cos(x)*sin(x) + 2*sin(x) + 3),x)

gives

RuntimeError                              Traceback (most recent call last)
<ipython-input-2-f1dceacbaccd> in <module>()
----> 1 integrate((cos(x) + Integer(2)*sin(x) + Integer(1))/(cos(x)**Integer(2) - Integer(2)*cos(x)*sin(x) + Integer(2)*sin(x) + Integer(3)),x)

 .......    
RuntimeError: ECL says: THROW: The catch RAT-ERR is undefined.

This one also

     integrate(log(x + sqrt(x + 1))/(x^2 + 1),x)

gives

RuntimeError                              Traceback (most recent call last)
<ipython-input-70-f29d0d9e0a0b> in <module>()
----> 1 anti=integrate(log(x + sqrt(x + Integer(1)))/(x**Integer(2) + Integer(1)),x)
  ......
edit retag flag offensive close merge delete