#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):

 First, thanks for saving me all that work (and the explanation :-)

 1) I installed scilab 5.2.0 (and I modified my path to include its binary
 path) and in running it I tried "scilab -nogui" and guess what... (it
 found scilab on the path and) NO ERROR!

 2) Fired up the notebook, selected "scilab (optional)" then tried "1+1"
 and got...

 ...an error :-(

 But something was different, my spider-sense was tingling...  ;-)

 I had forgot to export the new path (to scilab) in the terminal I was
 running Sage in.

 I did that and... voila!

 The following worked
 {{{
 # "scilab (optional)" selected from dropdown
 1+1
 ------
 eye(3,3)
 ------
 # "sage" selected
 %scilab
 1+1
 ------
 scilab('eye(3,3)')
 ------
 % scilab
 1+1
 ------
 # only format that didnt work under "sage" dropdown was...
 eval.scilab('1+1')


 Traceback (click to the left of this block for traceback)
 ...
 AttributeError: 'builtin_function_or_method' object has no attribute
 'scilab'

 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "_sage_input_8.py", line 4, in <module>
     open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" +
 
_support_.preparse_worksheet_cell(base64.b64decode("ZXZhbC5zY2lsYWIoJzErMScp"),globals())+"\n");
 execfile(os.path.abspath("___code___.py"))
   File "", line 1, in <module>

   File "/tmp/tmpScHOqE/___code___.py", line 2, in <module>
     eval.scilab(\u00271+1\u0027)
   File "", line 1, in <module>

 AttributeError: 'builtin_function_or_method' object has no attribute
 'scilab'
 }}}

 Now pls let me know what other checks I need to do and how to do some doc
 tests (all doc test might wait till I get a sage account soon)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7911#comment:18>
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.

Reply via email to