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

After the meta bind plugin is upgraded to 1.2.5, the js engine plugin is abnormal #487

Closed
4 of 8 tasks
ytmaps opened this issue Dec 15, 2024 · 1 comment
Closed
4 of 8 tasks
Labels
bug Undesired behavior caused by this plugin

Comments

@ytmaps
Copy link

ytmaps commented Dec 15, 2024

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.2.5

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

app.js:1 Obsidian Developer Console
plugin:obsidian-meta-bind-plugin:137 meta-bind | Main >> loading
plugin:obsidian-meta-bind-plugin:139 meta-bind | Main >> loading settings
plugin:obsidian-meta-bind-plugin:137 meta-bind | Main >> load-time: 10.947021484375 ms
plugin:dataview:20327 Dataview: version 0.5.67 (requires obsidian 0.13.11)
plugin:obsidian-admonition:479 Obsidian Admonition loaded
plugin:dataview:12894 Dataview: all 42 files have been indexed in 0.007s (42 cached, 0 skipped).
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
node:internal/original-fs/promises:639 Uncaught (in promise) Error: ENOENT: no such file or directory, open 'E:\OB学习库\mb-exampleVault-10.15\.obsidian\snippets\custom-admonitions.c9c6cb.css'
    at async open (node:internal/original-fs/promises:639:25)
    at async Object.writeFile (node:internal/original-fs/promises:1212:14)
app.js:1 Error: Mountable is not mounted
    at zc.unmount (plugin:obsidian-meta-bind-plugin:52:72037)
    at eval (plugin:obsidian-meta-bind-plugin:76:40498)
    at Rn (plugin:obsidian-meta-bind-plugin:73:2801)
    at eval (plugin:obsidian-meta-bind-plugin:75:7421)
    at jx (plugin:obsidian-meta-bind-plugin:66:4139)
    at ra (plugin:obsidian-meta-bind-plugin:66:4698)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
(anonymous) @ app.js:1
app.js:1 Error: Mountable is not mounted
    at zc.unmount (plugin:obsidian-meta-bind-plugin:52:72037)
    at eval (plugin:obsidian-meta-bind-plugin:76:40498)
    at Rn (plugin:obsidian-meta-bind-plugin:73:2801)
    at eval (plugin:obsidian-meta-bind-plugin:75:7421)
    at jx (plugin:obsidian-meta-bind-plugin:66:4139)
    at ra (plugin:obsidian-meta-bind-plugin:66:4698)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
(anonymous) @ app.js:1
app.js:1 Error: Mountable is not mounted
    at zc.unmount (plugin:obsidian-meta-bind-plugin:52:72037)
    at eval (plugin:obsidian-meta-bind-plugin:76:40498)
    at Rn (plugin:obsidian-meta-bind-plugin:73:2801)
    at eval (plugin:obsidian-meta-bind-plugin:75:7421)
    at jx (plugin:obsidian-meta-bind-plugin:66:4139)
    at ra (plugin:obsidian-meta-bind-plugin:66:4698)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
(anonymous) @ app.js:1
app.js:1 Error: Mountable is not mounted
    at zc.unmount (plugin:obsidian-meta-bind-plugin:52:72037)
    at eval (plugin:obsidian-meta-bind-plugin:76:40498)
    at Rn (plugin:obsidian-meta-bind-plugin:73:2801)
    at eval (plugin:obsidian-meta-bind-plugin:75:7421)
    at jx (plugin:obsidian-meta-bind-plugin:66:4139)
    at ra (plugin:obsidian-meta-bind-plugin:66:4698)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
    at Jx (plugin:obsidian-meta-bind-plugin:66:4353)
    at ra (plugin:obsidian-meta-bind-plugin:66:4611)
(anonymous) @ app.js:1

Describe the Issue

https://github.com/user-attachments/assets/568b9ca5-f41c-4a80-9359-b7c58197c274
When I upgraded the meta bind plugin from version 1.1.3 to version 1.2.5, a bug occurred in the js engine plugin:

  1. When editing a document (note1.md) containing a js-engine code block, I switched to another document(note2.md) and the document showed that it could not be opened.
  2. If I do not edit the document, everything is normal.

Steps to Reproduce

Step 1:Download this compressed package and extract the files (note1.md, note2.md) to your vault.file.zip
Step2:Follow the instructions in the video to edit the document with the js-engine code block, then switch to another document.
step3:The document cannot be opened,Console:app.js:1 Error: Mountable is not mounted

Expected Behavior

There should be no situation where the document cannot be opened.

@ytmaps ytmaps added the bug Undesired behavior caused by this plugin label Dec 15, 2024
@mProjectsCode
Copy link
Owner

I can reproduce this. Seems to be related to the table not correctly unmounting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants