Obsidian freezing with popup "javascript error occured in the main process"

Hello,

Regularly when using obsidian, the software crashes opening this popup:

Do you have any idea what could be causing this problem?
thank you

I’m getting the same thing when running on Ubuntu.

Did you get anywhere with this?

I am also having this issue on ubuntu 22.10 , it is very annoying, as it happens frequently.

I’m experimenting with clearing local and session storage to see if that helps.

In developer tools (ctrl + shift + i), I went to the ‘Application’ tab and cleared these. If things look better, I’ll report back.

That didn’t help; I left my computer and when I came back, Obsidian had frozen and the error message was present.

However, there was an error in the console log as I’d left the developer tools open. It may or may not be related, but posting here just in case - auto-note-mover is trying to do something and throwing an error.

Same here. Using the AppImage on bullseye.

 lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Screenshot 2023-08-14 11.50.23

I got the same error, but only when using Ulauncher, or the Ubuntu app launcher. When i go to Applications/ and double-click the AppImage, Obsidian launches without the error.

Obsidian version: 1.4.14
Ubuntu version: 22.04.3 LTS

I just reinstalled Obsidian using Flatpak, and the error went away. I can launch Obsidian using Ulauncher and the Ubuntu app launcher with no problems.

I used to get this error on ubuntu 22.04 once or twice a day with the AppImage. I switched to the snap install and it has been tock solid since.