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

Multiple Errors when opening the App (app still opens) #297

Closed
vetricodes opened this issue Feb 18, 2024 · 28 comments
Closed

Multiple Errors when opening the App (app still opens) #297

vetricodes opened this issue Feb 18, 2024 · 28 comments
Labels
bug Something isn't working

Comments

@vetricodes
Copy link

vetricodes commented Feb 18, 2024

Description

Multiple errors occur when opening the app (attached in the Logs section), however the app still opens. This doesn't happen with official appimage

Obsidian Version

Obsidian - Markdown-based knowledge base

          ID: md.obsidian.Obsidian
         Ref: app/md.obsidian.Obsidian/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.5.3
     License: LicenseRef-proprietary=https://obsidian.md/eula
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 604.3 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 8701844fd89d910215d99921219380de4f8bd5c88debb77a836303ef8efd1ead
      Parent: 1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca
     Subject: Suppress segfault output if obsidian crashes (#290) (65907367)
        Date: 2024-02-17 22:27:20 +0000

Sandbox Permissions

[Context]
shared=network;ipc;
sockets=x11;pulseaudio;ssh-auth;
devices=dri;
filesystems=home;/media;xdg-run/gnupg:ro;/mnt;/run/media;~/.local/share/fonts:ro;xdg-run/app/com.discordapp.Discord:create;
persistent=~/.ssh;

[Environment]
SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
OBSIDIAN_CLEAN_CACHE=1
OBSIDIAN_ENABLE_AUTOSCROLL=0
PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons
OBSIDIAN_DISABLE_GPU=0
GH_PATH=gh

Hardware Information

00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)

----------------------

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 520 (SKL GT2) (0x1916)
    Version: 23.3.5
    Accelerated: yes
    Video memory: 7696MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

System Information

Fedora 39, Gnome,Flatpak 1.15.6, Wayland

Logs

Deleting cache directory: /home/vetri/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: 
Debug: Additionally, user gave: 
[14:0218/145552.527205:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
Gtk-Message: 14:55:52.776: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:55:52.777: Failed to load module "pk-gtk-module"
Gtk-Message: 14:55:52.780: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:55:52.780: Failed to load module "pk-gtk-module"
[14:0218/145552.815732:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[14:0218/145552.815932:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:151:3)
    at update (/app/resources/app.asar/main.js:139:9) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:151:3)
    at update (/app/resources/app.asar/main.js:139:9) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
[14:0218/145611.367659:ERROR:network_service_instance_impl.cc(558)] Network service crashed, restarting service.
Error: net::ERR_FAILED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49935)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:155:3)
    at async update (/app/resources/app.asar/main.js:139:3) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:155:3)
    at async update (/app/resources/app.asar/main.js:139:3) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Error: net::ERR_FAILED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49935)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:176:3)
    at async update (/app/resources/app.asar/main.js:139:3) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:176:3)
    at async update (/app/resources/app.asar/main.js:139:3) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
@vetricodes vetricodes added the bug Something isn't working label Feb 18, 2024
@coritanic
Copy link

coritanic commented Feb 18, 2024

This also happens to me on NixOS GNOME. The issue started since the commit 6590736.

The problem doesn't exist in the previous version: sudo flatpak update md.obsidian.Obsidian --commit=1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca (d654005).

The issue is reproducible on a fresh Fedora VM.

Kooha-2024-02-18-05-42-21.mp4

@npomphrey
Copy link

Same here.
Working fine yesterday; 2024.02.17
Fedora 39 - Gnome desktop
Once you've closed the multiple error pop-ups, Obsidian opens and appears to function correctly.
I raised this on Obsidian.org and others are also having the same problem (Linux Flatpak)

Uncaught Exception:
Error: write EPIPE
atafterWriteDispatched (nodeinternal/stream_base_commons:160:15)
atwriteGeneric (nodeinternal/stream_base_commons:151:3)
at Socket,_writeGeneric (node:net:930:11)
at Socket,_write (node:net:942:8)
atwriteOrBuffer (nodecinternal/streams/writable:392:12)
at_write (nodeinternal/streams/writable:333:10)
atWritable.write (nodeinternal/streams/writable:337:10)
atfn (/app/resources/app.asar/mainjs:57:10)
atrunUpdate (/app/resources/app.asar/main.js:151:
at update (fapp/resources/app.asar/main.js:139:9)

Ok

@merrkry
Copy link

merrkry commented Feb 18, 2024

Same here, happens on KDE + Arch Linux
图片
It seems to happen when checking for updates / clicking at an external link.

@powerarmorpatch
Copy link

The problem doesn't exist in the previous version: sudo flatpak update md.obsidian.Obsidian --commit=1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca (d654005).

Thanks for the fix!
Though if you run Pop OS, it's most likely that Obsidian is installed only for your user account, not system-wide. So if sudo flatpak update md.obsidian.Obsidian --commit=... gives you error, try to run it without sudo:
flatpak update md.obsidian.Obsidian --commit=1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca

@rxptor
Copy link

rxptor commented Feb 18, 2024

This also happens to me on NixOS GNOME. The issue started since the commit 6590736.

The problem doesn't exist in the previous version: sudo flatpak update md.obsidian.Obsidian --commit=1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca (d654005).

The issue is reproducible on a fresh Fedora VM.

Kooha-2024-02-18-05-42-21.mp4

Same issue. Thanks for "hot fix".

@Onxr
Copy link

Onxr commented Feb 18, 2024

This also happens to me on NixOS GNOME. The issue started since the commit 6590736.

The problem doesn't exist in the previous version: sudo flatpak update md.obsidian.Obsidian --commit=1c13b24618b78278de7af0d4a4a832d793ddb9613588f4b400ae3ad3d2985bca (d654005).

The issue is reproducible on a fresh Fedora VM.

Kooha-2024-02-18-05-42-21.mp4

Thanks it works for now but if I update I get this

flatpak run md.obsidian.Obsidian 
Deleting cache directory: /home/aceiow/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: 
Debug: Additionally, user gave: 
[14:0218/191146.457526:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at Object.<anonymous> (/app/resources/app.asar/main.js:445:2)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
[14:0218/191146.569989:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[14:0218/191146.570026:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:151:3)
    at update (/app/resources/app.asar/main.js:139:9) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:151:3)
    at update (/app/resources/app.asar/main.js:139:9) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:153:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Uncaught Exception Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:930:11)
    at Socket._write (node:net:942:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at fn (/app/resources/app.asar/main.js:57:10)
    at runUpdate (/app/resources/app.asar/main.js:153:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

@zactionn
Copy link

Having the same issue here too. Fedora39 fresh install after dnf updates.

Same here, happens on KDE + Arch Linux 图片 It seems to happen when checking for updates / clicking at an external link.

@IronLllama
Copy link

Same on mint / Cinnamon, again since the update.

image

@joshua-stone
Copy link
Collaborator

I'm going to revert my latest commit due to it being linked in this issue:

#298

@joshua-stone
Copy link
Collaborator

@vetricodes @coritanic @Onxr @rxptor @zactionn @powerarmorpatch It should be reverted now:

$ flatpak remote-info --log flathub md.obsidian.Obsidian

Obsidian - Markdown-based knowledge base

        ID: md.obsidian.Obsidian
       Ref: app/md.obsidian.Obsidian/x86_64/stable
      Arch: x86_64
    Branch: stable
   Version: 1.5.3
   License: LicenseRef-proprietary=https://obsidian.md/eula
Collection: org.flathub.Stable
  Download: 184.7 MB
 Installed: 604.3 MB
   Runtime: org.freedesktop.Platform/x86_64/23.08
       Sdk: org.freedesktop.Sdk/x86_64/23.08

    Commit: 26c9563c28b3250935a00151e4efcb6b4a8488a6b1066b111cf943d882effca7
    Parent: 7f22efbe5483919dffe60d2b67c436adb33e217a1c35792a1f43ab781c70c358
   Subject: Revert "Suppress segfault output if obsidian crashes (#290)" (e817cda1)
      Date: 2024-02-18 16:53:39 +0000
   History: 

Please update Obsidian:

$ flatpak update md.obsidian.Obsidian

If you're still having issues with Obsidian launching, then you may have to start with a clean Obsidian data directory:

$ flatpak kill md.obsidian.Obsidian
$ mv ~/.var/app/md.obsidian.Obsidian ~/.var/app/md.obsidian.Obsidian.bak
$ flatpak run md.obsidian.Obsidian

@irm-codebase
Copy link

Add me to the pile of complaints :')

Same issue in Fedora 39
image

Clicking on "OK" several times works, but the connection to some plugins is botched (like Zotero).

@joshua-stone
Copy link
Collaborator

@irm-codebase Please update as such: #297 (comment)

@irm-codebase
Copy link

@irm-codebase Please update as such: #297 (comment)

Just did, in fact! The problem is fixed on my side :)
Thank you for being so quick with the hotfix.

@lautome
Copy link

lautome commented Feb 18, 2024

@irm-codebase Please update as such: #297 (comment)

Excellent! Many thanks.

@IronLllama
Copy link

Fixed here as well, thank you for such a quick fix - and on a Sunday too.

@coritanic
Copy link

coritanic commented Feb 19, 2024

Thanks it works for now but if I update I get this

sudo flatpak mask md.obsidian.Obsidian pins the version.

@joshua-stone
Copy link
Collaborator

Glad to hear that the hotfix worked! I think I can mark this issue as fixed.

@vetricodes
Copy link
Author

fixed tysm C:

@blacklightpy
Copy link

It's still there, on version 1.5.11.

image

@joshua-stone
Copy link
Collaborator

@blacklightpy What version of Obsidian is shown when running flatpak info md.obsidian.Obsidian?

$ flatpak info md.obsidian.Obsidian

Obsidian - Markdown-based knowledge base

          ID: md.obsidian.Obsidian
         Ref: app/md.obsidian.Obsidian/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.5.11
     License: LicenseRef-proprietary=https://obsidian.md/eula
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 625.6 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 45aca5bfa83d1283e2b75ff7e9c394ea46697eb5eb48703b774f48fca4242c9a
      Parent: d3ec0e634d008391e743163ed233f25a2c92ecf8115c0d5147ffabf166ec91be
     Subject: Update 2 modules (d658668b)
        Date: 2024-03-20 19:20:36 +0000

Do you have an asar included in the Obsidian data directory?

$ find ~/.var/app/md.obsidian.Obsidian -name '*.asar'

You may have to remove it.

@blacklightpy
Copy link

blacklightpy commented Mar 22, 2024

@joshua-stone
It was 1.5.11, now I downgraded to 1.5.3 as per the replies above. Let me see upgrading again.
(I also had it when I was on 1.4.x before upgrading to 1.5.11)

@blacklightpy
Copy link

Indeed there is a 1.5.11 asar. Lemme try removing and upgrading.

@joshua-stone
Copy link
Collaborator

joshua-stone commented Mar 22, 2024

Alternatively, you can move the Obsidian folder to ensure that there's a clean config folder to start with:

$ flatpak kill md.obsidian.Obsidian
$ mv ~/.var/app/md.obsidian.Obsidian ~/.var/app/md.obsidian.Obsidian.bak
$ flatpak update md.obsidian.Obsidian
$ flatpak run md.obsidian.Obsidian

@blacklightpy
Copy link

For now, it seems to be working, I'll report if that changes.

@blacklightpy
Copy link

Oh no it looks like it's broken again. I'll try using a fresh setup.

@blacklightpy
Copy link

One more thing to mention is that I'm using musl libc, on Void Linux distribution.

Electron isn't officially supported in musl, as chromium could only be supported after applying a bunch of patches. When I built an app from scratch with minimal patches, it showed the same errors I saw here on the terminal side. The dialog box is the same error as shown here.

So this maybe related to the fact that I'm running musl for some reason, but again, Flatpak is supposed to be immune to that.

@blacklightpy
Copy link

blacklightpy commented Mar 22, 2024

I'll try using a fresh setup.

No use, it's still showing the same error.

@blacklightpy
Copy link

I noticed that this error did not occur when I was using KDE Plasma (for about 200 hours). It returned when I switched to Hyprland (within 30 min as usual). What could be missing??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests