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

Handle malformed note data #18

Open
danpianji opened this issue Dec 3, 2020 · 5 comments
Open

Handle malformed note data #18

danpianji opened this issue Dec 3, 2020 · 5 comments
Assignees

Comments

@danpianji
Copy link

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
Copy link
Author

no one tell me how to fix it?
ex

@Komediruzecki
Copy link
Collaborator

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#/)

@danpianji
Copy link
Author

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.

@Rokt33r Rokt33r reopened this Dec 6, 2020
@Rokt33r
Copy link
Member

Rokt33r commented Dec 6, 2020

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 Rokt33r self-assigned this Dec 6, 2020
@Flexo013 Flexo013 changed the title loading data... TypeError: Cannot destructure property mime of 'undefined' or 'null'. Handle malformed note data Dec 10, 2020
@Rokt33r Rokt33r transferred this issue from BoostIO/BoostNote-App Aug 20, 2021
@Komediruzecki
Copy link
Collaborator

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.

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

3 participants