[Bug]: Group files by column - error while removing empty folders
LinkZ-LynX opened this issue · 0 comments
LinkZ-LynX commented
Contact Details
What happened?
When in the "Database Setting" the "Columns to group files by" option is settled with the "Delete empty folders" and "Group all files into folders automatically" options enabled, there's a problem with removing empty folders.
When the option "Group all files into folders automatically" is off there's no error but also an indicator that empty folders are tried to be removed by the plugin.
Obsidian tooltip with error:
Path is a directory: rm returned EISDIR (is a directory): {path_to_a_dir}
Chrome Dev Tools console error:
Uncaught (in promise) SystemError: Path is a directory: rm returned EISDIR (is a directory) \\?{{path_to_dir}
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)
What platform were you using?
Desktop
Version of the plugin
3.5.0
Relevant log output
Uncaught (in promise) SystemError: Path is a directory: rm returned EISDIR (is a directory) \\?{{path_to_dir}
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?
- I have verified that I am on the latest version
Are you check if there is a similar issue?
- I have verified that there are not similar issues