RafaelGB / obsidian-db-folder

Obsidian Plugin to Allow Notion like database based on folders
MIT License
1.2k stars 58 forks source link

[Bug]: Auto Folder Deletion #986

Open BagOfTips opened 11 months ago

BagOfTips commented 11 months ago

Contact Details

Discord: ProStashio

What happened?

It seems DB Folders is having issues deleting empty folders

image

What platform were you using?

Desktop

Version of the plugin

3.5.0

Relevant log output

node:internal/errors:490 Uncaught (in promise) SystemError: Path is a directory: rm returned EISDIR (is a directory) \\?\C:\Obsidian Vaults\TTRPG Vault\2. My Campaign\12. NPCs\Aranor\Odinys\Fulcrum Ridge
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at new SystemError (node:internal/errors:250:5)
    at new NodeError (node:internal/errors:361:7)
    at node:internal/fs/utils:803:17
    at FSReqCallback.oncomplete (node:fs:209:5)
node:internal/errors:490 Uncaught (in promise) SystemError: Path is a directory: rm returned EISDIR (is a directory) \\?\C:\Obsidian Vaults\TTRPG Vault\2. My Campaign\12. NPCs\Aranor\Odinys\Fulcrum Ridge
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at new SystemError (node:internal/errors:250:5)
    at new NodeError (node:internal/errors:361:7)
    at node:internal/fs/utils:803:17
    at FSReqCallback.oncomplete (node:fs:209:5)

Are you using the latest version of the plugin in your Obsidian vault?

Are you check if there is a similar issue?

stefandanzl commented 7 months ago

this seems to be an electron issue https://github.com/electron-userland/electron-builder/issues/5917