Skip to content

RangeError: Invalid string length, when trying to scan note #54

Open
@baines47

Description

@baines47

I was going through my vault and checking links note by note, when Note Linker started giving me an error.

Steps to reproduce the behavior
I go to any note and use the "Note Linker: Scan Note".
Then I get "An error occured while linking notes".

Expected behavior
The regular Note Linker window with possible matches or a message that it couldn't find anything.

Desktop:

  • OS: Windows 11 x64

**Error Message **
plugin:obisidian-note-linker:35754 RangeError: Invalid string length
at String.repeat ()
at eval (plugin:obisidian-note-linker:35277:25)
at Array.forEach ()
at IgnoreRangeBuilder.addCacheItem (plugin:obisidian-note-linker:35272:38)
at IgnoreRangeBuilder.addInternalLinks (plugin:obisidian-note-linker:35285:21)
at IgnoreRange.getIgnoreRangesFromCache (plugin:obisidian-note-linker:35336:14)
at JsNote.eval (plugin:obisidian-note-linker:35371:52)
at Generator.next ()
at fulfilled (plugin:obisidian-note-linker:23:58)

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