flathub / com.axosoft.GitKraken

https://flathub.org/apps/details/com.axosoft.GitKraken
8 stars 9 forks source link

Repo fails to open each time I launch. #183

Open brittyazel opened 1 year ago

brittyazel commented 1 year ago

Each time I launch GitKraken my repo fails to open, the error reads "Open Failed - Could not find a compatible repository at ". This happens every single launch to the last open repo, and re-opening it works for the remainder of that session.

Looking at the chat logs I see these errors which seem pretty major.

EDIT: These same errors (apart from the dbus errors at the top) appear in the non-flatpak desktop client as well, so these errors are likely not the source of this specific crash. The crash is isolated to the flatpak build though, with it not showing up in the non-flatpak version, nor does it show if I roll back the flatpak version to the previous build.

[2:0501/135444.099885: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
[2:0501/135444.099910: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
ldd: warning: you do not have execution permission for `/app/extra/gitkraken/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release/nodegit-ubuntu-18.node'
(node:2) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `gitkraken --trace-deprecation ...` to show where the warning was created)
(node:2) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
state:  unavailable
(node:2) UnhandledPromiseRejectionWarning: Error: Could not read response
    at fetchGitHubEnterpriseMetadataSaga (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:758370)
    at fetchGitHubEnterpriseMetadataSaga.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702062)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705144)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:2) UnhandledPromiseRejectionWarning: Error: Could not read response
    at fetchGitHubEnterpriseMetadataSaga (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:758370)
    at fetchGitHubEnterpriseMetadataSaga.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702062)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705144)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
ldd: warning: you do not have execution permission for `/app/extra/gitkraken/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release/nodegit-ubuntu-18.node'
Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
The above error occurred in task call

(node:2) UnhandledPromiseRejectionWarning: Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:2) UnhandledPromiseRejectionWarning: Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:2) UnhandledPromiseRejectionWarning: Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
(node:2) UnhandledPromiseRejectionWarning: Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
(node:2) UnhandledPromiseRejectionWarning: Error: 2
    at handleError (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:111542)
    at handleError.next (<anonymous>)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706915)
    at proc (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706688)
    at pe.<computed> (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4702019)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706471
    at digestEffect (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707543)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4706980)
    at Object.currCb [as cont] (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at end (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705646)
    at abort (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705007)
    at D.cont (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4705102)
    at next (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707059)
    at currCb (/app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4707305)
    at /app/extra/gitkraken/resources/app.asar/src/main/static/main.bundle.js:2:4700617
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)
ldd: warning: you do not have execution permission for `/app/extra/gitkraken/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release/nodegit-ubuntu-18.node'
state:  checking
(node:164) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `exe --trace-deprecation ...` to show where the warning was created)
(node:164) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
state:  unavailable
[41:0501/135448.555323:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
(node:164) DeprecationWarning: Instantiation of DiffOptions is deprecated and will be removed in an upcoming version
(node:164) DeprecationWarning: Use NodeGit.Credential.userpassPlaintextNew instead of NodeGit.Cred.userpassPlaintextNew
[41:0501/135457.558071:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
Lctrs commented 1 year ago

Maybe try to reset the app by deleting the directory ~/.var/app/com.axosoft.GitKraken. This will delete all your configuration, etc.

brittyazel commented 1 year ago

Yep, that was the first thing I tried. No luck unfortunately.

Edit: Rolling back the version of GitKraken to the previous flatpak release (9.2.1) seems to solve the repo failing to open at launch issue.

Also, regarding the errors listed above, using Flatseal to enable socket=system-bus fixes the dbus errors at the top of the logs. I'm not sure the ramifications of doing so, but I thought I'd report it at the least.

Likewise, I can confirm that running a non-flatpak version of GitKraken shows the same errors as above, but does not exhibit the repository error upon launching the application.