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 create file system storage using a path with spaces #643

Closed
mig42 opened this issue Oct 6, 2020 · 4 comments
Closed

Unable to create file system storage using a path with spaces #643

mig42 opened this issue Oct 6, 2020 · 4 comments
Labels
bug 🐛 Issue concerns a bug.

Comments

@mig42
Copy link

mig42 commented Oct 6, 2020

Current behavior

I get an error message TypeError: Cannot read property '/' of undefined when I try to add a File System storage with a path that contains spaces. There are no error messages in the console. I'm using the company OneDrive, so I can't rename the directory.

Screenshot 2020-10-06 at 09 22 25

This doesn't happen in old Boostnote 0.16.1.

Expected behavior

I can add a file system storage using a path that contains spaces.

Steps to reproduce

  1. Open the "Create new storage" view
  2. Select "File system"
  3. Enter any value in "Name"
  4. Choose a path that contains spaces using "Select Folder"
  5. Click "Create Storage"

Environment

Desktop/Web

  • Boost Note.next version: 0.9.0
  • OS version and name: macOS Catalina 10.5.7, Windows 10 version 2004, OS build 19041.388
@Flexo013 Flexo013 added the needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. label Oct 6, 2020
@ilfuriano
Copy link

I found a temporary workaround in Windows 10.
Just create a symbolic link to your path without spaces.
Es. mklink /J C:\localStorage "C:\localstorage with space"

@mig42
Copy link
Author

mig42 commented Oct 10, 2020

Thanks @ilfuriano ! However, that doesn't work in macOS 😢 if I use a symlink, Boost Note will resolve the actual path and use it instead...

@kazup01 kazup01 assigned kazup01 and unassigned kazup01 Oct 15, 2020
@Flexo013 Flexo013 added bug 🐛 Issue concerns a bug. and removed needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. labels Oct 24, 2020
@guneskaan
Copy link
Contributor

Cannot reproduce in Mac Electron in v0.11.5

@Rokt33r
Copy link
Member

Rokt33r commented Aug 23, 2021

Cannot reproduce the problem. If you are still experiencing the same issue, please create a new issue in https://github.com/BoostIO/BoostNote.next-local/issues

@Rokt33r Rokt33r closed this as completed Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug.
Projects
None yet
Development

No branches or pull requests

6 participants