Undeletable worksheets
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?
It sounds like you may need to delete some other directory. Can you update with a longer version of the error message?
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.