Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Error when deleting a directory #477

@sivapvarma

Description

@sivapvarma

On https://www.juliabox.com I get a pop up with the following message when I try to delete a user created directory "Tutorial" which is a copy of the stock "tutorial" directory.

Delete Failed.
An error occurred when deleting "Tutorial"

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/IPython/html/base/handlers.py", line 441, in wrapper result = yield gen.maybe_future(method(self, _args, *_kwargs)) File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1008, in run value = future.result() File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 232, in result raise_exc_info(self._exc_info) File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 282, in wrapper yielded = next(result) File "/usr/local/lib/python2.7/dist-packages/IPython/html/services/contents/handlers.py", line 252, in delete yield gen.maybe_future(cm.delete(path)) File "/usr/local/lib/python2.7/dist-packages/IPython/html/services/contents/manager.py", line 228, in delete self.delete_file(path) File "/usr/local/lib/python2.7/dist-packages/IPython/html/services/contents/filemanager.py", line 437, in delete_file shutil.rmtree(os_path) File "/usr/lib/python2.7/shutil.py", line 232, in rmtree onerror(os.path.islink, path, sys.exc_info()) File "/usr/lib/python2.7/shutil.py", line 230, in rmtree raise OSError("Cannot call rmtree on a symbolic link") OSError: Cannot call rmtree on a symbolic link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions