AlexW00 / obsidian-note-linker

🔗 Automatically link your Obsidian notes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeError occurred while linking notes.

AMGMNPLK opened this issue · comments

Describe the bug
When use Scan Note I get this error

To Reproduce
Steps to reproduce the behavior:

  1. Scan Note
  2. Plugin start to retrieve notes
  3. Message: An error occurred while linking notes.
  4. Nothing happened with notes
  5. See error in the inspector
    RangeError: Maximum call stack size exceeded
    at String.replace ()
    at IgnoreRangeBuilder.addIgnoreRangesWithRegex (plugin:obisidian-note-linker:35249:39)
    at IgnoreRangeBuilder.addMdMetadata (plugin:obisidian-note-linker:35276:21)
    at Function.getIgnoreRangesFromCache (plugin:obisidian-note-linker:35290:14)
    at Function.eval (plugin:obisidian-note-linker:35321:52)
    at Generator.next ()
    at fulfilled (plugin:obisidian-note-linker:23:58)

5b. In another try I got this one:
Error: File system operation timed out.
at e.kill (app.js:1:1093712)
at s (app.js:1:702707)
at l (app.js:1:702813)
showError | @ | plugin:obisidian-note-linker:35693
  | Promise.catch (async) |   |  
  | eval | @ | plugin:obisidian-note-linker:35700
  | commitHookEffectListMount | @ | plugin:obisidian-note-linker:28110
  | commitPassiveMountOnFiber | @ | plugin:obisidian-note-linker:29891
  | commitPassiveMountEffects_complete | @ | plugin:obisidian-note-linker:29851
  | commitPassiveMountEffects_begin | @ | plugin:obisidian-note-linker:29838
  | commitPassiveMountEffects | @ | plugin:obisidian-note-linker:29826
  | flushPassiveEffectsImpl | @ | plugin:obisidian-note-linker:31987
  | flushPassiveEffects | @ | plugin:obisidian-note-linker:31932
  | eval | @ | plugin:obisidian-note-linker:31717
  | workLoop | @ | plugin:obisidian-note-linker:4278
  | flushWork | @ | plugin:obisidian-note-linker:4251
  | performWorkUntilDeadline | @ | plugin:obisidian-note-linker:4545
  | processImmediate | @ | node:internal/timers:464

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Chrome
  • Version Obsidian 1.1.9

how many notes do you have in the vault?

7000+