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

Unable to save in an 'untitled folder' directory #6028

Closed
wood-chris opened this issue Mar 31, 2021 · 1 comment · Fixed by #6030
Closed

Unable to save in an 'untitled folder' directory #6028

wood-chris opened this issue Mar 31, 2021 · 1 comment · Fixed by #6030

Comments

@wood-chris
Copy link

wood-chris commented Mar 31, 2021

Describe the bug

Saving a notebook in an "untitled folder" generates an error

To Reproduce
Steps to reproduce the behavior:

  1. Run a jupyter notebook session

  2. Click on New -> New Folder

  3. This creates a directory called "Untitled Folder"

  4. Enter this folder, and create a new notebook }

  5. File -> Save as shows Untitled%20Folder - adding a file name after this, ending up with Untitled%20Folder/my_notebook.ipynb and click save. Error shows:

     ```Unexpected error while saving file: Untitled%%20Folder/test.ipynb [Errno 2] No such file or directory: '/Users/chris/Untitled%%20Folder/test.ipynb'```
    

    it looks like it's added an extra percent symbol in the directory name

Expected behavior
The notebook should save without error!

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS Catalina
  • Browser: Chrome
  • Version: Version 89.0.4389.90 (Official Build) (x86_64)
@kevin-bates
Copy link
Member

Hi @wood-chris - thank you for opening this issue. I can reproduce this (even back to Notebook 5.7.8) and would characterize the issue as "SaveAs into space-separated folder fails". We'll need to take a look.

In the meantime, you should be able to work around this via Duplicate/Rename/{modify}/Save/Delete{original} or use the Lab extension as I'm unable to reproduce it using jupyter lab.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants