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 · 14 comments
Open
1 task done

Unable to open Gitify on Pop!_OS 22.04 #1612

boundless-forest opened this issue Oct 29, 2024 · 14 comments
Labels
bug Something isn't working help-wanted Extra attention is needed platform:linux Related to linux build priority:low Items of low importance. Applicable to select few users or use-cases

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

@setchy setchy added the priority:low Items of low importance. Applicable to select few users or use-cases label Dec 22, 2024
@ronilaukkarinen
Copy link

I have this same issue. Can't be used right now on Pop!_OS.

@setchy
Copy link
Member

setchy commented Dec 23, 2024

Curious if any of you have tried downgrading Gitify. I'm interested in what is the latest working version

@setchy setchy added the help-wanted Extra attention is needed label Dec 23, 2024
@boundless-forest
Copy link
Author

boundless-forest commented Dec 26, 2024

image

I did a test with those versions, neither of them works, but I noticed a strange log in the installation, not sure if it's helpful.

> ~/Downloads sudo dpkg -i gitify_5.10.0_amd64.deb                                                                                                                                                                                                                               13:49:46
dpkg: warning: downgrading gitify from 5.17.0 to 5.10.0
(Reading database ... 235664 files and directories currently installed.)
Preparing to unpack gitify_5.10.0_amd64.deb ...
Unpacking gitify (5.10.0) over (5.17.0) ...
Setting up gitify (5.10.0) ...
update-alternatives is /usr/bin/update-alternatives
Could not parse file "/usr/share/applications/guake.desktop": No such file or directory  // this line
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...

The log looks like this:

> ~ cat ~/.config/gitify/logs/main.log                                                                                                                                                                                                                                           14:00:26
[2024-12-26 13:36:47.848] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:41:42.718] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:42:00.910] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:42:31.155] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:46:09.007] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:46:37.737] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
[2024-12-26 13:51:21.548] [info]  Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices

@setchy
Copy link
Member

setchy commented Dec 26, 2024

Thanks @boundless-forest

So to confirm my understanding, these versions were tested and found incompatible with PopOS

  • v4.4.0
  • v5.0.0
  • v5.5.0
  • v5.10.0
  • v5.15.0
  • v5.17.0

Re: the autoUpdater log entry, that is expected - https://github.com/electron/update.electronjs.org only supports Windows and macOS currently

@boundless-forest
Copy link
Author

Yes, it's a bit strange that I noticed from the GitHub issues that Gitify appears to work on other Linux platforms except Pop!_OS. However, since Pop!_OS is based on Ubuntu, it should function properly as well. I have researched this issue extensively but have not found a workaround. Do you have any suggestions?

@setchy
Copy link
Member

setchy commented Dec 27, 2024

Do you have any suggestions?

I'd continue to debug the logic within https://github.com/gitify-app/gitify/blob/main/src/main/main.ts, which controls showing/hiding the main window with the help of the package https://github.com/max-mapper/menubar

@boundless-forest
Copy link
Author

I'm here if anything that I can help. Please tell me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help-wanted Extra attention is needed platform:linux Related to linux build priority:low Items of low importance. Applicable to select few users or use-cases
Projects
None yet
Development

No branches or pull requests

5 participants