#7911: scilab interface is missing in the notebook dropdown menu
----------------------------+-----------------------------------------------
Reporter: olazo | Owner: was
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.3.2
Component: notebook | Keywords: scilab,notebook
Author: Mitesh Patel | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by rossk):
Theres new (but different errors) :-(
To confirm them as reproducible, I
* started from a pristine (backup) build,
* did only the "sage -python setup.py install" again,
* started the notebook to confirm scilab dropdown option had been added
(it was),
* quit the notebook (and sage) and added the new patch (as per your 4 line
tip),
* checked scilab opens ok and can do eye(3,3) then I closed it and
* restarted Sage and the notebook and selected the scilab option from the
dropdown
I then tested both eye(3,3) and 1+1 (both resulted in the following error)
{{{
Traceback (click to the left of this block for traceback)
...
RuntimeError: Unable to start scilab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_4.py", line 4, in <module>
print _support_.syseval(scilab,
ur\u0027\u0027\u00271+1\u0027\u0027\u0027,
\u0027/home/ross/.sage/sage_notebook.sagenb/home/admin/66/cells/2\u0027)
File "", line 1, in <module>
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sagenb-0.6-py2.6.egg/sagenb/misc/support.py", line 470, in
syseval
return system.eval(cmd, sage_globals, locals = sage_globals)
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sage/interfaces/scilab.py", line 274, in eval
s = Expect.eval(self, command,
**kwds).replace("\x1b[?1l\x1b>","").strip()
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sage/interfaces/expect.py", line 983, in eval
return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n')
if L != ''])
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sage/interfaces/expect.py", line 637, in _eval_line
self._start()
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sage/interfaces/scilab.py", line 261, in _start
Expect._start(self)
File "/home/ross/sage-4.3.2.alpha0/local/lib/python2.6/site-
packages/sage/interfaces/expect.py", line 472, in _start
raise RuntimeError, "Unable to start %s"%self.__name
RuntimeError: Unable to start scilab
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7911#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.