BoostNote.next-local icon indicating copy to clipboard operation
BoostNote.next-local copied to clipboard

Handle malformed note data

Open danpianji opened this issue 4 years ago • 5 comments

Current behavior

图片

Expected behavior

all my notes could be loaded

Steps to reproduce

1.the version is newst 2. its all ok,before i clike the view--reload 3. i reinstall ,restart pc ,can not fix it

Environment

Desktop/Web

pc win10 64bit version newst

danpianji avatar Dec 03 '20 06:12 danpianji

no one tell me how to fix it? ex

danpianji avatar Dec 05 '20 00:12 danpianji

no one tell me how to fix it? ex

Hi,

Can you please share more information about what kind of storage are you using. Did you try to backup your notes if they are on file system (file system storage)?

This could be a problem with loading/opening invalid images/attachements. So if you can backup the notes and try to find in raw files the invalid attachement (and hopefuly remove it), the boostnote could load it easily).

Can you join our slack community and write me there so we can resolve this issue quicker? (link: https://boostnote-group.slack.com/join/shared_invite/zt-cun7pas3-WwkaezxHBB1lCbUHrwQLXw#/)

Komediruzecki avatar Dec 05 '20 08:12 Komediruzecki

no one tell me how to fix it? ex

Hi,

Can you please share more information about what kind of storage are you using. Did you try to backup your notes if they are on file system (file system storage)?

This could be a problem with loading/opening invalid images/attachements. So if you can backup the notes and try to find in raw files the invalid attachement (and hopefuly remove it), the boostnote could load it easily).

Can you join our slack community and write me there so we can resolve this issue quicker? (link: https://boostnote-group.slack.com/join/shared_invite/zt-cun7pas3-WwkaezxHBB1lCbUHrwQLXw#/)

thanks a lot i open /boostnote2/attachments and find a file with .bin ends, after remove it all is ok; this is my fault, i want to try boostnote can save the .bin file.

danpianji avatar Dec 05 '20 10:12 danpianji

Thanks for the reporting. We'd like to make the app more tolerance against malformed data. I'll close this after I actually make the app can bear with this issue by itself.

Rokt33r avatar Dec 06 '20 21:12 Rokt33r

Thanks for transfering the issue, we fixed few of the problematic areas already,

now I need to investigate all possible corruptions and test the application a bit, if I find any more possible exceptions which might be useful to catch and report without stopping the application from loading I'll share the details here and fix it, it will be included in the boost note local roadmap 2021/2022 which will soon be published.

Komediruzecki avatar Aug 20 '21 15:08 Komediruzecki