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

Window stuck in Loading data #581

Closed
sisoe24 opened this issue Aug 11, 2020 · 25 comments
Closed

Window stuck in Loading data #581

sisoe24 opened this issue Aug 11, 2020 · 25 comments
Labels
bug 🐛 Issue concerns a bug. needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem.

Comments

@sisoe24
Copy link

sisoe24 commented Aug 11, 2020

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
@JohnVidler
Copy link

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)

@Rokt33r Rokt33r added bug 🐛 Issue concerns a bug. needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. labels Aug 13, 2020
@Rokt33r
Copy link
Member

Rokt33r commented Aug 13, 2020

@sisoe24 Can open dev tools and share the error message to here like #581 (comment)?

@Rokt33r
Copy link
Member

Rokt33r commented 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.

@sisoe24
Copy link
Author

sisoe24 commented 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).

@sisoe24
Copy link
Author

sisoe24 commented 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

@sisoe24
Copy link
Author

sisoe24 commented 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.

@Code-5
Copy link

Code-5 commented 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?

@Rokt33r
Copy link
Member

Rokt33r commented 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?

@Flexo013 Flexo013 added the needs more info ℹ️ Issue requires more information from the issue's reporter. label Sep 7, 2020
@pietervallen
Copy link

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

@Flexo013
Copy link
Contributor

Possible dupe of #502

@Rokt33r
Copy link
Member

Rokt33r commented Sep 15, 2020

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

@Dimitri1124
Copy link

Dimitri1124 commented 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.

@pietervallen
Copy link

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

@danieltichiyama
Copy link

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

@BhupeshRohilla
Copy link

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

@Flexo013 Flexo013 removed the needs more info ℹ️ Issue requires more information from the issue's reporter. label Oct 4, 2020
@olividir
Copy link

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).

@myrcutio
Copy link

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

Screen Shot 2020-10-26 at 2 51 49 PM

@markt-checkit
Copy link

Same here. Is there a workaround?

@DenisTome
Copy link

Same on Ubuntu

@hu-chia
Copy link

hu-chia commented Dec 2, 2020

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

@remylavergne
Copy link

Same here...

  • macOS Big Sur

image

Someone found a workaround ?

@markt-checkit
Copy link

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.

@Rokt33r
Copy link
Member

Rokt33r commented 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

@Rokt33r
Copy link
Member

Rokt33r commented 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

@Rokt33r Rokt33r closed this as completed Dec 27, 2020
@lcarmenate1997
Copy link

lcarmenate1997 commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem.
Projects
None yet
Development

No branches or pull requests