obsidian-folder-notes icon indicating copy to clipboard operation
obsidian-folder-notes copied to clipboard

Reopen Obsidian plugin loading failed

Open albort11 opened this issue 5 months ago • 19 comments

Describe the bug The version I'm using is the latest (on Windows), and I'm encountering the following issues: If it's not installed, reinstalling and enabling it makes the feature run normally; However, if I close Obsidian and reopen it, the plugin loading prompt in the top right corner shows "Loading failed," and folder notes also appear. Then, in the settings, the plugin is enabled, but after disabling it, I cannot re-enable it (it shows "Enable failed").

Screenshots

Image

Obsidian version

  • Installer version: [e.g. v1.8.10]
  • Current version: [e.g. v1.8.10]

Plugin information

  • Version: [e.g. v1.8.13]
  • [ ] Beta version

Additional context Add any other context about the problem here.

albort11 avatar Jul 06 '25 02:07 albort11

Do you also have the folder overview plugin installed? Otherwise could you show what error in the dev console is?

LostPaul avatar Jul 06 '25 07:07 LostPaul

Do you also have the folder overview plugin installed? Otherwise could you show what error in the dev console is?

Image

See if this is what you're talking about Folder overview not installed

albort11 avatar Jul 06 '25 07:07 albort11

Can you show the whole plugin list? Maybe I've used the same name for an view that an other plugin also used

LostPaul avatar Jul 06 '25 07:07 LostPaul

Can you show the whole plugin list? Maybe I've used the same name for an view that an other plugin also used

Image

Okay, is this all right? The features of your plugin are exactly what I've been dreaming of. After discovering it, I opened Obsidian again after not using it for a long time :D

albort11 avatar Jul 06 '25 07:07 albort11

Can you show the whole plugin list? Maybe I've used the same name for an view that an other plugin also used

I disabled all other plugins, and folder notes seems to be back to normal. It looks like it was indeed an issue with other plugins.

albort11 avatar Jul 06 '25 07:07 albort11

Alright that's can you enable them one by one to figure other which it is?

LostPaul avatar Jul 06 '25 07:07 LostPaul

Alright that's can you enable them one by one to figure other which it is?

I'm trying, I'll get back to you when I find it, please wait.

albort11 avatar Jul 06 '25 07:07 albort11

Alright that's can you enable them one by one to figure other which it is?

https://github.com/SturdyShawn/Create-folder-notes-with-dropdown I think it's this one; when it's enabled, folder notes will have an error.

albort11 avatar Jul 06 '25 07:07 albort11

That's weird because it works for me https://github.com/user-attachments/assets/0a243a19-6e79-42d3-a595-b186bb0b8ca9

LostPaul avatar Jul 06 '25 07:07 LostPaul

I only get that error when I've folder overview already enabled and then try to enabled folder note

Image

LostPaul avatar Jul 06 '25 07:07 LostPaul

I only get that error when I've folder overview already enabled and then try to enabled folder note

Image

Yes, after I uninstalled this, the problem of folder notes not being able to be disabled and re-enabled was solved, but restarting Obsidian still gives an error (the function seems normal). I think disabling plugins one by one to exclude them, but I can't reproduce it, and it seems that the order of plugin activation can subtly avoid some problems. I will test it more.

albort11 avatar Jul 06 '25 07:07 albort11

Do you have by any chance the "Manual Sorting" plugin by "Kh4f" installed?

LostPaul avatar Jul 21 '25 07:07 LostPaul

yes i have the manual sorting

---- Replied Message ---- | From | Lost @.> | | Date | 07/21/2025 15:15 | | To | LostPaul/obsidian-folder-notes @.> | | Cc | albort11 @.>, Author @.> | | Subject | Re: [LostPaul/obsidian-folder-notes] Reopen Obsidian plugin loading failed (Issue #258) | LostPaul left a comment (LostPaul/obsidian-folder-notes#258)

Do you have by any chance the "Manual Sorting" plugin by "Kh4f" installed?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

albort11 avatar Jul 21 '25 07:07 albort11

Okay good that seems to be the cause someone else also has the same problem see https://github.com/LostPaul/obsidian-folder-notes/issues/267 and figured out that it was the manual sorting plugin that caused it. The plugin reloads the plugin and something is going wrong with that and the plugin tries to create the view twice.

LostPaul avatar Jul 21 '25 07:07 LostPaul

OK, these two plugins are what I like and use frequently. If there is anything you need me to test, please let me know.

---- Replied Message ---- | From | Lost @.> | | Date | 7/21/2025 15:30 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [LostPaul/obsidian-folder-notes] Reopen Obsidian plugin loading failed (Issue #258) | LostPaul left a comment (LostPaul/obsidian-folder-notes#258)

Okay good that seems to be the cause someone else also has the same problem see #267 and figured out that it was the manual sorting plugin that caused it. The plugin reloads the plugin and something is going wrong with that and the plugin tries to create the view twice.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

albort11 avatar Jul 21 '25 07:07 albort11

You don't need to test anything anymore now, that should be enough information to fix it hopefully. Maybe I can fix it only using folder notes or it has to be fixed by the Manual Sorting dev.

LostPaul avatar Jul 21 '25 07:07 LostPaul

It should be fixed now, try out the beta version to confirm it. See https://github.com/LostPaul/obsidian-folder-notes?tab=readme-ov-file#how-to-install-the-beta-version on how to install the beta version.

LostPaul avatar Jul 26 '25 07:07 LostPaul

OK thanks!

---- Replied Message ---- | From | Lost @.> | | Date | 7/26/2025 15:49 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [LostPaul/obsidian-folder-notes] Reopen Obsidian plugin loading failed (Issue #258) | LostPaul left a comment (LostPaul/obsidian-folder-notes#258)

It should be fixed now, try out the beta version to confirm it. See https://github.com/LostPaul/obsidian-folder-notes?tab=readme-ov-file#how-to-install-the-beta-version on how to install the beta version.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

albort11 avatar Jul 26 '25 07:07 albort11

+1 to this bug, caused by Manual Sorting

Peter-Laws avatar Jul 29 '25 12:07 Peter-Laws