Ask Your Question

Rick's profile - activity

2016-07-22 13:12:51 +0200 received badge  Self-Learner (source)
2016-07-22 13:12:51 +0200 received badge  Teacher (source)
2016-07-22 13:09:30 +0200 received badge  Nice Question (source)
2013-08-19 14:21:43 +0200 received badge  Famous Question (source)
2012-05-10 03:52:46 +0200 received badge  Notable Question (source)
2011-10-20 15:30:02 +0200 received badge  Popular Question (source)
2011-02-17 07:06:32 +0200 received badge  Student (source)
2011-02-16 16:25:19 +0200 received badge  Scholar (source)
2011-02-16 16:25:19 +0200 marked best answer Running octave from the sage notebook

Have you let Sage know where Octave is? That is, is Octave in your PATH? What I mean is whether you can just type octave to launch octave, or if you have to do something like /path/to/octave/octave_executable (the latter might not be visible to Sage). Otherwise I'm out of ideas, too.

2011-02-16 16:25:04 +0200 answered a question Running octave from the sage notebook

As per kcrisman's answer above, I added a softlink from /opt/local/bin/octave to /usr/bin/octave, and now the sage server works. Similarly adding a link to /usr/local/bin/octave did not work.

2011-02-16 16:24:00 +0200 commented answer Running octave from the sage notebook

Solved. See the answer below.

2011-02-16 16:21:50 +0200 commented answer Running octave from the sage notebook

I believe so. My .bashrc file extends the path to include /opt/local/bin/, which is where MacPorts installs octave. However, I don't know whether *sage* can find octave. Maybe I'll try to make a soft link to /usr/local/bin/ or /usr/bin/ or something.

2011-02-16 16:20:09 +0200 received badge  Supporter (source)
2011-02-16 14:40:16 +0200 asked a question Running octave from the sage notebook

I'm trying to run octave through the sage notebook. When I try to evaluate a cell (e.g. x = linspace(0,1,100)), I get the error message:

RuntimeError: Unable to start octave

Examining the traceback in more detail doesn't point to anything that suggests how to fix the problem, and I was wondering whether anyone else had this problem. Octave is installed on my computer, and runs fine from the command line. Can anyone help me with this? Thanks in advance!