Bugzilla – Bug 4493
tl-desktop-activate fails on RHEL 6 when adding applications to the desktop
Last modified: 2013-10-24 10:51:30
You need to
before you can comment on or make changes to this bug.
My guess is that RHEL6's pygtk is not recent enough to support creating trusted
desktop files. Traceback:
Traceback (most recent call last):
File "/opt/thinlinc/bin/tl-desktop-builder", line 64, in <module>
write_desktop_apps ( oO0o0oO0o , oo )
File "/opt/thinlinc/modules/thinlinc/tl_desktop/apps.py", line 250, in
o000o0o00o0Oo . write ( filename = os . path . join ( OOoo0O ,
"ThinLinc-%s" % OOoo0O0 ) , trusted = True )
TypeError: write() got an unexpected keyword argument 'trusted'
[root@dhcp-3 .thinlinc]# yum info pyxdg
Loaded plugins: refresh-packagekit, rhnplugin
Name : pyxdg
Arch : noarch
Version : 0.18
Release : 1.el6
Size : 299 k
Repo : installed
From repo : anaconda-RedHatEnterpriseLinux-201009221801.x86_64
Summary : Python library to access freedesktop.org standards
URL : http://freedesktop.org/Software/pyxdg
License : LGPLv2
Description : PyXDG is a python library to access freedesktop.org standards
>My guess is that RHEL6's pygtk
pyxdg, not pygtk
Somewhat related to https://www.cendio.com/bugzilla/show_bug.cgi?id=4245
(didn't we have a metabug for all of these issues?)
Happened on SLED11SP2. Solved by removing packages:
Moved pyxdg into the thinlinc namespace and adjusted our usage of pyxdg to make
sure it's our own version we use.
Commits: 27790, 27791, 27792, 27793, 27794.
Tested with a nightly build, works fine now.
Works on RHEL6 both with and without python-xdg/sabayon.