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

can not add storage #1871

Open
TangSirOnGit opened this issue Apr 26, 2018 · 21 comments
Open

can not add storage #1871

TangSirOnGit opened this issue Apr 26, 2018 · 21 comments
Labels
bug 🐛 Issue concerns a bug. level 2 ❗ A bug that causes major damage: App is barely usable, since major features are not working.

Comments

@TangSirOnGit
Copy link

TangSirOnGit commented Apr 26, 2018

Current behavior

After I reboot my mac this morning, the bootsNote did not load the local notes.
Then I open the preferences page, the storage is empty, and I can not add storage.
the add button on this page is invalid.

2018-04-26 12 36 22

@TangSirOnGit
Copy link
Author

Environment

  • Version : 0.11.4
  • OS Version and name : mac OS 10.1.3.4

@rayou
Copy link
Contributor

rayou commented Apr 26, 2018

Hi @TangSirOnGit

Did your dropbox folder mount successfully?

@jeffreyzupka
Copy link

Hello. I am also seeing the same issue after updating to version 0.11.4. I am trying to add an existing Dropbox storage location. My environment

  • Version: 0.11.4
  • OS: macOS 10.13.2

@rdx565
Copy link

rdx565 commented Jun 1, 2018

Hi. I'm seeing the same issue after updating to version 0.11.5.

Dropbox is available and syncing. I can open the files in boostnote-mobile in other apps, but I can't add it to the Boostnote Mac app as storage and any folder that is added vanishes on restarting. This includes local folders which are not synced in any way.

My environment:
Version 0.11.5
OS: macOS 10.13.4

@rayou
Copy link
Contributor

rayou commented Jun 1, 2018

Hi @rdx565

Could you open developer tools (View -> Toggle Developer Tools) then switch to console tab, add the folder again, if you see any error logs, please paste it here.

Thanks

@rdx565
Copy link

rdx565 commented Jun 1, 2018

As requested:

main.js:4005 Uncaught (in promise) TypeError: Cannot read property 'forEach' of undefined
at file:///Applications/Boostnote.app/Contents/Resources/app/compiled/main.js:4005:19
at Array.forEach (native)
at data (file:///Applications/Boostnote.app/Contents/Resources/app/compiled/main.js:3982:21)
at file:///Applications/Boostnote.app/Contents/Resources/app/node_modules/redux/dist/redux.min.js:1:5926
at s (file:///Applications/Boostnote.app/Contents/Resources/app/node_modules/redux/dist/redux.min.js:1:1820)
at file:///Applications/Boostnote.app/Contents/Resources/app/compiled/main.js:62962:10
at :null:null

(anonymous) @ main.js:4005
data @ main.js:3982
(anonymous) @ redux.min.js:1
s @ redux.min.js:1
(anonymous) @ main.js:62962

@VizualAbstract
Copy link

I'm also experiencing this problem. All of my notes for several important meetings coming up are stored here, now I have no access to them.

@VizualAbstract
Copy link

VizualAbstract commented Jun 12, 2018

In desperate need of those notes, so I just went into Boostnote.app/Contents/Resources/app/compiled/main.js and on line 3595, I added:

if (!note.tags) { return; }

@rdx565
Copy link

rdx565 commented Jun 13, 2018

@VizualAbstract's solution above worked for me. Many thanks.

@VizualAbstract
Copy link

VizualAbstract commented Jun 13, 2018

I had to add it in several other locations as well (within the same file), mostly anywhere note.tags is being used.

@rdx565
Copy link

rdx565 commented Jul 11, 2018

This solution works, but has to be redone whenever the app updates, is an official solution possible?

@ismaeIfm
Copy link

I had the same issue, but I noticed that if I deleted some of the notes I could add the storage, so I thought that there was a problem in some of the notes. I checked all of them and I found that one note had these contents:
'content': ''
So I just deleted and everything works fine. Hope this helps.

@Flexo013
Copy link
Contributor

If this issue occurs again, then comment here and we will reopen this issue.

@ismaeIfm
Copy link

ismaeIfm commented Nov 19, 2019

For me happens every once in a while. And every time it happens I just need to delete the note that has 'content': '' and everything works again. I also use Dropbox sync.

@Flexo013 Flexo013 reopened this Nov 19, 2019
@Flexo013
Copy link
Contributor

@ismaeIfm When this occurs is it happening to a specific note? Is it large, small, or just random? Do you recover the contents of the lost note using Dropbox? Any other things that you have noticed that might help in pinning down the cause of this issue?

@mdeuerlein
Copy link
Contributor

Same here with a dropbox synced storage. Boostnote lost the storage and it cannot be re-added so it's not possible access my notes and content. Moving the content from the dropbox folder to a local folder outside the dropbox doesn't fix the problem.

Error Message in Developer Tools when trying to re-add the storage:

Screenshot

Uncaught (in promise) TypeError: Cannot read property 'forEach' of undefined
    at assignToTags (file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/compiled/main.js:5141:9)
    at file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/compiled/main.js:4741:10
    at Array.some (<anonymous>:null:null)
    at data (file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/compiled/main.js:4722:21)
    at file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/node_modules/redux/dist/redux.min.js:1:4863
    at a (file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/node_modules/redux/dist/redux.min.js:1:1193)
    at file:///private/var/folders/fy/89kjv9gs5sxdn9b21p6ts0mc0000gn/T/AppTranslocation/02C32412-1718-4720-8774-BEC44B6BC5D6/d/Boostnote.app/Contents/Resources/app/compiled/main.js:68302:10

Boostnote Version 0.11.15
MacOS Catalina 10.15.2

@mdeuerlein
Copy link
Contributor

mdeuerlein commented Jan 1, 2020

For me happens every once in a while. And every time it happens I just need to delete the note that has 'content': '' and everything works again. I also use Dropbox sync.

fixed my problem. thanks @ismaeIfm

@ismaeIfm
Copy link

ismaeIfm commented Jan 2, 2020

@ismaeIfm When this occurs is it happening to a specific note? Is it large, small, or just random? Do you recover the contents of the lost note using Dropbox? Any other things that you have noticed that might help in pinning down the cause of this issue?

@Flexo013 it seems to be a new random note every time.

@Flexo013 Flexo013 added bug 🐛 Issue concerns a bug. level 2 ❗ A bug that causes major damage: App is barely usable, since major features are not working. labels Jan 2, 2020
@Flexo013
Copy link
Contributor

Flexo013 commented Jan 2, 2020

@ismaeIfm Hmmm, that will make it hard to find out what's causing this. Currently my best guess if some quirk in combination with how Dropbox updates/syncs files.

@ismaeIfm
Copy link

@Flexo013 I have noticed when it happens and the thing is that this random note with content 'content': '' appears every time I access my notes with the iOS app BoostIO/boostnote-mobile#201

@Flexo013
Copy link
Contributor

@ismaeIfm The iOS app is no longer supported. So any bugs caused by it will not be fixed.

There are no plans for a mobile app for Boostnote. Boost Note.next does have a mobile version planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. level 2 ❗ A bug that causes major damage: App is barely usable, since major features are not working.
Projects
None yet
Development

No branches or pull requests

8 participants