#8473: Make .sws files clickable
---------------------------------------------------------------------+------
   Reporter:  olazo                                                  |       
Owner:  iandrus   
       Type:  enhancement                                            |      
Status:  needs_work
   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  |  
---------------------------------------------------------------------+------
Changes (by kcrisman):

  * status:  needs_review => needs_work


Comment:

 > > >  * 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.

 Yeah, you're right - I found a random new sagenb folder there!

 One thing that happens is that your thing checks whether ANY other Sage
 server is running with the same folder of worksheets.  But I had a
 different Sage version already running through my usual
 !sage_notebook.sagenb, and that caused an error since it didn't have the
 syntax, I guess.  I don't know that that's a bug.

 I think that the extra `/` is causing problems, though.  Here are two
 things.  The second one works.
 {{{
 Downloads/sage-4.7.alpha1/sage -n upload="/Users/.../MAT338Day1-2011.sws"
 Downloads/sage-4.7.alpha1/sage -n upload="Users/.../MAT338Day1-2011.sws"
 }}}
 I think that one too many `/`s is messing things up.  But the first one IS
 the full path to the file, so this could be very confusing.  After all,
 {{{
 Downloads/sage-4.7.alpha1/sage -n upload="~/Downloads/MAT338Day1-2011.sws"
 }}}
 gives
 {{{
 exceptions.IOError: [Errno 2] No such file or directory:
 '/~/Downloads/MAT338Day1-2011.sws'
 }}}
 So we can't use that syntax for the local directory either.  Clearly the
 extra `/` isn't helping.

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