Bug 607113 - gnome-lirc-properties won't start due to policykit behavioural change
Summary: gnome-lirc-properties won't start due to policykit behavioural change
Status: CLOSED DUPLICATE of bug 595401
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-lirc-properties
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-23 09:28 UTC by Chris Lord
Modified: 2010-06-23 13:52 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-06-23 13:52:49 UTC


Attachments (Terms of Use)

Description Chris Lord 2010-06-23 09:28:59 UTC
Description of problem:

If you try to start gnome-lirc-properties, you'll get this:

WARNING:root:/usr/share/lirc-remotes/: Remote Antec_Veris_Premiere listed twice in imon/lircd.conf.imon-antec-veris and imon/lircd.conf.imon-mceusb.
Traceback (most recent call last):
  File "/usr/bin/gnome-lirc-properties", line 27, in <module>
    gnome_lirc_properties.run(sys.argv[1:], datadir)
  File "/usr/lib/python2.6/site-packages/gnome_lirc_properties/__init__.py", line 57, in run
    return ui.RemoteControlProperties(gtk.glade.XML(ui_filename)).run()
  File "/usr/lib/python2.6/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", line 56, in __init__
    self.__setup_authorization()
  File "/usr/lib/python2.6/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", line 223, in __setup_authorization
    granted = self.__auth.is_authorized()
  File "/usr/lib/python2.6/site-packages/gnome_lirc_properties/policykit.py", line 45, in is_authorized
    action_id, {}, dbus.UInt32(0), '', timeout=600)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Error parsing subject struct

Version-Release number of selected component (if applicable):

0.4.0-1

How reproducible:

100%

Steps to Reproduce:
1. Run gnome-lirc-properties
  
Actual results:

Python exception

Expected results:

The app loads

Additional info:

This is due to a change in policy-kit that requires the start-time to be specified explicitly in the CheckAuthorization call.

This can be fixed by adding 'start-time':dbus.UInt64(0,variant_level=1) to the subject dict in the CheckAuthorization calls in policykit.py in the gnome-lirc-properties source.

Comment 1 Bastien Nocera 2010-06-23 13:52:49 UTC
Already fixed in updates-testing, and due in the updates shortly.

*** This bug has been marked as a duplicate of bug 595401 ***


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