james-tindal / obsidian-mindmap-nextgen

Create mind maps from your obsidian markdown files
169 stars 9 forks source link

Obsidian is freezing after activation of the "obsidian-mindmap-nexgen" Plugin. #136

Closed Titanfinger closed 1 year ago

Titanfinger commented 1 year ago

When i install this Plugin in Obsidian under MacOSX 10.15.7 (Catalina)

Thanks for your efforts.

james-tindal commented 1 year ago

Hi @Titanfinger. Could you try the following to get more information for me? Press cmd+alt+i. Click on the Console tab

image

Send me a screenshot of whatever messages are in there,

james-tindal commented 1 year ago

Are you using the latest version of Obsidian? You can check in the "About" tab in the Preferences window

zcysxy commented 1 year ago

Same here. After installing the plugin, related commands do not show in the command palette. Then after a reboot, Obsidian freezes. I need to remove the plugin folder and reboot Obsidian.

james-tindal commented 1 year ago

Would be very helpful if you could get me the same information I asked for above please, @zcysxy

zcysxy commented 1 year ago

Same here. After installing the plugin, related commands do not show in the command palette. Then after a reboot, Obsidian freezes. I need to remove the plugin folder and reboot Obsidian.

Hi @james-tindal, for the first problem, disabling the old mindmap plugin solves it.

image

However, Obsidian still freezes after a reboot if obsidian-mindmap-nextgen exists in the plugin folder, and I cannot get the error info. My Obsidian version is 1.1.14.

zcysxy commented 1 year ago

Strangely, with the same plugin set (I copied the plugins folder), the sandbox vault does not have this issue. Logs in the sandbox vault:

image
james-tindal commented 1 year ago

Thanks. Could you click image and show me what comes up?

james-tindal commented 1 year ago

Never mind. I see the line number.

zcysxy commented 1 year ago
wrong info I found the issue may be a conflict with the Kanban plugin. I was able to create a minimal working example: 1. In the sandbox vault, install and enable this plugin and Kanban plugin 2. Create a Kanban Markdown with the following content 3. Reboot Obsidian and open the Kanban note, then Obsidian will freeze ````markdown --- kanban-plugin: basic --- ## hello - [ ] Something - [ ] Something else ## world - [ ] hello - [ ] this - [ ] something - [ ] [[Start Here]] %% kanban:settings ``` {"kanban-plugin":"basic"} ``` %% ````
james-tindal commented 1 year ago

On my side, Obsidian crashes when I try to paste your example into the document. With no error, and the text never gets pasted.

zcysxy commented 1 year ago

On my side, Obsidian crashes when I try to paste your example into the document. With no error, and the text never gets pasted.

Yes, same for me. Super weird. If you write the file with another editor, it crashes when you open it.

zcysxy commented 1 year ago

Sorry for the misleading information above. I located the real problem: wikilink after a checkbox, typing the following line will freeze Obsidian

- [ ] [[some note]]
james-tindal commented 1 year ago

Great. Minimal reproducible example. I've noticed it's unrelated to the Kanban plugin.

james-tindal commented 1 year ago

Pushed the fix to production. @zcysxy @Titanfinger Check the latest version please guys.

woshitoutouge commented 1 year ago

This morning I find OB freeze once I open a specific file, it took me 2 hours to test the problem, I have no choice but to enable/disable every plugin that i installed, finally i find this new mindmap plugin, the problem solved after i disable or update this plugin. such a relief

zcysxy commented 1 year ago

Issue solved, thanks @james-tindal !

james-tindal commented 1 year ago

Bad times, @woshitoutouge Glad you figured it out!