gitify-app / gitify

GitHub notifications on your menu bar. Available on macOS, Windows & Linux.
https://gitify.io
MIT License
4.58k stars 258 forks source link

Unable to open Gitify on Pop!_OS 22.04 #1612

Open boundless-forest opened 1 month ago

boundless-forest commented 1 month ago

πŸ” Is there already an issue for your problem?

πŸ“ 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

bmulholland commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

Much better, thank you!

setchy commented 4 weeks ago

@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 commented 3 weeks ago

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 commented 3 weeks ago

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 commented 2 weeks ago

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 https://github.com/electron/electron/issues/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