-
-
Notifications
You must be signed in to change notification settings - Fork 65
Description
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.4.2
This Issue Occurs on
- Windows
- Linux
- macOS
- Android
- iOS
Debug Info
SYSTEM INFO:
Obsidian version: v1.9.6
Installer version: v1.8.10
Operating system: Windows 11 Pro 10.0.26100
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: dark
Community theme: AnuPpuccin v1.5.0
Snippets enabled: 7
Restricted mode: off
Plugins installed: 21
Plugins enabled: 21
1: Style Settings v1.0.9
2: Smart Random Note v0.2.1
3: Templater v2.13.1
4: Vault Transfer v1.3.0
5: Task Collector (TC) v1.1.10
6: Another Quick Switcher v13.17.2
7: Commander v0.5.4
8: Daily notes calendar v2.5.0
9: Dynamic Embed v1.1.0
10: QuickAdd v1.18.1
11: Recent Notes v1.3.2
12: Clear Unused Images v1.1.1
13: jTab Guitar Codeblocks v1.2.3
14: Kanban v2.0.51
15: Linter v1.29.2
16: Regex Find/Replace v1.2.0
17: Sequence Hotkeys v0.6.0
18: BRAT v1.1.7
19: Datacore v0.1.24
20: Auto Note Mover v1.2.0
21: Meta Bind v1.4.2
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Describe the Issue
I'm trying to export a note to PDF. There is only one Meta Bind field on the note and it renders with no issues just on the screen.
If I try to export to PDF I get a toast message saying it failed, and I see the following in the console:
app.js:1 Lt: [MB_INTERNAL] "Failed to run function due to invalid arguments. Check that the arguments that you are passing to the function match the type definition of the function." caused by error "[
{
"code": "custom",
"message": "Input not instance of HTMLElement",
"fatal": true,
"path": [
"containerEl"
]
}
]"
at tn (plugin:obsidian-meta-bind-plugin:91:159078)
at $v.wrapInMDRC (plugin:obsidian-meta-bind-plugin:146:19718)
at eval (plugin:obsidian-meta-bind-plugin:156:13682)
at Function.postProcess (app://obsidian.md/app.js:1:1486291)
at t. (app://obsidian.md/app.js:1:2601870)
at app://obsidian.md/app.js:1:249768
at Object.next (app://obsidian.md/app.js:1:249873)
at a (app://obsidian.md/app.js:1:248591)
Caused by: ZodError: [
{
"code": "custom",
"message": "Input not instance of HTMLElement",
"fatal": true,
"path": [
"containerEl"
]
}
]
at get error (plugin:obsidian-meta…nd-plugin:91:106991)
at tn (plugin:obsidian-meta…nd-plugin:91:159279)
at $v.wrapInMDRC (plugin:obsidian-meta…nd-plugin:146:19718)
at eval (plugin:obsidian-meta…nd-plugin:156:13682)
at Function.postProcess (app.js:1:1486291)
at t. (app.js:1:2601870)
at app.js:1:249768
at Object.next (app.js:1:249873)
at a (app.js:1:248591)
Steps to Reproduce
Take the "Export to PDF" option from the 3 dots menu for the note. You are prompted for the file name and location for the save. Complete this and you will see the "Failed to save PDF" notification and the error as above in the console.
Expected Behavior
PDF is exported. If I disable Meta Bind in the Community Plugins settings, the PDF is created as expected. Re-enabling Meta Bind breaks it.
