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

[Bug]: Group files by column - error while removing empty folders #1014

Open
2 tasks done
LinkZ-LynX opened this issue Dec 27, 2023 · 0 comments
Open
2 tasks done

[Bug]: Group files by column - error while removing empty folders #1014

LinkZ-LynX opened this issue Dec 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working triage Issue not tagged yet. talking to the user

Comments

@LinkZ-LynX
Copy link

LinkZ-LynX commented Dec 27, 2023

Contact Details

krzysiekwu@gmail.com

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.
image
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)

image

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
@LinkZ-LynX LinkZ-LynX added bug Something isn't working triage Issue not tagged yet. talking to the user labels Dec 27, 2023
@stefandanzl stefandanzl self-assigned this Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue not tagged yet. talking to the user
Projects
None yet
Development

No branches or pull requests

3 participants