[GH-ISSUE #643] Unable to create file system storage using a path with spaces #337

Closed
opened 2026-03-03 00:20:23 +03:00 by kerem · 4 comments
Owner

Originally created by @mig42 on GitHub (Oct 6, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/643

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
Originally created by @mig42 on GitHub (Oct 6, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/643 # 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. <img width="1312" alt="Screenshot 2020-10-06 at 09 22 25" src="https://user-images.githubusercontent.com/4534635/95176976-e52bd300-07bd-11eb-88fb-e85312b91235.png"> 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
kerem 2026-03-03 00:20:23 +03:00
  • closed this issue
  • added the
    bug 🐛
    label
Author
Owner

@ilfuriano commented on GitHub (Oct 7, 2020):

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"

<!-- gh-comment-id:704935018 --> @ilfuriano commented on GitHub (Oct 7, 2020): 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"`
Author
Owner

@mig42 commented on GitHub (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...

<!-- gh-comment-id:706578467 --> @mig42 commented on GitHub (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...
Author
Owner

@guneskaan commented on GitHub (Dec 13, 2020):

Cannot reproduce in Mac Electron in v0.11.5

<!-- gh-comment-id:743966345 --> @guneskaan commented on GitHub (Dec 13, 2020): Cannot reproduce in Mac Electron in v0.11.5
Author
Owner

@Rokt33r commented on GitHub (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

<!-- gh-comment-id:903602867 --> @Rokt33r commented on GitHub (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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#337
No description provided.