#5653: [with patch, needs review] display docstrings in the notebook using html
and jsMath
-------------------------+--------------------------------------------------
 Reporter:  jhpalmieri   |       Owner:  jhpalmieri
     Type:  enhancement  |      Status:  assigned  
 Priority:  major        |   Milestone:  sage-4.0.1
Component:  notebook     |    Keywords:            
-------------------------+--------------------------------------------------

Comment(by jason):

 This is awesome!

 When doing a double-question mark in Sage 4.0, I get:

 {{{
 Traceback (most recent call last):
   File "", line 1, in
   File "/home/jason/.sage/sage_notebook/worksheets/admin/7/code/10.py",
 line 6, in
     print _support_.source_code("sudoku", globals(), system="sage")
   File "/home/jason/sage/local/lib/python2.5/site-
 packages/sage/server/support.py", line 240, in source_code
     lines, lineno = sageinspect.sage_getsourcelines(obj, is_binary=False)
   File "/home/jason/sage/local/lib/python2.5/site-
 packages/sage/misc/sageinspect.py", line 568, in sage_getsourcelines
     return inspect.getsourcelines(obj)
   File "/home/jason/sage/local/lib/python/inspect.py", line 618, in
 getsourcelines
     lines, lnum = findsource(object)
   File "/home/jason/download/sage-4.0.rc2/local/lib/python2.5/site-
 packages/IPython/ultraTB.py", line 151, in findsource
 IOError: could not get source code
 }}}

 However, this may not be an issue with this patch. The directories above
 are the directories in which I built sage.  However, I moved Sage since
 then, so the directories above no longer exist.  Why are the directory
 paths not updated when I move the Sage directory (and start up Sage)?

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