On Sat, Dec 6, 2008 at 8:40 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Dear Sage-Devels,
>
> Let me again thank you for the excellent work put in building sage.

Thanks.  The suggestion you make below is now trac #4734:

  http://trac.sagemath.org/sage_trac/ticket/4734

>
> 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,
>
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> Carson REYNOLDS
> Project Assistant Professor
> University of Tokyo
> Department of Creative Informatics
> Engineering Building 6, Room 230
> 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
> www.k2.t.u-tokyo.ac.jp / [EMAIL PROTECTED]
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to