question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Not playing nice with sliding panes plugin

See original GitHub issue

The plugin will switch back and forth over the many notes if I use this plugin with the sliding panes plugin.

Error in the console:

Uncaught (in promise) TypeError: cache.links is not iterable
    at MyGraph.eval (eval at <anonymous> (app.js:1), <anonymous>:35179:48)
    at Generator.next (<anonymous>)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:31:71)
    at new Promise (<anonymous>)
    at __awaiter (eval at <anonymous> (app.js:1), <anonymous>:27:12)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:35173:52)
    at Ot (eval at <anonymous> (app.js:1), <anonymous>:14464:31918)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:14464:34089)
    at MyGraph.Wt.t.<computed> [as forEachInNeighbor] (eval at <anonymous> (app.js:1), <anonymous>:14464:34228)
    at MyGraph.eval (eval at <anonymous> (app.js:1), <anonymous>:35173:22)
eval @ MyGraph.ts:194
eval @ tslib.es6.js:76
__awaiter @ tslib.es6.js:72
eval @ MyGraph.ts:187
Ot @ graphology.umd.min.js:1
eval @ graphology.umd.min.js:1
Wt.t.<computed> @ graphology.umd.min.js:1
eval @ MyGraph.ts:187
eval @ tslib.es6.js:76
__awaiter @ tslib.es6.js:72
Co-Citations @ MyGraph.ts:179
$$self.$$.update @ CoCitations.svelte:86
update @ index.mjs:760
flush @ index.mjs:732
Promise.then (async)
schedule_update @ index.mjs:707
make_dirty @ index.mjs:1444
eval @ index.mjs:1480
eval @ CoCitations.svelte:78
setTimeout (async)
eval @ CoCitations.svelte:78
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
t.activeLeafEvents @ app.js:1
a @ app.js:1
setTimeout (async)
l @ app.js:1
t.setActiveLeaf @ app.js:1
setActiveLeaf @ History.js:175
wrapper @ index.js:20
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.setViewState @ app.js:1
eval @ VM164:37622
wrapper @ VM164:54
eval @ VM176:74
o @ VM176:23
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.openFile @ app.js:1
eval @ VM322:12
eval @ VM322:6
ze @ VM322:6
Qi @ VM322:12
a @ app.js:1
setTimeout (async)
l @ app.js:1
eval @ VM322:12
B @ VM322:12
e.onHoverLink @ app.js:1
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
e.onInternalLinkMouseover @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1


2MyGraph.ts:194 Uncaught (in promise) TypeError: cache.links is not iterable
    at MyGraph.eval (eval at <anonymous> (app.js:1), <anonymous>:35179:48)
    at Generator.next (<anonymous>)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:31:71)
    at new Promise (<anonymous>)
    at __awaiter (eval at <anonymous> (app.js:1), <anonymous>:27:12)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:35173:52)
    at Ot (eval at <anonymous> (app.js:1), <anonymous>:14464:31918)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:14464:34089)
    at MyGraph.Wt.t.<computed> [as forEachInNeighbor] (eval at <anonymous> (app.js:1), <anonymous>:14464:34228)
    at MyGraph.eval (eval at <anonymous> (app.js:1), <anonymous>:35173:22)
eval @ MyGraph.ts:194
eval @ tslib.es6.js:76
__awaiter @ tslib.es6.js:72
eval @ MyGraph.ts:187
Ot @ graphology.umd.min.js:1
eval @ graphology.umd.min.js:1
Wt.t.<computed> @ graphology.umd.min.js:1
eval @ MyGraph.ts:187
eval @ tslib.es6.js:76
__awaiter @ tslib.es6.js:72
Co-Citations @ MyGraph.ts:179
$$self.$$.update @ CoCitations.svelte:86
update @ index.mjs:760
flush @ index.mjs:732
Promise.then (async)
schedule_update @ index.mjs:707
make_dirty @ index.mjs:1444
eval @ index.mjs:1480
eval @ CoCitations.svelte:78
setTimeout (async)
eval @ CoCitations.svelte:78
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
t.activeLeafEvents @ app.js:1
a @ app.js:1
setTimeout (async)
l @ app.js:1
t.setActiveLeaf @ app.js:1
setActiveLeaf @ History.js:175
wrapper @ index.js:20
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.setViewState @ app.js:1
eval @ VM164:37622
wrapper @ VM164:54
eval @ VM176:74
o @ VM176:23
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.openFile @ app.js:1
eval @ VM322:12
eval @ VM322:6
ze @ VM322:6
Qi @ VM322:12
a @ app.js:1
setTimeout (async)
l @ app.js:1
eval @ VM322:12
B @ VM322:12
p @ app.js:1


app.js:1 Uncaught RangeError: Field is not present in this state
    at e.field (app.js:1)
    at ListLinesViewPluginValue.waitForEditor (eval at <anonymous> (app.js:1), <anonymous>:1068:40)
e.field @ app.js:1
ListLinesViewPluginValue.waitForEditor @ LinesFeature.ts:48
setTimeout (async)
ListLinesViewPluginValue.waitForEditor @ LinesFeature.ts:50
ListLinesViewPluginValue @ LinesFeature.ts:44
eval @ LinesFeature.ts:322
e.update @ app.js:1
e.setState @ app.js:1
e.clear @ app.js:1
e @ app.js:1
t @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.setViewState @ app.js:1
eval @ VM164:37622
wrapper @ VM164:54
eval @ VM176:74
o @ VM176:23
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
A @ app.js:1
t.openFile @ app.js:1
eval @ VM322:12
eval @ VM322:6
ze @ VM322:6
Qi @ VM322:12
a @ app.js:1
setTimeout (async)
l @ app.js:1
eval @ VM322:12
B @ VM322:12
e.onHoverLink @ app.js:1
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
e.onInternalLinkMouseover @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1


app.js:1 TypeError: Cannot read properties of null (reading 'path')
    at e.set (app.js:1)
    at t.setViewData (app.js:1)
    at t.setData (app.js:1)
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
e.set @ app.js:1
t.setViewData @ app.js:1
t.setData @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1


app.js:1 Uncaught TypeError: Cannot read properties of null (reading 'hoverEl')
    at eval (eval at <anonymous> (app.js:1), <anonymous>:12:16709)
    at t.e.tryTrigger (app.js:1)
    at t.e.trigger (app.js:1)
    at t.trigger (app.js:1)
    at t.activeLeafEvents (app.js:1)
    at a (app.js:1)
eval @ VM322:12
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
t.activeLeafEvents @ app.js:1
a @ app.js:1
setTimeout (async)
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
t.activeLeafEvents @ app.js:1
a @ app.js:1
setTimeout (async)
l @ app.js:1
t.setActiveLeaf @ app.js:1
setActiveLeaf @ History.js:175
wrapper @ index.js:20
eval @ VM322:12
setTimeout (async)
eval @ VM322:12
v @ VM322:6


app.js:1 Uncaught TypeError: Cannot read properties of null (reading 'basename')
    at eval (eval at <anonymous> (app.js:1), <anonymous>:42256:59)
    at t.e.tryTrigger (app.js:1)
    at t.e.trigger (app.js:1)
    at t.trigger (app.js:1)
    at t.activeLeafEvents (app.js:1)
    at a (app.js:1)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
nothingislostcommented, Mar 9, 2022

This should be fixed in 0.1.2

1reaction
nothingislostcommented, Mar 8, 2022

Ouch. Okay. I don’t use Sliding Panes but I’ll take a look and see if I can address this. Thanks for the heads up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug With Sliding Panes? : r/ObsidianMD - Reddit
Hey everybody, I was using the Sliding Panes (Andy Mode) and recently I tried to collapse and move the panes, expecting smooth functionality, ......
Read more >
Issues · deathau/sliding-panes-obsidian - GitHub
When using the Pin option in a panel This "No file is open" auto opens panels one or more and endless. #126 opened...
Read more >
Sliding Panes plug in not working - Obsidian Forum
Open the Help Vault, install the plugin there, then see if it works. If it does, then the problem is caused by an...
Read more >
My Obsidian Setup (Part 10) - Pane/Tab Management - Medium
After today's newly installed plugins, the panes will be stacked on the left or right side. Also, switching panes now have a nice...
Read more >
Sliding Panes (Andy Matuschak Mode) Obsidian Plugin
Note headers stack up on the right as well as the left. Changing an active pane scrolls that pane into view. Togglable without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found