Incorrect version for pgadmin3 on desktop invocation (KDE)
| От | Henry Katz |
|---|---|
| Тема | Incorrect version for pgadmin3 on desktop invocation (KDE) |
| Дата | |
| Msg-id | 550871B7.6030602@iscs-i.com обсуждение исходный текст |
| Список | 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 funny 3 != 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
# 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 funny 3 != 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
В списке pgadmin-support по дате отправления: