#8473: Make .sws files clickable
---------------------------------------------------------------------+------
Reporter: olazo |
Owner: iandrus
Type: enhancement |
Status: needs_review
Priority: minor |
Milestone: sage-4.7
Component: notebook |
Keywords:
Author: Ivan Andrus |
Upstream: N/A
Reviewer: Karl-Dieter Crisman |
Merged:
Work_issues: document option, only require login when it should be |
---------------------------------------------------------------------+------
Comment(by kcrisman):
> > Okay, needs work because this option isn't documented. Ordinarily I
wouldn't be as strict with NB stuff because so little of it is documented
anyway, but I think it is key that `notebook?` tells us what happens.
>
> Good point. I have added documentation for `notebook?`. Does it need
documentation in `sage --advanced` as well?
No, because that says the options are as in `notebook()` in the command
line, which covers it.
> > * You said you added something to fix special character issues, but I
don't know where that is, other than the place where you import urllib -
but you only do that in the case that someone needs to log in. Is that
the only place it's needed? This could just be my ignorance speaking.
>
> You are right, there was a bug there. I need it both places. Thanks.
Good.
> > * Looks like file names with spaces have to be escaped with the
syntax `./sage -n /path/to/work\ sheet.sws'
>
> Yes. They have to be escaped for the shell so that they appear as one
argument. That's the same as any argument to `sage -n`. However, I
should point out that the syntax is `sage -n upload="/path/to work
sheet.sws"`. I guess that's why we need documentation, eh? :-)
Hah! But it's nice that this also works.
> > * I also discovered what might be a bug, or maybe it's a feature...
trying to upload a file via `./sage -n /path/to/sws.sws` asks for a new
password for admin. That is really annoying, esp. if this is only
supposed to work on a local machine anyway!
>
> I think what's happening here is it's starting a new notebook server
with /path/to/sws.sws as it's directory or something. I think that's why
it's asking for a password.
Hmm. So if I use the upload= syntax I should be okay?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8473#comment:17>
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.