It seems that octave is not installed in your virtual machine. Did you install it? If it is so, try in a console

   octave --version

Vincent

On 26/04/15 20:15, Brenton wrote:
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "_sage_input_6.py", line 10, in <module>
     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
-*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("b2N0YXZlKDEp"),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
   File "", line 1, in <module>

   File "/tmp/tmpgJkMld/___code___.py", line 3, in <module>
     exec compile(u'octave(_sage_const_1 )
   File "", line 1, in <module>

   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/interface.py"
, line 172, in __call__
     return self._coerce_from_special_method(x)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/interface.py"
, line 198, in _coerce_from_special_method
     return (x.__getattribute__(s))(self)
   File "sage/structure/sage_object.pyx", line 778, in sage.structure.
sage_object.SageObject._octave_ (build/cythonized/sage/structure/sage_object
.c:9047)
   File "sage/structure/sage_object.pyx", line 593, in sage.structure.
sage_object.SageObject._interface_ (build/cythonized/sage/structure/
sage_object.c:5154)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/interface.py"
, line 170, in __call__
     return cls(self, x, name=name)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"
, line 1305, in __init__
     self._name = parent._create(value, name=name)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/interface.py"
, line 360, in _create
     self.set(name, value)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/octave.py"
, line 300, in set
     out = self.eval(cmd)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"
, line 1222, in eval
     for L in code.split('\n') if L != ''])
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"
, line 819, in _eval_line
     self._start()
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/octave.py"
, line 285, in _start
     Expect._start(self)
   File
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"
, line 448, in _start
     raise RuntimeError("unable to start %s" % self.name())
TypeError: unable to start octave


On Monday, 27 April 2015 04:12:56 UTC+10, vdelecroix wrote:

In a sage worksheet what happens if you evaluate a cell with

      octave(1)

Vincent

On 26/04/15 20:01, Brenton wrote:
Here it is:

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(octave, u'pi',
__SAGE_TMP_DIR__)"
+ '\n', '', 'single')
    File "", line 1, in <module>

    File

"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/misc/support.py"

, line 438, in syseval
      return system.eval(cmd, sage_globals, locals = sage_globals)
    File

"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"

, line 1222, in eval
      for L in code.split('\n') if L != ''])
    File

"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"

, line 819, in _eval_line
      self._start()
    File

"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/octave.py"

, line 285, in _start
      Expect._start(self)
    File

"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/interfaces/expect.py"

, line 448, in _start
      raise RuntimeError("unable to start %s" % self.name())
RuntimeError: unable to start octave


On Monday, 27 April 2015 03:35:40 UTC+10, vdelecroix wrote:

Could you click on the left where the error message appear and
copy/paste here the full traceback of the error.

On 26/04/15 19:23, Brenton wrote:
I managed to install both pieces of software, although oddly now Sage
notebook is having trouble starting octave & doesn't recognize that
PDFLatex has been installed. I ran these commands through the
terminal:

sudo "yum install octave texlive"

as Sage 6.6 seems to run through Cent OS even though I set the OS for
the
virtual machine (VM) to Ubuntu (32 bit). I then closed the VM and
re-opened
& re-ran these commands. Attached is a screenshot showing my exact
errors
in sage notebook relating to PDFLatex & Octave.

On Monday, 27 April 2015 01:50:28 UTC+10, Brenton wrote:

Hi,

I am new to VirtualBox but I have Sage running running now through it
but
I haven't a clue how to get octave & pdflatex installed on this
virtual
machine. The OS of the virtual machine on which Sage is running is
Ubuntu
32 bit. My PC is Windows 7 64 bit. I have Octave installed on my host
OS
(i.e., the Win 7 64 bit) and it is in my PATH environment variable.

Thanks for your time,
Brenton







--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to