Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Octave works in command line but not in notebook


"octave" runs runs from terminal, so $PATH seems to be correct. Moreover, octave calls from the sage console also work fine. But, octave calls from a notebook running on localhost return what I have pasted below.

Any suggestions?

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

File "/private/var/folders/wR/wRRw4W7cHX8BD5dByW-jjk+++TI/-Tmp-/tmpzS3ZG9/", line 2, in <module> exec compile(u"octave.eval('2+2')" + '\n', '', 'single') File "", line 1, in <module>

File "/Users/epenn/Math/Apps/", line 1039, in eval for L in code.split('\n') if L != '']) File "/Users/epenn/Math/Apps/", line 671, in _eval_line self._start() File "/Users/epenn/Math/Apps/", line 284, in _start Expect._start(self) File "/Users/epenn/Math/Apps/", line 458, in _start raise RuntimeError, "Unable to start %s" RuntimeError: Unable to start octave