[GH-ISSUE #581] Window stuck in Loading data #296

Closed
opened 2026-03-03 00:20:01 +03:00 by kerem · 25 comments
Owner

Originally created by @sisoe24 on GitHub (Aug 11, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/581

Current behavior

App window stuck in Loading data... screen.
Reloading/Force Reloading, quitting the app or rebooting the computer does not solve it.
The options work fine, I can check for updates and so on.

Screen Shot 2020-08-11 at 6 22 24 PM

Steps to reproduce

Can't verify that it happens again but what I did was Reloading the app with the shortcut CMD R after adding a new local storage.

Environment

  • Boostnote version: 0.8.2
  • OS version and name: macOS Mojave 10.14.6
Originally created by @sisoe24 on GitHub (Aug 11, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/581 # Current behavior App _window_ stuck in _Loading data..._ screen. Reloading/Force Reloading, quitting the app or rebooting the computer does not solve it. The options work fine, I can check for updates and so on. <img width="571" alt="Screen Shot 2020-08-11 at 6 22 24 PM" src="https://user-images.githubusercontent.com/28490646/89954756-aafbe600-dbff-11ea-9024-76dab8a280fe.png"> # Steps to reproduce Can't verify that it happens again but what I did was Reloading the app with the shortcut _CMD R_ after adding a new local storage. # Environment - Boostnote version: 0.8.2 - OS version and name: macOS Mojave 10.14.6
Author
Owner

@JohnVidler commented on GitHub (Aug 12, 2020):

Seeing the same behavior on Windows 10, Boostnote 0.8.2.

Are you also getting this error in the console (via view -> toggle developer tools):

TypeError: Cannot read property '/' of undefined
    at t.a.getFolder (FSNoteDb.ts:113)
    at t.a.upsertFolder (FSNoteDb.ts:142)
    at t.a.init (FSNoteDb.ts:75)
    at async Dr (createStore.ts:1414)
    at async Promise.all (index 0)
    at async file:/C:/Users.../boostnote.next/resources/app/compiled/bundle.js:1392

(slightly redacted install path, but otherwise untouched)

<!-- gh-comment-id:672426067 --> @JohnVidler commented on GitHub (Aug 12, 2020): Seeing the same behavior on Windows 10, Boostnote 0.8.2. Are you also getting this error in the console (via view -> toggle developer tools): ``` TypeError: Cannot read property '/' of undefined at t.a.getFolder (FSNoteDb.ts:113) at t.a.upsertFolder (FSNoteDb.ts:142) at t.a.init (FSNoteDb.ts:75) at async Dr (createStore.ts:1414) at async Promise.all (index 0) at async file:/C:/Users.../boostnote.next/resources/app/compiled/bundle.js:1392 ``` (slightly redacted install path, but otherwise untouched)
Author
Owner

@Rokt33r commented on GitHub (Aug 13, 2020):

@sisoe24 Can open dev tools and share the error message to here like https://github.com/BoostIO/BoostNote.next/issues/581#issuecomment-672426067?

<!-- gh-comment-id:673761664 --> @Rokt33r commented on GitHub (Aug 13, 2020): @sisoe24 Can open dev tools and share the error message to here like https://github.com/BoostIO/BoostNote.next/issues/581#issuecomment-672426067?
Author
Owner

@Rokt33r commented on GitHub (Aug 13, 2020):

@JohnVidler I think you've touched storage data from outside of the app. boostnote.json file In your storage folder should have foldreMap directory.

<!-- gh-comment-id:673762394 --> @Rokt33r commented on GitHub (Aug 13, 2020): @JohnVidler I think you've touched storage data from outside of the app. `boostnote.json` file In your storage folder should have `foldreMap` directory.
Author
Owner

@sisoe24 commented on GitHub (Aug 14, 2020):

yes. same type of message

TypeError: Cannot read property '/' of undefined
    at t.a.getFolder (bundle.js:1392)
    at t.a.upsertFolder (bundle.js:1392)
    at t.a.init (bundle.js:1392)
    at async Dr (bundle.js:1392)
    at async Promise.all (index 2)
    at async file:/Applications/Boost%20Note.app/Contents/Resources/app/compiled/bundle.js:1392
Screen Shot 2020-08-13 at 7 48 01 PM

I also tried to launch it from the terminal and once I click bundle.js:1392 it outputs this

[18546:0813/195918.397313:ERROR:CONSOLE(24)] "Empty response arrived for script 'devtools://devtools/remote/serve_file/@6b399513fa601bc2253d3f59cb5c79b581a95fb3/cm_modes/cm_modes_module.js'", source: devtools://devtools/bundled/shell.js (24)
[18546:0813/195918.424693:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: CmModes.DefaultCodeMirrorMimeMode", source: devtools://devtools/bundled/shell.js (109)
[18546:0813/195918.426210:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: CmModes.DefaultCodeMirrorMimeMode", source: devtools://devtools/bundled/shell.js (109)
19:59:19.287 › Checking for update
19:59:20.074 › Update for version 0.8.2 is not available (latest version: 0.8.2, downgrade is disallowed).
<!-- gh-comment-id:673767041 --> @sisoe24 commented on GitHub (Aug 14, 2020): yes. same type of message ``` TypeError: Cannot read property '/' of undefined at t.a.getFolder (bundle.js:1392) at t.a.upsertFolder (bundle.js:1392) at t.a.init (bundle.js:1392) at async Dr (bundle.js:1392) at async Promise.all (index 2) at async file:/Applications/Boost%20Note.app/Contents/Resources/app/compiled/bundle.js:1392 ``` <img width="539" alt="Screen Shot 2020-08-13 at 7 48 01 PM" src="https://user-images.githubusercontent.com/28490646/90197957-47f48580-dd9e-11ea-8313-57d9765c4af4.png"> I also tried to launch it from the terminal and once I click `bundle.js:1392` it outputs this ``` [18546:0813/195918.397313:ERROR:CONSOLE(24)] "Empty response arrived for script 'devtools://devtools/remote/serve_file/@6b399513fa601bc2253d3f59cb5c79b581a95fb3/cm_modes/cm_modes_module.js'", source: devtools://devtools/bundled/shell.js (24) [18546:0813/195918.424693:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: CmModes.DefaultCodeMirrorMimeMode", source: devtools://devtools/bundled/shell.js (109) [18546:0813/195918.426210:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: CmModes.DefaultCodeMirrorMimeMode", source: devtools://devtools/bundled/shell.js (109) 19:59:19.287 › Checking for update 19:59:20.074 › Update for version 0.8.2 is not available (latest version: 0.8.2, downgrade is disallowed). ```
Author
Owner

@sisoe24 commented on GitHub (Aug 14, 2020):

It kind of happens on Linux (Kubuntu 20.04) as well, although it doesn't get stuck and keeps working fine. If I delete all of the Boostnote related folder/files inside, then it works.
Same for macOS; If I delete all of the Boostnote related contents, I can use the app again.

Screenshot_20200814_165455

<!-- gh-comment-id:674283432 --> @sisoe24 commented on GitHub (Aug 14, 2020): It kind of happens on Linux (Kubuntu 20.04) as well, although it doesn't get stuck and keeps working fine. If I delete all of the Boostnote related folder/files inside, then it works. Same for macOS; If I delete all of the Boostnote related contents, I can use the app again. ![Screenshot_20200814_165455](https://user-images.githubusercontent.com/28490646/90294694-0b379580-de55-11ea-961c-b95f099dd3c9.jpg)
Author
Owner

@sisoe24 commented on GitHub (Aug 14, 2020):

OK I believe I found what was the problem.

I've installed Boostnote with chocolatey on Windows and only now I've realize that the Boostnote app is an older version (as at first glance I thought was just a different OS version).

So after I deleted the Boostnote content folder and everything worked again, I've created again a storage and got the same problem. Removed older Boostnote and installed the newer one from the website and it worked fine.

Just to be sure, I've downloaded older Boosnote again e was able to reproduce the error. One note thought is that even after deleting the folder that the old Boostnote creates, the new Boosnote still hangs till all the files and folder all deleted, so not only the once created by the older version.

So it seems that I am ok on my part. Let me know if I have to close the issue.

<!-- gh-comment-id:674295875 --> @sisoe24 commented on GitHub (Aug 14, 2020): OK I believe I found what was the problem. I've installed Boostnote with `chocolatey` on Windows and only now I've realize that the Boostnote app is an older version (as at first glance I thought was just a different OS version). So after I deleted the Boostnote content folder and everything worked again, I've created again a storage and got the same problem. Removed older Boostnote and installed the newer one from the website and it worked fine. Just to be sure, I've downloaded older Boosnote again e was able to reproduce the error. One note thought is that even after deleting the folder that the old Boostnote creates, the new Boosnote still hangs till all the files and folder all deleted, so not only the once created by the older version. So it seems that I am ok on my part. Let me know if I have to close the issue.
Author
Owner

@Code-5 commented on GitHub (Aug 19, 2020):

Hi, I have the same problem on Windows 10. On startup Boost note freezes and says loading data. When I remove the source files from the folder it starts okay. When I copy the sources files back to folder, the same problem happens again. I tried to update but it tells me you're using the latest version. I uninstalled and reinstalled but get the same thing. What should I do? Any advice?

<!-- gh-comment-id:676052957 --> @Code-5 commented on GitHub (Aug 19, 2020): Hi, I have the same problem on Windows 10. On startup Boost note freezes and says loading data. When I remove the source files from the folder it starts okay. When I copy the sources files back to folder, the same problem happens again. I tried to update but it tells me you're using the latest version. I uninstalled and reinstalled but get the same thing. What should I do? Any advice?
Author
Owner

@Rokt33r commented on GitHub (Sep 1, 2020):

@sisoe24 Sorry for my late answer. Yeah, the file system is still fragile if you have corrupted data. We will introduce some tolerance so the app can deal with the problem by itself.

@Code-5 What are the sources files?

<!-- gh-comment-id:684521219 --> @Rokt33r commented on GitHub (Sep 1, 2020): @sisoe24 Sorry for my late answer. Yeah, the file system is still fragile if you have corrupted data. We will introduce some tolerance so the app can deal with the problem by itself. @Code-5 What are the sources files?
Author
Owner

@pietervallen commented on GitHub (Sep 11, 2020):

I had the same issue in the MacOS version. It occurred after I pasted images in the markdown document. I cannot share my sourcefiles because it contains confidential data, but I try to reproduce with test data

<!-- gh-comment-id:690975217 --> @pietervallen commented on GitHub (Sep 11, 2020): I had the same issue in the MacOS version. It occurred after I pasted images in the markdown document. I cannot share my sourcefiles because it contains confidential data, but I try to reproduce with test data
Author
Owner

@Flexo013 commented on GitHub (Sep 11, 2020):

Possible dupe of #502

<!-- gh-comment-id:691265972 --> @Flexo013 commented on GitHub (Sep 11, 2020): Possible dupe of #502
Author
Owner

@Rokt33r commented on GitHub (Sep 15, 2020):

@pietervallen Could you share me the name of the image file?

<!-- gh-comment-id:692572796 --> @Rokt33r commented on GitHub (Sep 15, 2020): @pietervallen Could you share me the name of the image file?
Author
Owner

@Dimitri1124 commented on GitHub (Sep 15, 2020):

I had the same issue in the Windows 10 version 64 bits. My version Boostnote is 0.9.0 and after try to open i have this same message. I try all of the solution the people give in this issue but not sucess. I try to Reloading/Force Reloading, quitting the app, rebooting the computer and uninstall and reinstall. Same result.

<!-- gh-comment-id:692857172 --> @Dimitri1124 commented on GitHub (Sep 15, 2020): I had the same issue in the Windows 10 version 64 bits. My version Boostnote is 0.9.0 and after try to open i have this same message. I try all of the solution the people give in this issue but not sucess. I try to Reloading/Force Reloading, quitting the app, rebooting the computer and uninstall and reinstall. Same result.
Author
Owner

@pietervallen commented on GitHub (Sep 27, 2020):

Hi sorry for the late reply, i was away. The filename was a Apple screenshot: Screenshot 2019-09-20 at 16.45.06.png

<!-- gh-comment-id:699635116 --> @pietervallen commented on GitHub (Sep 27, 2020): Hi sorry for the late reply, i was away. The filename was a Apple screenshot: ``Screenshot 2019-09-20 at 16.45.06.png``
Author
Owner

@danieltichiyama commented on GitHub (Sep 29, 2020):

Hi, I'm having a similar issue in that "Loading Data..." is the only thing that appears. Running:

BoostNote: Version 0.9.0 (0.9.0)
MacOS: Mojave 10.14.3

Here's a screenshot with devtools open

Screen Shot 2020-09-29 at 10 20 50 AM

<!-- gh-comment-id:700965192 --> @danieltichiyama commented on GitHub (Sep 29, 2020): Hi, I'm having a similar issue in that "Loading Data..." is the only thing that appears. Running: BoostNote: Version 0.9.0 (0.9.0) MacOS: Mojave 10.14.3 Here's a screenshot with devtools open ![Screen Shot 2020-09-29 at 10 20 50 AM](https://user-images.githubusercontent.com/49180688/94611477-7b4f7e80-023d-11eb-96d7-591633f6f679.png)
Author
Owner

@BhupeshRohilla commented on GitHub (Sep 30, 2020):

I faced a similar issue as well but with TypeError.
BoostNote: Version 0.9.0 (0.9.0)
macOS Catalina 10.15.5
I reinstalled the app but it works fine only for first time.

Screenshot 2020-09-30 at 7 43 34 PM

<!-- gh-comment-id:701420071 --> @BhupeshRohilla commented on GitHub (Sep 30, 2020): I faced a similar issue as well but with TypeError. BoostNote: Version 0.9.0 (0.9.0) macOS Catalina 10.15.5 I reinstalled the app but it works fine only for first time. ![Screenshot 2020-09-30 at 7 43 34 PM](https://user-images.githubusercontent.com/47006379/94696948-3c145100-0355-11eb-9cd5-bb2be5d433a7.png)
Author
Owner

@olividir commented on GitHub (Oct 19, 2020):

I am also getting this behavior, BoostNote is stuck at loading when I try to open it. This started happening on my newest update (might it have something to do with the kernel?)
Version: 0.16.1-1
Manjaro GNOME (kernel 5.8.16)
Rebooting has not worked (haven't removed/installed again yet).

<!-- gh-comment-id:712206893 --> @olividir commented on GitHub (Oct 19, 2020): I am also getting this behavior, BoostNote is stuck at loading when I try to open it. This started happening on my newest update (might it have something to do with the kernel?) Version: 0.16.1-1 Manjaro GNOME (kernel 5.8.16) Rebooting has not worked (haven't removed/installed again yet).
Author
Owner

@myrcutio commented on GitHub (Oct 26, 2020):

Same issue here, force reload does nothing and nothing loads.

Screen Shot 2020-10-26 at 2 51 49 PM
<!-- gh-comment-id:716785244 --> @myrcutio commented on GitHub (Oct 26, 2020): Same issue here, force reload does nothing and nothing loads. <img width="1195" alt="Screen Shot 2020-10-26 at 2 51 49 PM" src="https://user-images.githubusercontent.com/1391968/97221385-c99f6100-179a-11eb-85b7-e973e6f859a1.png">
Author
Owner

@markt-checkit commented on GitHub (Oct 29, 2020):

Same here. Is there a workaround?

<!-- gh-comment-id:718682361 --> @markt-checkit commented on GitHub (Oct 29, 2020): Same here. Is there a workaround?
Author
Owner

@DenisTome commented on GitHub (Nov 9, 2020):

Same on Ubuntu

<!-- gh-comment-id:724161009 --> @DenisTome commented on GitHub (Nov 9, 2020): Same on Ubuntu
Author
Owner

@hu-chia commented on GitHub (Dec 2, 2020):

same, is there any way open my notes?!!

<!-- gh-comment-id:736972840 --> @hu-chia commented on GitHub (Dec 2, 2020): same, is there any way open my notes?!!
Author
Owner

@remylavergne commented on GitHub (Dec 17, 2020):

Same here...

  • macOS Big Sur

image

Someone found a workaround ?

<!-- gh-comment-id:747322397 --> @remylavergne commented on GitHub (Dec 17, 2020): Same here... - macOS Big Sur ![image](https://user-images.githubusercontent.com/28859882/102469229-cb76f980-4052-11eb-84ba-bc25d402e3ce.png) Someone found a workaround ?
Author
Owner

@markt-checkit commented on GitHub (Dec 17, 2020):

I've switched to Apple Notes for now. You can go in to the messages in the folder and try and retrieve them. But I had alot of notes and would take forever, so I've decided to take the hit and move on.

<!-- gh-comment-id:747324233 --> @markt-checkit commented on GitHub (Dec 17, 2020): I've switched to Apple Notes for now. You can go in to the messages in the folder and try and retrieve them. But I had alot of notes and would take forever, so I've decided to take the hit and move on.
Author
Owner

@Rokt33r commented on GitHub (Dec 27, 2020):

I assume you or some automation tool in your machine manipulate your note storage. Please check all JSON files in your note storage are valid. @remylavergne @danieltichiyama

<!-- gh-comment-id:751516559 --> @Rokt33r commented on GitHub (Dec 27, 2020): I assume you or some automation tool in your machine manipulate your note storage. Please check all JSON files in your note storage are valid. @remylavergne @danieltichiyama
Author
Owner

@Rokt33r commented on GitHub (Dec 27, 2020):

If you cannot fix the problem by yourself, please join our slack and send DM to me.

Also, I'll try to improve tolerance against corrupted data of file system-based storage. Please follow this issue.
https://github.com/BoostIO/BoostNote.next/issues/746

<!-- gh-comment-id:751517377 --> @Rokt33r commented on GitHub (Dec 27, 2020): If you cannot fix the problem by yourself, please join our slack and send DM to me. Also, I'll try to improve tolerance against corrupted data of file system-based storage. Please follow this issue. https://github.com/BoostIO/BoostNote.next/issues/746
Author
Owner

@lcarmenate1997 commented on GitHub (Sep 10, 2021):

I did the same thing and I solved it by recreating the local space folder where I had my notes. In my case I had a local space in E:\Boost Notes and I changed the letter of the storage drive to D:\Boost Notes and there the problem of infinite load appeared. To fix it in an easy way change the letter of the storage drive again to "E" (previous letter) and the error disappeared. I hope my temporary solution will help you

<!-- gh-comment-id:916638166 --> @lcarmenate1997 commented on GitHub (Sep 10, 2021): I did the same thing and I solved it by recreating the local space folder where I had my notes. In my case I had a local space in E:\Boost Notes and I changed the letter of the storage drive to D:\Boost Notes and there the problem of infinite load appeared. To fix it in an easy way change the letter of the storage drive again to "E" (previous letter) and the error disappeared. I hope my temporary solution will help you
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#296
No description provided.