www.cendio.com
Bug 4493 - tl-desktop-activate fails on RHEL 6 when adding applications to the desktop
: tl-desktop-activate fails on RHEL 6 when adding applications to the desktop
Status: CLOSED FIXED
: ThinLinc
TLDC (Desktop Customizer)
: 4.0.0
: PC Linux Red Hat
: P2 Normal
: 4.1.1
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-11-29 16:23 by
Modified: 2013-10-24 10:51 (History)
Acceptance Criteria:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From cendio 2012-11-29 16:23:00
My guess is that RHEL6's pygtk is not recent enough to support creating trusted
desktop files. Traceback:
---
Running /opt/thinlinc/etc/xstartup.d/35-tl-desktop-activate.sh
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
write_desktop_apps
    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
Installed Packages
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
------- Comment #1 From cendio 2012-11-29 16:25:15 -------
>My guess is that RHEL6's pygtk

pyxdg, not pygtk
------- Comment #2 From cendio 2012-12-07 09:48:15 -------
Somewhat related to https://www.cendio.com/bugzilla/show_bug.cgi?id=4245

(didn't we have a metabug for all of these issues?)
------- Comment #3 From cendio 2013-07-03 10:03:16 -------
Happened on SLED11SP2. Solved by removing packages:

python-xdg-0.16-2.17 sabayon-2.28.1-0.2.107.i586
sabayon-lang-2.28.1-0.2.107.i586 sabayon-admin-2.28.1-0.2.107.i586
------- Comment #4 From cendio 2013-08-21 18:10:49 -------
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.
------- Comment #5 From cendio 2013-08-23 10:52:52 -------
Tested with a nightly build, works fine now.
------- Comment #6 From cendio 2013-10-21 13:17:33 -------
Works on RHEL6 both with and without python-xdg/sabayon.