Stopped working, uninstalled, installed and now I cannot enable
I have used your plugin Folder notes, since I started using obsidian, and I have had no issues with it, until a few days ago.
I started noticing that sometimes the notes weren't being hidden within the folder anymore. And then the next time I opened obsidian, everything looked fine. And in the middle of it, it wouldn't work again. Meanwhile other plugins still worked for me.
Therefore I tried to uninstall and then reinstall the plugin. And now I can't enable it. I get the "failed to enable plugin..." message, but it says it is enabled, but it isn't working...
I'm not sure if this is on my side, or the plugin - but wanted to create this, in case it isn't on my side.
I should add this is on Windows 11 and also on my laptop which has Windows 10 installed.
Thank you!
Same problem. MacOS The plugin returns an error at startup. Sometimes, however, it works. After turning off Obsidian, it doesn't work again.
Could you show what kind of error the plugin logs in the dev console? Unfortunately I'm not able to reproduce this in a sandbox vault it may be because of some conflict with another plugin.
The error message is as follows.
loading folder notes plugin
app.js:1 Plugin failure: folder-notes TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at FolderNotesPlugin.onload (plugin:folder-notes:5741:7)
plugin:folder-notes:5869 unloading folder notes plugin
plugin:folder-notes:2515 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at FolderNotesPlugin.saveSettings (plugin:folder-notes:5906:7)
I'm sorry about not writing on here sooner, I have been caught up with studies!
I'm not sure this is what you mean, as I'm not into programming and such. But here is what I found:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'AAU - MedIS/AAU - MedIS.md')
at getEl (plugin:folder-notes:2515:55)
at addCSSClassToTitleEL (plugin:folder-notes:2482:28)
at addCSSClassToFolderNote (plugin:folder-notes:2479:3)
at addCSSClassesToBothFolderAndNote (plugin:folder-notes:2467:3)
at applyCSSClassesToFolder (plugin:folder-notes:2464:3)
at eval (plugin:folder-notes:5108:25)
at NodeList.forEach (<anonymous>)
at eval (plugin:folder-notes:5101:69)
at Array.forEach (<anonymous>)
at MutationObserver.eval (plugin:folder-notes:5099:15)
Uncaught TypeError: Cannot read properties of undefined (reading 'AAU - MedIS')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at addCSSClassesToFolder (plugin:folder-notes:2475:5)
at addCSSClassesToBothFolderAndNote (plugin:folder-notes:2468:3)
at applyCSSClassesToFolder (plugin:folder-notes:2464:3)
at eval (plugin:folder-notes:5108:25)
at NodeList.forEach (<anonymous>)
at eval (plugin:folder-notes:5101:69)
at Array.forEach (<anonymous>)
at MutationObserver.eval (plugin:folder-notes:5099:15)
Just an update from me. I got my boyfriend to help, and long story short, we found that it was "Folder Notes" being incompatible with another plugin called "Make.md".
I'm very sorry for the inconvenience and thank you for taking your time to look at it!
@ObsidianNotesForMe Thank you for replying and finding the source of your issue! Sorry about not answering sooner I've had some other things to do and it also didn't matter that it took you a bit longer to reply as long as the issue gets resolved.
@Cattle0Horse @Arvares Are you two also using make.md or do you still have the issue with it being turned off and does it also still happen if you turn off everything other plugin except folder notes?
@LostPaul I didn't use the Make.md plugin, but I didn't try to close the others, I'll test it when I have time, thank you for your efforts
@Cattle0Horse Thanks, you could also try out the beta version to see if that fixes something https://github.com/LostPaul/obsidian-folder-notes/releases/tag/1.7.30-26-beta
@LostPaul
English is not my native language; please excuse typing errors.
Sorry for the late reply.
I don't know why the plugin can be turned on at present. It may be the reason for updating the plugin.
But the following problems arise from time to time, plug-in conflicts I really can't detect.
It results in only partial files being merged with underscores.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at eval (plugin:folder-notes:5749:9)
at t.<anonymous> (app.js:1:2223660)
at app.js:1:239667
at Object.next (app.js:1:239772)
at a (app.js:1:238490)
英文不是我的母语,请原谅我的错字或语法。
抱歉回复晚了。
我不知道出于什么原因,目前插件是可以开启的,有可能是更新插件的原因。
但是下面的问题时有出现,插件冲突问题我实在检测不出来。
它导致了只有部分文件进行下划线合并。
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at eval (plugin:folder-notes:5749:9)
at t.<anonymous> (app.js:1:2223660)
at app.js:1:239667
at Object.next (app.js:1:239772)
at a (app.js:1:238490)
Dealing with this too. For fun I tried disabling every other plugin and reenabling them one by one until it generated an error in the console. When I enabled From Template -- unsure if this is even related to From Template! -- it spat this one:
TypeError: Cannot read properties of undefined (reading '')
at getEl (plugin:folder-notes:2515:55)
at FolderOverview.cloneFileExplorerView (plugin:folder-notes:3653:20)
at eval (plugin:folder-notes:3619:16)
at t.<anonymous> (app.js:1:2223660)
at app.js:1:239667
at Object.next (app.js:1:239772)
at a (app.js:1:238490)
I disabled From Template again and several others I'd enabled around the same time but it kept spitting
Uncaught TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at eval (plugin:folder-notes:5752:11)
at t.tryTrigger (app.js:1:742047)
at t.trigger (app.js:1:741980)
at t.trigger (app.js:1:2258184)
at t.<anonymous> (app.js:1:2196159)
and even on a fresh Reload App Without Saving with ONLY folder notes enabled:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '/')
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach (<anonymous>)
at loadFileClasses (plugin:folder-notes:2425:40)
at eval (plugin:folder-notes:5749:9)
at t.<anonymous> (app.js:1:2223660)
at app.js:1:239667
at Object.next (app.js:1:239772)
at a (app.js:1:238490)
More than happy to help troubleshoot but I want this to work, badly! I love the overview and am looking for it to replace Folder Index for me.
I also get this error message and after some testing in several vaults with only this plugin installed it seems like my folder notes are only correctly hidden when in any root level folder, while any nested folder shows the folder note.
Is everyone else with this error message also having the folder notes not being hidden?
It does function correctly when I switch the plugin off and on by the way, but the problem re-emerges when I reload the vault.
Could you test this with the 1.8.1-3 beta release to confirm if it is still an issue?
Could you test this with the 1.8.1-3-beta release to confirm if it is still an issue?
I just installed 1.8.1-3-beta as requested and will try to play with it throughout the day. So far, I am not seeing the issue -- though in my past tests it sometimes presented immediately and other times took a while to present.
So far it seems to be working fine; I will update if that changes.
Alright if anything changes I'll reopen this issue again