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

Unable to open Gitify on Pop!_OS 22.04 #1612

Open
1 task done
boundless-forest opened this issue Oct 29, 2024 · 7 comments
Open
1 task done

Unable to open Gitify on Pop!_OS 22.04 #1612

boundless-forest opened this issue Oct 29, 2024 · 7 comments
Labels
bug Something isn't working platform:linux Related to linux build

Comments

@boundless-forest
Copy link

boundless-forest commented Oct 29, 2024

🔍 Is there already an issue for your problem?

  • I have checked older issues, open and closed

📝 Description

I discovered Gitify this afternoon and attempted to install the deb version on PopOS first, which installed successfully. However, when I click the icon, the Gitify window does not open. The icon appears in the system bar, but there is no response when clicked.

image

I checked the process info like this:

bear@pop-os ~/Downloads> ps aux | grep gitify
bear      123381  2.8  0.6 1212191996 153208 ?   SNl  16:59   0:00 /opt/Gitify/gitify
bear      123388  0.1  0.2 33816956 51840 ?      SN   16:59   0:00 /opt/Gitify/gitify --type=zygote --no-zygote-sandbox
bear      123389  0.0  0.2 33816940 51840 ?      SN   16:59   0:00 /opt/Gitify/gitify --type=zygote
bear      123391  0.0  0.0 33816940 10656 ?      SN   16:59   0:00 /opt/Gitify/gitify --type=zygote
bear      123418  2.3  0.6 34321032 161188 ?     SNl  16:59   0:00 /opt/Gitify/gitify --type=gpu-process --enable-crash-reporter=a4b59d2d-2696-4de5-9e0c-b3e5031a8baf,no_channel --user-data-dir=/home/bear/.config/gitify --gpu-preferences=UAAAAAAAAAAgAAAEAAAAAAAAAAAAAAAAAABgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABAAAAAAAAAAEAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --shared-files --field-trial-handle=3,i,1101294913920176142,9749069726429956090,262144 --disable-features=SpareRendererForSitePerProcess --variations-seed-version
bear      123422  0.1  0.2 33882968 67200 ?      SNl  16:59   0:00 /opt/Gitify/gitify --type=utility --utility-sub-type=network.mojom.NetworkService --lang --service-sandbox-type=none --enable-crash-reporter=a4b59d2d-2696-4de5-9e0c-b3e5031a8baf,no_channel --user-data-dir=/home/bear/.config/gitify --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,1101294913920176142,9749069726429956090,262144 --disable-features=SpareRendererForSitePerProcess --variations-seed-version
bear      123433  1.5  0.5 1212041756 141748 ?   SNl  16:59   0:00 /opt/Gitify/gitify --type=renderer --enable-crash-reporter=a4b59d2d-2696-4de5-9e0c-b3e5031a8baf,no_channel --user-data-dir=/home/bear/.config/gitify --app-path=/opt/Gitify/resources/app.asar --no-sandbox --no-zygote --lang --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1730163822039494 --launch-time-ticks=28540830037 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,1101294913920176142,9749069726429956090,262144 --disable-features=SpareRendererForSitePerProcess --variations-seed-version
bear      123697  0.0  0.0  19016  2688 pts/2    SN+  16:59   0:00 grep --color=auto gitify

I guess AppImage might work, so I’ll give it a try, but no luck. The Gitify window still hasn’t popped up.

The AppImage console output:

14:58:10.708 › Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices

I'm not sure what to do next; perhaps there's a way to output a debug log?

🪜 Steps To Reproduce

  1. Download the appImage or deb version
  2. Run it

Gitify Version

5.16.1

Operating System

PopOs 22.04

@boundless-forest boundless-forest added the bug Something isn't working label Oct 29, 2024
@bmulholland
Copy link
Collaborator

bmulholland commented Oct 29, 2024

There's not enough information included in this Issue for us to act on it:

  1. The message you quote is expected, and is an upstream issue anyway. It wouldn't block Gitify from working, just from automatically upgrading.
  2. If Gitify truly isn't working, you'll need to include what isn't working and why. As Linux setups vary widely, we can't feasibly reproduce your error, so you'll either need to provide repro steps or do significant debugging on your own.

In general, filing Issues saying simply "not works" isn't a good use of anyone's time, for any project. If you're unsure about your English, there's more than enough LLMs out there to help you translate. They could also guide you through common debugging steps, and suggest what you could do to fill out an effective bug report. If you're unsure what even to prompt it, you could copy paste my message and your issue and it would probably explain in whatever language you'd like.

Happy to re-open this if sufficiently more information is provided later.

@boundless-forest boundless-forest changed the title Linux not works Unable to open Gitify on Pop!_OS 22.04 Oct 29, 2024
@boundless-forest
Copy link
Author

I sincerely apologize for my informal description of the issue. I have added more details to it; would you mind reviewing it again? Please feel free to ask me for any additional information if needed. @bmulholland

@bmulholland bmulholland reopened this Oct 29, 2024
@bmulholland
Copy link
Collaborator

Much better, thank you!

@setchy setchy added the platform:linux Related to linux build label Oct 29, 2024
@setchy
Copy link
Member

setchy commented Oct 31, 2024

@boundless-forest if possible, I'd be interested to hear your experience running Gitify from source code on your PopOS machine. Does that work?

@boundless-forest
Copy link
Author

I'm stuck at the first step when installing dependencies; it reports the following error, indicating something unexpected in the post-install script.

> ~/w/gitify on main ◦ pnpm install                                                                                                                                                                                                                                              13:58:56
Lockfile is up to date, resolution step is skipped
Packages: +2 -20
++--------------------
Progress: resolved 0, reused 21, downloaded 1, added 2, done
node_modules/electron: Running postinstall script, failed in 2m 15.9s
node_modules/electron postinstall$ node install.js
│ RequestError
│     at ClientRequest.<anonymous> (/home/bear/working-on/gitify/node_modules/got/dist/source/core/index.js:970:111)
│     at Object.onceWrapper (node:events:622:26)
│     at ClientRequest.emit (node:events:519:35)
│     at origin.emit (/home/bear/working-on/gitify/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
│     at emitErrorEvent (node:_http_client:103:11)
│     at TLSSocket.socketErrorListener (node:_http_client:506:5)
│     at TLSSocket.emit (node:events:507:28)
│     at emitErrorNT (node:internal/streams/destroy:170:8)
│     at emitErrorCloseNT (node:internal/streams/destroy:129:3)
│     at process.processTicksAndRejections (node:internal/process/task_queues:90:21)AggregateError [ETIMEDOUT]: 
│     at internalConnectMultiple (node:net:1128:18)
│     at afterConnectMultiple (node:net:1693:7)
└─ Failed in 2m 15.9s at /home/bear/working-on/gitify/node_modules/electron
 ELIFECYCLE  Command failed with exit code 1.

@bmulholland
Copy link
Collaborator

Yeah, env issues can be frustrating! Let us know when you've worked through issues installing electron etc and have details on running Gitify itself.

@farfromrefug
Copy link

ACtually i have the exact same issue on PopOS 22.04. The tray appear but does not react to click (left/right).
i tried to build locally and run and got the same error. Not sure how to debug this. Must be related to the lib used for tray icons in Electron.
I see some issues in electron repo electron/electron#37112. The issue must be related to libayatana-appindicator. WHat i can say is that it works with my fork using tauri. So it does not seem to be related to ubuntu setup/config

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

No branches or pull requests

4 participants