There's actually currently no way in the Sage notebook to delete a worksheet.
You can move it to the trash, but there's no functionality for actually purging
the trash. So it's very curious that this happened. Do the students have *any*
hints at all about what they might have done to cause the behavior? I wonder
if there are any hints in the worksheet files themselves?
Sorry we haven't had any ideas yet, but in any case I think it's very helpful
that you reported this, so that we can keep it in mind, and if anything similar
comes up know that it isn't just an isolated incident.
By the way, do your run the worksheet processes under a separate user from
the sage notebook, e.g, use the server_pool option? If you don't on a public
notebook server, maybe a student did something very nefarious that resulted
in a deleted worksheet.
> I looked in the notebook files and the
> worksheets were still there, just not visible on the list of
> worksheets. Any guesses on what happened? As a stopgap, I manually
> pasted in the worksheet text to a new copy, but if this happens a lot
> it will really aggravate them.
>
> -M. Hampton
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
If I am doing something incorrectly, please let me know. On a positive
note, since I have Leopard the icon for my SAGE alias on the desktop
is no longer the ugly unix executable. The very colorful Tachyon
graphic of random spheres now serves in its place. It is just like the
old days when all you had to do was drop the graphic into the info menu.
Tom Rike
You should have been able to run your original notebook server by doing
sage: notebook(dir="sage_notebook")
where sage_notebook is the directory where your sage notebook is located.
The only change in the notebook since 2.8 was to make the default for dir
$HOME/.sage/sage_notebook
Alternatively, you could have deleted $HOME/.sage/sage_notebook
and then done
cp -rv $HOME/sage_notebook $HOME/.sage/
> By the way, do your run the worksheet processes under a separate user from
> the sage notebook, e.g, use the server_pool option? If you don't on a public
> notebook server, maybe a student did something very nefarious that resulted
> in a deleted worksheet.
>
Is the VMware image set up to do this automatically? I'd like to use
the VMware image for a server, but want it to provide as much security
as possible.
Thanks,
Jason
No, it's not, but this would be easy to do. Great idea.
William
Yes, I think you should use server_pool with another account if that
is an option for you. It greatly increases the security of the notebook.
> There was nothing out of the ordinary about the worksheet files that I
> could see. What determines which worksheets are displayed on the
> "Home" screen?
The notebook object has a list of users, and each user has a list
of worksheets that they own.
> If this happens again, my students are going to be very irritated. I
> hope it was a fluke. Tomorrow they will have a lab and will be
> hitting these machines pretty hard.
You might encourage them to click File --> Save to File and make
a copy of their important worksheet(s) to a file.
-- William