Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_4.py", line 10, in <module> exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single') File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Thx

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned: returned:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_4.py", line 10, in <module>
    exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single')
  File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari

pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Just to clarify: when I start pari in a terminal it works perfectly.

Thx

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_4.py", line 10, in <module>
    exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single')
  File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Just to clarify: when I start pari in a terminal it works perfectly.

Thx

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_4.py", line 10, in <module>
    exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single')
  File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Just to clarify: when I start pari in a terminal it works perfectly.

Thx

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_4.py", line 10, in <module>
    exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single')
  File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Just to clarify: when I start pari in a terminal it works perfectly.

Thx

Unable to start pari

Hi,

I tried this calculation with pari/GP for instance:

%gp factorial(56847)

And I was surprised when it returned:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_4.py", line 10, in <module> exec compile(u"print _support_.syseval(gp, u'factorial(56847)', __SAGE_TMP_DIR__)" + '\n', '', 'single') File "", line 1, in <module>

File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 438, in syseval return system.eval(cmd, sage_globals, locals = sage_globals) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1293, in eval for L in code.split('\n') if L != '']) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 440, in _eval_line wait_for_prompt=wait_for_prompt) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 904, in _eval_line self._start() File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gp.py", line 240, in _start Expect._start(self, alt_message, block_during_init) File "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 501, in _start raise RuntimeError("unable to start %s" % self.name()) RuntimeError: unable to start pari

I'll soon get the update 7.3(time for updating the binaries from the depository), but how can I fix that ? Just to clarify: when I start pari in a terminal it works perfectly.

Thx