#4734: sage -notebook option now broken
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  boothby   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.2.2
Component:  notebook  |    Keywords:            
----------------------+-----------------------------------------------------
 {{{

 Dear Sage-Devels,

 Let me again thank you for the excellent work put in building sage.

 I've found a bug in the most recent release. Specifically, when
 invoked with the -notebook switch, the current release does not
 properly quote paths. So, if I execute:

 /Applications/sage/sage -notebook "/Users/carson/doc/math/
 sage_notebook/"

 Sage says:

 Traceback (most recent call last):
  File "/Applications/sage/local/bin/sage-notebook", line 14, in
 <module>
    exec "notebook(" + ",".join(sys.argv[1:]) + ")"
  File "<string>", line 1
    notebook(/Users/carson/doc/math/sage_notebook/)
             ^
 SyntaxError: invalid syntax

 If I edit the offending line in local/bin/sage-notebook:

    exec "notebook(" + ",".join(sys.argv[1:]) + ")"

 To instead read:

    exec "notebook('" + ",".join(sys.argv[1:]) + "')"

 Then the -notebook switch works as expected. Please consider using the
 following sage-notebook file to correct this bug:

 http://bentham.k2.t.u-tokyo.ac.jp/media/bugs/sage/sage-notebook

 Cheers,
 }}}

 Makes sense.  This was indeed caused by a patch in the last version of
 sage.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4734>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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