Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JupyterLab clean fails #5397

vilim opened this issue Sep 28, 2018 · 1 comment

JupyterLab clean fails #5397

vilim opened this issue Sep 28, 2018 · 1 comment


Copy link

@vilim vilim commented Sep 28, 2018

On installing a new release of jupyter lab, the clean command fails:

>>> jupyter lab clean
Command Line Output
Traceback (most recent call last):
  File "C:\Users\vilim\anaconda3\Scripts\", line 10, in 
  File "C:\Users\vilim\anaconda3\lib\site-packages\jupyter_core\", line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "C:\Users\vilim\anaconda3\lib\site-packages\traitlets\config\", line 658, in launch_instance
  File "C:\Users\vilim\anaconda3\lib\site-packages\notebook\", line 1605, in start
    super(NotebookApp, self).start()
  File "C:\Users\vilim\anaconda3\lib\site-packages\jupyter_core\", line 255, in start
  File "C:\Users\vilim\anaconda3\lib\site-packages\jupyterlab\", line 88, in start
  File "C:\Users\vilim\anaconda3\lib\site-packages\jupyterlab\", line 259, in clean
  File "C:\Users\vilim\anaconda3\lib\", line 494, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "C:\Users\vilim\anaconda3\lib\", line 384, in _rmtree_unsafe
    _rmtree_unsafe(fullname, onerror)
  File "C:\Users\vilim\anaconda3\lib\", line 384, in _rmtree_unsafe
    _rmtree_unsafe(fullname, onerror)
  File "C:\Users\vilim\anaconda3\lib\", line 384, in _rmtree_unsafe
    _rmtree_unsafe(fullname, onerror)
  [Previous line repeated 5 more times]
  File "C:\Users\vilim\anaconda3\lib\", line 389, in _rmtree_unsafe
    onerror(os.unlink, fullname, sys.exc_info())
  File "C:\Users\vilim\anaconda3\lib\", line 387, in _rmtree_unsafe
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\vilim\\anaconda3\\share\\jupyter\\lab\\staging\\node_modules\\jupyter-matplotlib\\node_modules\\.cache\\uglifyjs-webpack-plugin\\content-v2\\sha512\\1b\\7f\\707b368483003ea3ed7d06267d3b1a046d0475617913b477c2852ba74d40e951e6eaf980d95d93160914c59bc9e3e8732d04f0339fbe7ea9348b943f2fc6'

I am running Windows 10, and I have the newest release of JupyterLab, 0.34.12 installed.

Copy link

@blink1073 blink1073 commented Sep 28, 2018

Thanks for the report, @vilim! We'll get this fixed for the upcoming release. Dev note: we just need to wrap rmtree in a try/except because it tends to throw spurious errors.

@blink1073 blink1073 added this to the 0.35 milestone Sep 28, 2018
@blink1073 blink1073 added the bug label Sep 28, 2018
@blink1073 blink1073 mentioned this issue Sep 28, 2018
31 tasks
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants