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

Boostnote Hanging on 'Loading Data...' upon open #1031

Closed
jacobhutchinson opened this issue Jun 30, 2021 · 4 comments
Closed

Boostnote Hanging on 'Loading Data...' upon open #1031

jacobhutchinson opened this issue Jun 30, 2021 · 4 comments

Comments

@jacobhutchinson
Copy link

jacobhutchinson commented Jun 30, 2021

Boostnote.next is hanging when opening. This happened shortly after upgrading to the newest version and converting my data to a local file system. Things were working fine until my desktop died (power blackout). Now it just hangs on 'Loading Data...'. In the Dev Console, it has the following output errors:

Capture

  • Boost Note.next version: 0.19.0
  • OS version and name: Windows 10

Love BoostNote.next by the way. I hope to get back to using it soon, it is fairly essential for my workflow.

@Komediruzecki
Copy link
Contributor

Komediruzecki commented Jun 30, 2021

Hi, jacobhutchinson,

Are you familiar how boost note stores local storages? If yes, please make a backup first.

Then try the following:

Move the location of your storage (all boost note next storage data, that is boostnote.json file, and notes and attachments folder) - to somewhere else.

Try to open the boost note now, it will load either empty storage or not load that storage causing a problem.

You can then go to create new space (local space) and select your new destination, where you moved the storage. It should load it correctly.

Also, did you try reloading the application, after you got this error?

Can you inspect boost note folder location and see if there are any hidden or corrupted files inside, the location should contain only:

  1. boostnote.json file - main file which contains storage metadata
  2. notes folder with all your notes
  3. attachments folder with all your attachments

This loading issue could be due to a fact that boostnote was writing some data on disk, probably a note or boostnote.json reload and it corrupted the file, can you please inspect all notes and boostnote.json file in your storage location and see if it has corrupted data?

The boostnote.json is a JSON format and it should be a proper JSON format.

I added some better handing of loading multiple storages, and errors locally, it should be available in next release, with that, we can easily debug such stuck on loading situations.

Please provide more details about your storage, and if you can, contact me directly on slack to resolve this faster.

Thank you for your patience!

@jacobhutchinson
Copy link
Author

jacobhutchinson commented Jun 30, 2021

Hi there, thanks for the quick feedback.

So firstly, I backed up the storage and moved the file location, then restarted Boostnote. When I opened it, it created a new notes folder with all 3 of those files inside of it with the notes folder empty, however, it still hangs on 'Loading Data...', so hopefully that means its not a corrupted note that is the problem. It does not allow me to add a new Local Space, as nothing pops up when I select it from the File menu. I did attempt to Reload and Force Reload the application several times to no avail.

I was going to post this information before but then you responded, but I accidentally created the new local storage space inside of my old local storage space, meaning that inside of my previous notes folder, containing the previous local storage files, was the boostnote.json, attachments and notes folders. Not sure if this accidental nested notes folder situation could have caused this. Since removing those folders entirely above didn't seem to work, I am not sure if this is connected however.

Also, I can move this over to slack if you prefer. Should I just use the listed Slack from the app?

@jacobhutchinson
Copy link
Author

For anyone else searching for an answer here, my problem likely resulted from the accidental nesting of my notes folder. If you did something similar, before anything else backup your entire data, then I did a deep uninstall of Boost Note (deleted all relevant directories I could find) and did a clean install, pointed it towards my (now no longer nested) notes folders and it worked out. Some of my files were moved to the archive section but restoring them was easy. Good Luck! Will close this, as I believe this was the issue.

@Komediruzecki
Copy link
Contributor

Komediruzecki commented Jul 1, 2021

I was going to post this information before but then you responded, but I accidentally created the new local storage space > inside of my old local storage space, meaning that inside of my previous notes folder, containing the previous local storage files, was the boostnote.json, attachments and notes folders.

I think we will reproduce this issue locally and fix it for the next release, so that nested boost note locations are recognized and handled correctly (by ignoring), or possibly warning about this, since it is not a nice setup, and as I see it, a lot of people do that acciddently, so it's not so rare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants