Hi

On 8 January 2015 at 07:27, Ivan Andrus <[email protected]> wrote:

> On Jan 7, 2015, at 9:04 PM, kcrisman <[email protected]> wrote:
>
> On Wednesday, January 7, 2015 7:57:36 PM UTC-5, Ruizhi Deng wrote:
>>
>> I'm a new comer to Sage and I'm running sage on my mac with OS X 10.10. I
>> started sage successfully for the first time but I have trouble running
>> sage after that. It constantly shows that Sage server failed to start.
>> And here's the log information I find. It might be useful.
>>
>
> Looks like the issues at
> https://groups.google.com/forum/#!topic/sage-support/_Ly5eQ2E-10 and
> originally reported in a different form at
> http://trac.sagemath.org/ticket/9873#comment:33
>
> Ivan, any ideas for a long-term fix on this?  This really should work
> without having to do
>
> Terminal Session > Sage > then type notebook().
>
> as suggested in that thread.
>
>
> I was able to reproduce this by running it once and killing the Terminal
> session that opened.  I suppose this could happen e.g. if the user doesn’t
> notice that a Terminal session was opened.
>
> From then on it will fail because the ~/.sage/sage_notebook.sagenb
> directory already exists.  Perhaps there’s something better that we can
> check for?  Perhaps ~/.sage/sage_notebook.sagenb/users.pickle would be
> sufficient?  It seems to not appear until the password has been
> successfully created, whereas the directory is created before asking for a
> password.
>
>

In our computer lab of ~ 70 students I get about one zero sized users.pickl
2-3 times per week.

(And one messed up conf.pickl once per month.)

It would be great if it failed more gracefully. I'm thinking of putting a
wrapper around our sagemath.desktop file to check for that zero size and if
so delete it. What are the security implications?

Regards,
Jan

-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to