SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 94 forks source link

Flatpak will not launch on KDE Wayland #416

Closed bmhieserich closed 1 year ago

bmhieserich commented 1 year ago

Aknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

N/A (will not launch)

Application version

v4.2.0

Bug description

Download/install does not appear to complete. Attempt to install and run through terminal produces these results:

flatpak install webcord
Looking for matches…
Found ref ‘app/io.github.spacingbat3.webcord/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: y

io.github.spacingbat3.webcord permissions:
    ipc      network      pulseaudio      x11     devices     dbus access [1]

    [1] org.freedesktop.Notifications, org.freedesktop.secrets, org.kde.StatusNotifierItem-2-1,
        org.kde.StatusNotifierWatcher

        ID                                      Branch           Op           Remote           Download
 1. [✓] io.github.spacingbat3.webcord           stable           i            flathub          104.8 MB / 107.9 MB

Installation complete.
[USER]:~> flatpak run io.github.spacingbat3.webcord
[3 zypak-helper] Wait found events, but sd-event found none
[10 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[10 preload-host-spawn-strategy] Warning: waitpid override ignores groups
realloc(): invalid pointer
[10 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[3 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[3 preload-host-spawn-strategy] Warning: waitpid override ignores groups
/app/bin/webcord/usr/bin/webcord: line 3: /lib/webcord/webcord: No such file or directory

To reproduce:

  1. attempt to install flatpak
  2. attempt to run flatpak
  3. errors are produced

This issue does not appear in the AppImage version. Attempted to install the RPM version but it's possible that simple differences in how OpenSUSE Tumbleweed and Fedora handle RPM packages may prevent installation from RPM.

Additional context

No response

SpacingBat3 commented 1 year ago

This issue does not appear in the AppImage version.

I do not maintain flatpaks, so I can't do much to fix them. You should probably report this issue at Flatpak bug tracker (you most likely filled this bug request template on your own so you might noticed the notice in it).

I'll close this as you confirmed AppImages work fine and it isn't known whenever RPMs are broken on package side (and even if they were, I do not maintain RPM maker for now so I couldn't do much about this as well). I'm also not exactly sure if the RPMs packages aren't compatible with the OpenSUSE, I guess if it is native format for your DE and it doesn't work, you might give it a try opening an issue ticket on Electron Forge's GitHub project.