Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Integrate with mathematica algorithm

Hi,

Trying once more to integrate with the mathematica algorithm since a long time - did work before - I realized that now it gives me an error:

integrate(10*x-3, x, algorithm="mathematica_free")

And it returns this

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_12.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("aW50ZWdyYXRlKDEwKngtMywgeCwgMSwgMywgYWxnb3JpdGhtPSdtYXRoZW1hdGljYV9mcmVlJyk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmp0ZIVPP/___code___.py", line 3, in <module>
    exec compile(u"integrate(_sage_const_10 *x-_sage_const_3 , x, _sage_const_1 , _sage_const_3 , algorithm='mathematica_free')" + '\n', '', 'single')
  File "", line 1, in <module>

  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/functional.py", line 664, in integral
    return x.integral(*args, **kwds)
  File "sage/symbolic/expression.pyx", line 11660, in sage.symbolic.expression.Expression.integral (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:64426)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py", line 771, in integrate
    return integrator(expression, v, a, b)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/external.py", line 67, in mma_free_integrator
    page = page[page.index('"inputForm"'):page.index('"outputForm"')]
ValueError: substring not found

A "substring not found". Oh. What does it mean and how am I supposed to fix that? I add it totally worked before.

Thanks

Integrate with mathematica algorithm

Hi,

Trying once more to integrate with the mathematica algorithm since a long time - did work before - I realized that now it gives me an error:

integrate(10*x-3, x, algorithm="mathematica_free")

And it returns thisreturns

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_12.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("aW50ZWdyYXRlKDEwKngtMywgeCwgMSwgMywgYWxnb3JpdGhtPSdtYXRoZW1hdGljYV9mcmVlJyk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmp0ZIVPP/___code___.py", line 3, in <module>
    exec compile(u"integrate(_sage_const_10 *x-_sage_const_3 , x, _sage_const_1 , _sage_const_3 , algorithm='mathematica_free')" + '\n', '', 'single')
  File "", line 1, in <module>

  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/functional.py", line 664, in integral
    return x.integral(*args, **kwds)
  File "sage/symbolic/expression.pyx", line 11660, in sage.symbolic.expression.Expression.integral (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:64426)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py", line 771, in integrate
    return integrator(expression, v, a, b)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/external.py", line 67, in mma_free_integrator
    page = page[page.index('"inputForm"'):page.index('"outputForm"')]
ValueError: substring not found

A "substring not found". Oh. What does it mean and how am I supposed to fix that? I add it totally worked before.

Thanks

Integrate with mathematica algorithm

Hi,

Trying once more to integrate with the mathematica algorithm since a long time - did work before - I realized that now it gives me an error:

integrate(10*x-3, x, algorithm="mathematica_free")

And it returns

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_12.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("aW50ZWdyYXRlKDEwKngtMywgeCwgMSwgMywgYWxnb3JpdGhtPSdtYXRoZW1hdGljYV9mcmVlJyk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmp0ZIVPP/___code___.py", line 3, in <module>
    exec compile(u"integrate(_sage_const_10 *x-_sage_const_3 , x, _sage_const_1 , _sage_const_3 , algorithm='mathematica_free')" + '\n', '', 'single')
  File "", line 1, in <module>

  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/functional.py", line 664, in integral
    return x.integral(*args, **kwds)
  File "sage/symbolic/expression.pyx", line 11660, in sage.symbolic.expression.Expression.integral (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:64426)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py", line 771, in integrate
    return integrator(expression, v, a, b)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/external.py", line 67, in mma_free_integrator
    page = page[page.index('"inputForm"'):page.index('"outputForm"')]
ValueError: substring not found

A "substring not found". Oh. What does it mean and how am I supposed to fix that? I add it totally worked before.

Thanks

Integrate with mathematica algorithm

Hi,

Trying once more to integrate with the mathematica algorithm since a long time - did work before - I realized that now it gives me an error:

integrate(10*x-3, x, algorithm="mathematica_free")

And it returns

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_12.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("aW50ZWdyYXRlKDEwKngtMywgeCwgMSwgMywgYWxnb3JpdGhtPSdtYXRoZW1hdGljYV9mcmVlJyk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmp0ZIVPP/___code___.py", line 3, in <module>
    exec compile(u"integrate(_sage_const_10 *x-_sage_const_3 , x, _sage_const_1 , _sage_const_3 , algorithm='mathematica_free')" + '\n', '', 'single')
  File "", line 1, in <module>

  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/functional.py", line 664, in integral
    return x.integral(*args, **kwds)
  File "sage/symbolic/expression.pyx", line 11660, in sage.symbolic.expression.Expression.integral (/usr/lib/sagemath//src/build/cythonized/sage/symbolic/expression.cpp:64426)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py", line 771, in integrate
    return integrator(expression, v, a, b)
  File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/integration/external.py", line 67, in mma_free_integrator
    page = page[page.index('"inputForm"'):page.index('"outputForm"')]
ValueError: substring not found

A "substring not found". Oh. What does it mean and how am I supposed to fix that? I add it totally worked before.

Thanks