Skip to content

Symlinks with dead ends inside of vaults crashes extension #102

@astoeffer

Description

@astoeffer

Hi,

I have multiple vaults on my Mac, some on iCloud, some locally. If I try to search a note, I get a list of these vaults. If I select a vault, which is stored locally, I get a replicable error:

Error: ENOENT: no such file or directory, stat '/Users/.../Obsidian-Remotely/SC/Academic/Archiv/.../....'

La:NoteListObsidian.tsx:18:10


15: bookmarked: boolean;
16: searchArguments: SearchArguments;
17: }) {
18: const { showTitle, vault, searchArguments } = props;
19:
20: const [allNotes] = useNotes(vault, props.bookmarked);
21: const [currentViewNoteList, dispatch] = useReducer(NoteReducer, allNotes);

_r:index.js:8:2591
at ray-navigation-stack
No:index.js:8:2092

I wonder where the above path came from. The vault folder is "SC" but the path links to a sub-folder which does not exist. Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions