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

Joplin do not start after installing plugin ...joplin fatal error unknown key: plugin-io.github.personalizedrefrigerator.js-draw.disable-editor-fills-window #8143

Closed
hublex opened this issue May 8, 2023 · 10 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues

Comments

@hublex
Copy link

hublex commented May 8, 2023

The text couldn't be copied.

Environment

Joplin version: should be the latest, I can't find the info cause it is not open
Platform: Windows 10

-->

Steps to reproduce

Describe what you expected to happen

Joplin isn't starting anymore after I did install the following plugin:

https://github.com/sadmice/Joplin-Plugin-Text-Colorize
After instaalling the plugin I did change the shortcut from Shift+STRG+C to Shift+STRG+X
Than I did try to restart the software - here I just get the following error massage and Joplin to not start anymore

Logfile

image

@hublex hublex added the bug It's a bug label May 8, 2023
@laurent22
Copy link
Owner

Could you try installing the "Freehand Drawing" plugin again to see if it fixes the issue? But that should not happen regardless

@laurent22 laurent22 added desktop All desktop platforms high High priority issues labels May 8, 2023
@hublex
Copy link
Author

hublex commented May 8, 2023

Thank you Laurent. Is there a possibility without opening Joplin? Because Joplin do not open.

@Daeraxa
Copy link
Collaborator

Daeraxa commented May 8, 2023

Try enabling safe mode - https://joplinapp.org/debugging/#safe-mode. That should allow you to start it. Otherwise you can find your plugins in your config folder and remove it from there (should be in C:\Users\<username>\.config\joplin-desktop\plugins).

Just because I mention it every time, make a backup of the whole joplin-desktop directory before messing around in there just in case something happens.

@laurent22
Copy link
Owner

laurent22 commented May 8, 2023

Replicated (just copying error here for reference)

main-html.js:49 Error: Unknown key: plugin-io.github.personalizedrefrigerator.js-draw.disable-editor-fills-window
    at Setting.settingMetadata (Setting.ts:1813:33)
    at exports.default (mergeGlobalAndLocalSettings.ts:15:22)
    at Setting.<anonymous> (Setting.ts:1960:47)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/laurent/src/joplin/packages/lib/models/Setting.js:5:58)

@laurent22
Copy link
Owner

If Daeraxa's suggestion doesn't work, what you could do for now is open the file :\Users\<username>\.config\joplin-desktop\profiles.json and here change the "currentProfileId" value to another profile ID. For example to "default". If it's not clear, please post your profiles.json file here

@personalizedrefrigerator
Copy link
Collaborator

For reference, here's how js-draw is registering settings.

laurent22 added a commit that referenced this issue May 8, 2023
laurent22 added a commit that referenced this issue May 8, 2023
laurent22 added a commit that referenced this issue May 8, 2023
@laurent22
Copy link
Owner

For reference, here's how js-draw is registering settings.

Thanks, I noticed this. What happened is that most plugins don't register their settings to the filesystem, even though it's valid to do so. So this case has never been tested along with the multiple profiles feature. I'm going to release a new version with a hotfix for this and a few other minor issues.

@laurent22
Copy link
Owner

@hublex, does it work with the latest version? https://github.com/laurent22/joplin/releases/tag/v2.10.17

@hublex
Copy link
Author

hublex commented May 8, 2023

wow you are a genius.
20.16 didn't but .17 did.
Thank you very much.
Do you think the given addons are working now, or should I better not use them any more?

@laurent22
Copy link
Owner

They are working fine, it was an issue with the app itself!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues
Projects
None yet
Development

No branches or pull requests

4 participants