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

Whiteboard - Error: No shape type provided #11275

Open
1 of 2 tasks
rowsof opened this issue Apr 28, 2024 · 0 comments
Open
1 of 2 tasks

Whiteboard - Error: No shape type provided #11275

rowsof opened this issue Apr 28, 2024 · 0 comments

Comments

@rowsof
Copy link

rowsof commented Apr 28, 2024

Search first

  • I searched and no similar issues were found

What Happened?

I was just starting to create a white board, I had been adding some references to other pages. I renamed one of the pages, and then the Something Went Wrong page came up? I'm not really sure what happened, but any time I try to open the whiteboards page I get this error.

Reproduce the Bug

I have not tried to reproduce and I don't know if these steps are enough to reproduce the bug. I'm hoping the console log below will help.

Make a new whiteboard.
Add page references to white board.
Add and remove some connectors.
Rename one of the referenced pages.
Observe "Something Went Wrong" page.

Expected Behavior

don't break

Screenshots

image

Desktop or Mobile Platform Information

MacOS Sonoma 14.4.1, desktop app, logseq 0.10.9

Additional Context

From Developer Tools Console:

instrument.js:191 Error: No shape type provided.
at tldraw-logseq.js:32258:11
at Array.map ()
at nh.load (tldraw-logseq.js:32278:55)
at new nh (tldraw-logseq.js:32270:12)
at Hw (tldraw-logseq.js:32385:19)
at $APP.$JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$1$ (core.cljs:1160:17)
at Function. (whiteboard.cljs:41:12)
at $cljs$core$apply_to_simple$cljs$0core$0IFn$0_invoke$0arity$03$$ (core.cljs:3943:18)
at $APP.$cljs$core$apply$$.$cljs$core$IFn$_invoke$arity$2$ (core.cljs:3972:9)
at core.cljs:188:16
at core.cljs:421:8
at $ctor$jscomp$2$$.render (core.cljs:112:33)
at Te (react-dom.production.min.js:119:308)
at Ch (react-dom.production.min.js:119:105)
at Pj (react-dom.production.min.js:233:139)
at di (react-dom.production.min.js:168:305)
at Nj (react-dom.production.min.js:168:236)
at sc (react-dom.production.min.js:168:96)
at gf (react-dom.production.min.js:162:109)
at react-dom.production.min.js:73:230
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at $g (react-dom.production.min.js:73:176)
at ja (react-dom.production.min.js:73:111)
at ai (react-dom.production.min.js:163:16)
at $rum$core$render$$ (core.cljs:255:4)
(anonymous) @ instrument.js:191
instrument.js:191 [frontend.ui] {:exception #object[Error Error: No shape type provided.], :line 855}
(anonymous) @ instrument.js:191
instrument.js:191 [frontend.ui] Error: No shape type provided.
Error: No shape type provided.
at file:///Applications/Logseq.app/Contents/Resources/app/js/tldraw.js:1540:391
at Array.map ()
at nh.load (file:///Applications/Logseq.app/Contents/Resources/app/js/tldraw.js:1540:356)
at new nh (file:///Applications/Logseq.app/Contents/Resources/app/js/tldraw.js:1540:192)
at Hw (file:///Applications/Logseq.app/Contents/Resources/app/js/tldraw.js:281:127)
at $APP.$JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$1$ (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:98798:142)
at Function. (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:179188:240)
at $cljs$core$apply_to_simple$cljs$0core$0IFn$0_invoke$0arity$03$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:8733:170)
at $APP.$cljs$core$apply$$.$cljs$core$IFn$_invoke$arity$2$ (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:101740:204)
at file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:11864:135
at file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:119728:503
at $ctor$jscomp$2$$.render (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:11707:203)
at Te (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:119:308)
at Ch (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:119:105)
at Pj (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:233:139)
at di (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:168:305)
at Nj (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:168:236)
at sc (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:168:96)
at gf (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:162:109)
at file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:73:230
at unstable_runWithPriority (file:///Applications/Logseq.app/Contents/Resources/app/js/react.production.min.js:24:26)
at Za (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:73:8)
at $g (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:73:176)
at ja (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:73:111)
at ai (file:///Applications/Logseq.app/Contents/Resources/app/js/react-dom.production.min.js:163:16)
at $rum$core$render$$ (file:///Applications/Logseq.app/Contents/Resources/app/js/main.js:11881:175)
(anonymous) @ instrument.js:191
index-01e51a12.js:13 Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
at cr (index-01e51a12.js:13:2011)
at index-01e51a12.js:13:1358

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants