breadcrumbs icon indicating copy to clipboard operation
breadcrumbs copied to clipboard

Matrix view does not display

Open ooker777 opened this issue 3 years ago • 2 comments

Here is the error in the console:

Uncaught (in promise) TypeError: Cannot destructure property 'basename' of 'app.workspace.getActiveFile(...)' as it is null.
    at instance$1 (eval at <anonymous> (app.js:1), <anonymous>:42155:8)
    at init (eval at <anonymous> (app.js:1), <anonymous>:4127:11)
    at new SideTree (eval at <anonymous> (app.js:1), <anonymous>:42220:3)
    at TreeView.draw (eval at <anonymous> (app.js:1), <anonymous>:42250:21)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:42233:24)
    at e.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
VM462:3121 Draw Matrix/List View
VM462:40291 Uncaught (in promise) TypeError: Cannot read property 'neighbors' of undefined
    at eval (eval at <anonymous> (app.js:1), <anonymous>:40291:65)
    at Array.filter (<anonymous>)
    at getDucks (eval at <anonymous> (app.js:1), <anonymous>:40291:43)
    at Object.$$self.$$.update (eval at <anonymous> (app.js:1), <anonymous>:40326:28)
    at init (eval at <anonymous> (app.js:1), <anonymous>:4138:8)
    at new Ducks (eval at <anonymous> (app.js:1), <anonymous>:40349:3)
    at DucksView.draw (eval at <anonymous> (app.js:1), <anonymous>:40381:21)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:40364:24)
    at e.onLayoutReady (app.js:1)
    at DucksView.onload (eval at <anonymous> (app.js:1), <anonymous>:40363:28)
2app.js:1 Uncaught TypeError: Cannot read property 'on' of undefined
    at eval (eval at <anonymous> (app.js:1), <anonymous>:15:329569)
    at e.t.tryTrigger (app.js:1)
    at e.t.trigger (app.js:1)
    at e.trigger (app.js:1)
    at e.activeLeafEvents (app.js:1)
    at a (app.js:1)
VM462:3121 StatsView
VM462:23175 Uncaught (in promise) TypeError: Cannot read property 'forEachEdge' of undefined
    at getSubForFields (eval at <anonymous> (app.js:1), <anonymous>:23175:10)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:41417:24)
    at Array.forEach (<anonymous>)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:41414:16)
    at Array.map (<anonymous>)
    at instance$4 (eval at <anonymous> (app.js:1), <anonymous>:41400:34)
    at init (eval at <anonymous> (app.js:1), <anonymous>:4127:11)
    at new Stats (eval at <anonymous> (app.js:1), <anonymous>:41503:3)
    at StatsView.draw (eval at <anonymous> (app.js:1), <anonymous>:41536:21)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:41516:47)

ooker777 avatar Feb 05 '22 10:02 ooker777

When does this happen? I think this error occurs when you aren't focused on a markdown note

SkepticMystic avatar Feb 05 '22 12:02 SkepticMystic

I have focused on the note, yet it still doesn't work. It seems that sometimes the plugin cannot read the edges, and sometimes it can

ooker777 avatar Feb 05 '22 12:02 ooker777

Please give v4 a try, read here for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md. Gonna close this out, please reopen if this happens in the new version

SkepticMystic avatar Mar 03 '24 15:03 SkepticMystic