FS#58298 - [pgadmin4] Getting "An error occurred initialising the tray icon" after update to pgadmin4-3.0-1

Attached to Project: Community Packages
Opened by Petko Bordjukov (ignisf) - Saturday, 21 April 2018, 15:48 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 02 September 2018, 15:15 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jerome Leclanche (Adys)
Levente Polyak (anthraxx)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
I am unable to start pgadmin4 after the update to 3.0-1. After a short delay, I get the error message "An error occurred initialising the tray icon". Clicking OK causes the command to terminate.

Additional info:
* Running Gnome on Wayland

Steps to reproduce:
1. Update to pgadmin4-3.0-1
2. Attempt to start pgadmin4
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 02 September 2018, 15:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  pgadmin4 3.2-1
Comment by Levente Polyak (anthraxx) - Saturday, 21 April 2018, 19:06 GMT
please bring this issue upstream, if its an upstream problem including details from you about your environment and desktop you are using.

for investigation you could run strace or try getting more verbose log output
Comment by Matthew Welke (welkie) - Sunday, 22 April 2018, 05:07 GMT
I'm getting this bug too. I don't know which upstream software package to report this for since might it not apply to a variety of programs?
Comment by Petko Bordjukov (ignisf) - Monday, 23 April 2018, 08:27 GMT
OK, from here: https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html

> As of GNOME 3.26, the system tray was removed, which caused pgAdmin4 to fail to start. To tackle this issue, this package pulls in a GNOME shell extensions called "topicons-plus", and enables it.

A workaround is to just install https://extensions.gnome.org/extension/1031/topicons/

Frankly I'm kind of disappointed by the way they chose to implement this...
Comment by SQL (ohmysql) - Monday, 23 April 2018, 10:47 GMT
The situation is slightly less bad if you use this extension:

https://extensions.gnome.org/extension/495/topicons/
Comment by Doug Newgard (Scimmia) - Monday, 23 April 2018, 14:51 GMT
Definitely take this upstream. Assuming that a system tray is available and hard aborting because it's not is not even close to sane behavior.
Comment by SQL (ohmysql) - Thursday, 26 April 2018, 15:24 GMT Comment by Nicola (drakkan) - Thursday, 16 August 2018, 08:16 GMT
the bug is fixed in pgadmin4 3.2

please update the PKGBUILD,

this one works for me

https://pastebin.com/hF1ehUN6

please note that I removed the signature in my test PKGBUILD, thanks!
Comment by Levente Polyak (anthraxx) - Thursday, 16 August 2018, 08:31 GMT
@Nicola: stop posting PKGBUILDs as comment text and espacially stop silently removing signatures without notice
Comment by Nicola (drakkan) - Thursday, 16 August 2018, 10:40 GMT
If you don't care about missing signature you can use the package here

https://aur.archlinux.org/packages/pgadmin4-systray-fix/

as temporary workaround
Comment by SQL (ohmysql) - Sunday, 02 September 2018, 00:37 GMT
This now works, bug closed!

Loading...