Undeletable worksheets

asked 2013-04-17 17:19:05 -0500

Vanchinathan gravatar image

updated 2016-07-05 15:03:54 -0500

FrédéricC gravatar image

Lot of empty worksheets got created when I allowed my colleague to access my sage notebook server. When I login as admin in my machine all those empty worksheets of that user clutter up my screen pushing down my own worksheets. I was never able to delete them the way I delet worksheets of my own. So I deleted the directory in my colleague's name found in the directory: ./sage/sage_notebook.sagenb/home/

Now I am not able to start notebook server. My browser's address bar shows: http://localhost:8080/home/admin/ but otherwise empty. Possibly I did a stupid thing. How to recover? The last line of error message in console is:

File "/usr/local/sage-5.3/devel/sagenb/sagenb/storage/filesystem_storage.py", line 115, in _user_path os.rename(path, new_path) exceptions.OSError: [Errno 39] Directory not empty

Can anyone help?

edit retag flag offensive close merge delete


It sounds like you may need to delete some other directory. Can you update with a longer version of the error message?

kcrisman gravatar imagekcrisman ( 2013-04-17 17:34:55 -0500 )edit

Also, a different solution might have been to get your colleague to log in and delete them. Typically on a notebook server for multiple people, one doesn't log in as admin! So this is an interesting use case.

kcrisman gravatar imagekcrisman ( 2013-04-17 17:35:51 -0500 )edit