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

FileNotFoundError: suggest adding a library that excludes indexing #12

Open
windily-cloud opened this issue Sep 14, 2022 · 2 comments
Assignees

Comments

@windily-cloud
Copy link

Please type any relevant information here:

This does not seem to be able to index soft links, suggest adding a library that excludes indexing

Trace Log

Traceback (most recent call last):
  File "C:\Users\cloud\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.4\lib\flox\launcher.py", line 44, in run
    results = request_method(*request_parameters) or self._results
  File "C:\Users\cloud\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.4\lib\flox\__init__.py", line 131, in _query
    self.query(query)
  File "C:\Users\cloud\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.4\plugin\main.py", line 26, in query
    for note in vault.notes():
  File "C:\Users\cloud\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.4\plugin\obsidian.py", line 62, in notes
    for note in Path(self.path).glob('**/*.md'):
  File "C:\ProgrammingSoftware\Python3.10\lib\pathlib.py", line 1032, in glob
    for p in selector.select_from(self):
  File "C:\ProgrammingSoftware\Python3.10\lib\pathlib.py", line 493, in _select_from
    for p in successor_select(starting_point, is_dir, exists, scandir):
  File "C:\ProgrammingSoftware\Python3.10\lib\pathlib.py", line 440, in _select_from
    with scandir(parent_path) as scandir_it:
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\Project\\Obsidian\\obsidian-develop\\.obsidian\\plugins\\obsidian-quiet-outline\\node_modules\\.pnpm\\node_modules\\@babel\\helper-validator-identifier'

@Garulf
Copy link
Owner

Garulf commented Mar 26, 2023

Hell @windily-cloud Could you please clarify what you mean by " a library that excludes indexing"?

Also you I should be suppressing this error so the whole plugin does not crash. Thanks for making me aware.

@Garulf Garulf self-assigned this Mar 26, 2023
@windily-cloud
Copy link
Author

Thank you for your reply! At that time I just wanted a setting that would exclude some paths, because my obsidian vault has a Symbolic Link that could cause the plugin to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants