Skip to content

CM plugin breaks in LP in obs 1.9Β #598

@Avalon-Tzi

Description

@Avalon-Tzi

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

app.js:1 RangeError: Decorations that replace line breaks may not be specified via plugins
    at e.point (app.js:1:374205)
    at Function.spans (app.js:1:329250)
    at Function.build (app.js:1:375237)
    at t.updateChildren (app.js:1:390900)
    at t.updateInner (app.js:1:389384)
    at new t (app.js:1:387116)
    at e.setState (app.js:1:488824)
    at t.set (app.js:1:1933311)
    at t.set (app.js:1:2544873)
    at t.setViewData (app.js:1:2560784)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then
l @ app.js:1
(anonymous) @ app.js:1
y @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
y @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
y @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
a @ app.js:1
Promise.then
l @ app.js:1
(anonymous) @ app.js:1
y @ app.js:1
(anonymous) @ app.js:1
eval @ plugin:obsidian-kanban:67
o @ plugin:obsidian-kanban:33
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
y @ app.js:1
t.openFile @ app.js:1
t.onSelfClick @ app.js:1
t.onFileClick @ app.js:1
s @ enhance.js:1

Describe the Issue

First of all: Sorry, english isn't my native language. So I needed ChatGPT, hope I found all it's mistakes.

πŸ“ Description:
I'm using Obsidian 1.9.4 (Catalyst Beta) on both Windows and Android. Since updating to this version, I've occasionally encountered an issue where certain files – seemingly at random – cannot be opened. The error message is minimal:

"" could not be opened.

This affects different files at different times. All affected files open fine after a specific workaround (see below), and the issue occurs without any sync process involved. I'm using Dropbox with DropSync on Android, and Obsidian is always fully closed before any sync happens. The issue occurs regardless of device (both PC and mobile), so sync timing can be ruled out.

βœ… Workaround (100% success rate):
Open the file in an external editor.
Cut the full content (Ctrl+A β†’ Ctrl+X), save β†’ now the file opens in Obsidian.
Paste the content back in and save again β†’ the file continues to open just fine.
This works even if I only cut the body of the note, leaving the YAML intact, means the YAML can be ruled out too.

A different workaround is to disable all community plugins, open the file, enable them again and the file stays open without error.

πŸ§ͺ Tests performed:

  • Verified YAML syntax – valid.
  • Confirmed no recursive includes or malformed markdown.
  • Tried removing callouts and restructured content – issue persisted until workaround was used.
  • Tried adding MetaBind debug mode – no output; file still failed to open. This was only performed on mobile though.
  • Occurs even on files with minimal plugin usage, only Callouts and MetaBind.
  • No visible error in Obsidian’s interface; just refuses to open the file until content is temporarily removed or plugin is temporary disabled.

πŸ”Ž Additional context:
The affected files often include YAML with arrays and text, sometimes lists like:

Schedule_I_ExpensiveStrain_Ingredients:

  • Banana
  • Gasoline
  • Banana
  • Cuke

Some of them also contain MetaBind INPUT[] blocks inside callouts or headings, but the error happens before these blocks even render – and disappears even if the exact same content is pasted back in.

βš™οΈ Environment:
Obsidian version: 1.9.4 (Catalyst Beta)
Devices: Windows 11 Desktop + Android 13 Phone
Vault storage: Dropbox (accessed via DropSync on mobile)
Plugins used: MetaBind (no crashes or errors), Templater, Dataview – all stable. Other Plugins used as well, but not called in the files.
Theme: Default Light/Dark (no heavy CSS customizations)
Live Preview: Enabled

Steps to Reproduce

Simply random files from time to time. All use Meta-Bind however.

Expected Behavior

File should open, even if Meta-Bind would be erronous, also it worked before the 1.9.4 update of Obsidian, so there's some miscommunication between that new version and the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behavior caused by this plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions