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

Failed to load plugin "tldraw" #54

Open
gbShaw opened this issue Sep 24, 2024 · 8 comments
Open

Failed to load plugin "tldraw" #54

gbShaw opened this issue Sep 24, 2024 · 8 comments

Comments

@gbShaw
Copy link

gbShaw commented Sep 24, 2024

Hi! Hope you're doing well!

When I upgraded Tldraw to version 1.7.2, it couldn't be enabled and displayed the message: "Failed to load plugin 'tldraw.'"

The previous version worked fine; I'm not sure what went wrong since I only upgraded all community plugins.

I'm using Obsidian v1.6.7, which is the latest update.

@gbShaw
Copy link
Author

gbShaw commented Sep 24, 2024

I have tried different versions, only 1.7.2, 1.7.1 and 1.6.0 cannot be loaded.

@balta2ar
Copy link

I'm experiencing the same with version 1.7.2.

@jon-dez
Copy link
Collaborator

jon-dez commented Sep 25, 2024

@balta2ar @gbShaw Interesting... what platform are you two using?

Also, can you open the developer console (ctrl + shift + i), then reload the page and see what errors pop up?

@gbShaw
Copy link
Author

gbShaw commented Sep 26, 2024

It is windows11.

And the log, here you are. Hope it helps.

VM215 plugin:tldraw:95151 TldrawPluginDevelopment.onload: Unloading plugin 'TldrawPlugin'.
app.js:1 Plugin failure: tldraw TypeError: Cannot define property Symbol(Symbol.metadata), object is not extensible
    at defineProperty (<anonymous>)
    at __defNormalProp (plugin:tldraw:16:57)
    at __decoratorMetadata (plugin:tldraw:49:47)
    at __decorateElement (plugin:tldraw:76:15)
    at pluginBuild (plugin:tldraw:94031:30)
    at __decorateElement (plugin:tldraw:71:28)
    at anonymous (plugin:tldraw:94979:16)
    at e.<anonymous> (app.js:1:2292629)
    at app.js:1:237138
    at Object.next (app.js:1:237243)
    at a (app.js:1:235961)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then (async)
l @ app.js:1
(anonymous) @ app.js:1
v @ app.js:1
e.enablePlugin @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
a @ app.js:1
Promise.then (async)
l @ app.js:1
a @ app.js:1

@balta2ar
Copy link

balta2ar commented Sep 26, 2024

Linux here (one on manjaro, one on ubuntu)

app.js:1 Plugin failure: tldraw TypeError: Cannot define property Symbol(Symbol.metadata), object is not extensible
    at defineProperty (<anonymous>)
    at __defNormalProp (plugin:tldraw:16:57)
    at __decoratorMetadata (plugin:tldraw:49:47)
    at __decorateElement (plugin:tldraw:76:15)
    at pluginBuild (plugin:tldraw:94031:30)
    at __decorateElement (plugin:tldraw:71:28)
    at anonymous (plugin:tldraw:94979:16)
    at e.<anonymous> (app.js:1:2292629)
    at app.js:1:237138
    at Object.next (app.js:1:237243)
    at a (app.js:1:235961)

image

@jon-dez
Copy link
Collaborator

jon-dez commented Sep 28, 2024

Hmm I can't seem to reproduce this, at least on windows 11. I will attempt manjaro or ubuntu if necessary, but I doubt there is a significant difference between the platform that I am using (fedora). I want to assume it is due to a plugin conflict because I am also on Obsidian version 1.6.7.

@gbShaw @balta2ar Can you try to install this plugin in its own vault with no other plugin enabled?

@balta2ar
Copy link

balta2ar commented Sep 28, 2024

I confirm that it works when installed in an empty vault, so I started bisecting plugins.

I found at least one conflicting plugin, but maybe there are more:
image

image

Full list of my plugins in case it's useful to test other plugins for compatibility:

Advanced tables
Annotator
Auto Link Title
Book Search
BPMN
BRAT
Calendar
Code Editor Shortcuts
Collout Manager
cMenu
D2
Dataview
DB Folder
Diagrams
Editor Syntax Highlight
Emoji Toolbar
Excalidraw
Find orphaned files and broken links
Highlightr
Inline Scripts
Kroki
LanguageTool integration
Mind Map
Mindmap NextGen
Minimal Theme Settings
Nomnom Diagram
Note Refactor
Obsidian Graphviz
Omnisearch
Outliner
Periodic Notes
PlantUML
QuickSwitcher++
Reveal Active File Button
Shortcuts extender
Supercharged links
Table of Contents
Tag wrangler
Tasks
Templater
Text Extractor
TikZJax
Word Sprint
Zotero integration

@jon-dez
Copy link
Collaborator

jon-dez commented Sep 28, 2024

Thanks @balta2ar , I will take a look at this tomorrow (hopefully). I appreciate the time it took for you to find the conflicting plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants