BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.07k stars 1.47k forks source link

TypeError: "Cannot read property '/' of undefinded" while attempting to reuse a workspace #3693

Open mxmv opened 3 years ago

mxmv commented 3 years ago

Current behavior

I've created a workspace on my Mac and synced it with Dropbox. On Mac it works perfectly.

On another PC which is running Windows 10 I've tried to import the workspace by clicking on the "Create a local space without creating an account" link.

I've specified the directory of the workspace synced by Dropbox and after pressing "Create space", I've got the following error - "TypeError: Cannot read property '/' of undefinded". No entries are logged in the console when this message is displayed.

The boostnote.json / *.cson files look sane in the Dropbox folder on Windows.

image

Expected behavior

The workspace is imported into Boostnote and accessible.

Steps to reproduce

  1. Create a workspace on a Mac in a folder synced by Dropbox.
  2. Sync the workspace to a Windows box.
  3. Try to import the workspace on Windows using the "Create local space..." link.

Environment

mxmv commented 3 years ago

Works on Arch Linux, but I've went though the "Add storage location" UI flow, which is not present on the Windows version.

zak39 commented 3 years ago

I'm sorry I created a double issue : https://github.com/BoostIO/Boostnote/issues/3707 .

I have the same problem with my Windows 10? I target my Synology Nas.

But, It works on my Ubuntu 20.04 laptop side

It's very strange

Komediruzecki commented 3 years ago

Hi, zak39,

The application you are showing is boost note next, and you are trying to import notes from legacy cloud storage into it. To correctly import the legacy notes please create a storage first and then go to preferences (preferences | space | import from legacy) and import the notes from legacy boost note application via the import form.

If you encounter any other issues with boost note next application, please open issue in boost note next repository: https://github.com/BoostIO/BoostNote.next

If you want to import the notes into boost note legacy (on another PC/system), you should use boost note legacy application.