Can't launch flatpak app

❯ flatpak run com.super_productivity.SuperProductivity
[3 zypak-helper] /app/superproductivity/superproductivity is not an ELF file
[3 zypak-helper] (it appears to be a shell script?)
[3 zypak-helper] WARNING: supplied target /app/superproductivity/superproductivity does not look like a valid Chromium binary!
[3 zypak-helper] Zypak needs to be called directly on the executable *binary*, not any wrappers.
[8 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[8 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
[3 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[3 preload-host-spawn-strategy] Warning: waitpid override ignores groups
[3:0422/165927.719045:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file
or directory
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module ‘../src/app/util/get-backup-timestamp’
Require stack:
- /app/superproductivity/resources/app.asar/electron/backup.js
- /app/superproductivity/resources/app.asar/electron/ipc-handlers/app-data.js
- /app/superproductivity/resources/app.asar/electron/ipc-handlers/index.js
- /app/superproductivity/resources/app.asar/electron/ipc-handler.js
- /app/superproductivity/resources/app.asar/electron/start-app.js
- /app/superproductivity/resources/app.asar/electron/main.js
-
at Module._resolveFilename (node:internal/modules/cjs/loader:1463:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:140033)
at defaultResolveImpl (node:internal/modules/cjs/loader:1073:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1078:22)
at Module._load (node:internal/modules/cjs/loader:1249:25)
at c._load (node:electron/js2c/node_init:2:18047)
at wrapModuleLoad (node:internal/modules/cjs/loader:262:19)
at Module.require (node:internal/modules/cjs/loader:1563:12)
at require (node:internal/modules/helpers:152:16)
at Object. (/app/superproductivity/resources/app.asar/electron/backup.js:43:32)
[3:0422/165927.836642:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file
or directory
[3:0422/165927.836666:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file
or directory

Trying to run a flatpak and it throws this error and I don’t know how to diagnose it. Any help is appreciated. Thank you

This is not built right, is there not a SuperProductivity-bin in AUR?

If not I can show you how. And welcome @s1lentkille7

paru -Ss superproductivity-bin                                                                    ─╯
aur/superproductivity-bin 18.2.8-1 [+40 ~3.20] [Installed]
    ToDo list and Time Tracking

if you are talking about the command I used to run it, it’s directly copy and pasted from flathub. Didn’t even look in the AUR because it didn’t say that there was a source on Arch specifically but I will give that a go now. Thank you and I’m happy to be here. Newly converted ReviOS user.

Nope I’m speaking about the Flatpak superproductivity app It’s broke currently.