Incorrect version for pgadmin3 on desktop invocation (KDE)

From: Henry Katz <henry(dot)katz(at)iscs-i(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Incorrect version for pgadmin3 on desktop invocation (KDE)
Date: 2015-03-17 18:25:59
Message-ID: 550871B7.6030602@iscs-i.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

#pgadmin3 --version
pgAdmin III 1.20.0
# cat /etc/issue.net
CentOS release 6.6 (Final)
Kernel \r on an \m
# rpm -qi pgadmin3_94
Name : pgadmin3_94 Relocations: (not relocatable)
Version : 1.20.0 Vendor: (none)
Release : 2.rhel6 Build Date: Mon 05 Jan 2015
10:25:22 AM EST
Install Date: Tue 17 Mar 2015 01:13:57 PM EDT Build Host:
koji-sl6-x86-64-pg94
Group : Applications/Databases Source RPM:
pgadmin3_94-1.20.0-2.rhel6.src.rpm
Size : 17961646 License: BSD
Signature : DSA/SHA1, Mon 05 Jan 2015 10:25:32 AM EST, Key ID
1f16d2e1442df0f8
URL : http://www.pgadmin.org/
# rpm -ql pgadmin3_94 | grep appli
/usr/share/applications/fedora-pgadmin3_94.desktop
# # here's where it gets funny3 != 4
cat /usr/share/applications/fedora-pgadmin3_94.desktop

[Desktop Entry]
Encoding=UTF-8
Name=pgAdmin III
Exec=/usr/pgsql-9.3/bin/pgadmin3
Icon=/usr/share/pgadmin3_93/pgadmin3_93.xpm
Type=Application
Categories=Application;Development;X-Fedora;
MimeType=text/html;
DocPath=/usr/pgsql-9.3/share/pgadmin3/docs/en_US/
Comment=PostgreSQL Tools
X-Desktop-File-Install-Version=0.15

Which is annoying as krunner (alt-F2) in KDE under Centos appears to
find the correct application to launch:

but in fact botches it because of the bad versions in the desktop file
above:

as confirmed by strace on krunner:

12117 lstat("/usr/share/applications/fedora-pgadmin3_94.desktop",
{st_mode=S_IFREG|0644, st_size=319, ...}) = 0

but it does work if you correct the desktop file above.

Please fix.

Thanks,
Henry

--
*
<https://twitter.com/prefersgold> <http://www.linkedin.com/in/henrykatz>

*

Browse pgadmin-support by date

  From Date Subject
Next Message Oliver Drummond 2015-03-18 19:40:20 Crash When Running a Query on MAC OS X 10.10.2
Previous Message Sergey Shchukin 2015-03-17 10:22:27 Re: Re: [pgadmin-support] Issue with a hanging apply process on the replica db after vacuum works on primary