After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563853 - Doesn't work with the new D-Bus
Doesn't work with the new D-Bus
Status: RESOLVED FIXED
Product: gnome-lirc-properties
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-lirc-properties-maint
gnome-lirc-properties-maint
Depends on:
Blocks:
 
 
Reported: 2008-12-09 14:47 UTC by Bastien Nocera
Modified: 2009-06-30 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glp-new-dbus.patch (610 bytes, patch)
2008-12-09 14:51 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2008-12-09 14:47:46 UTC
Fails with D-Bus 1.2.6

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.5/site-packages/gnome_lirc_properties/__init__.py", line 57 in run
    return ui.RemoteControlProperties(gtk.glade.XML(ui_filename)).run()
  • File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", line 56 in __init__
    self.__setup_authorization()
  • File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/ui/RemoteControlProperties.py", line 223 in __setup_authorization
    granted = self.__auth.is_authorized()
  • File "/usr/lib/python2.5/site-packages/gnome_lirc_properties/policykit.py", line 43 in is_authorized
    authorized = self.policy_kit.IsProcessAuthorized(action_id, pid, False)
  • File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68 in __call__
    return self._proxy_method(*args, **keywords)
  • File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140 in __call__
    **keywords)
  • File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 630 in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.PolicyKit" member "IsProcessAuthorized" error name "(unset)" destination ":1.46")

Comment 1 Bastien Nocera 2008-12-09 14:51:26 UTC
Created attachment 124276 [details] [review]
glp-new-dbus.patch

Might fix it. Waiting on testing in https://bugzilla.redhat.com/show_bug.cgi?id=475307
Comment 2 Murray Cumming 2008-12-09 15:40:18 UTC
Please do commit if it fixes it. Thanks.
Comment 3 Bastien Nocera 2008-12-09 19:18:18 UTC
Only some HAL problems left now:
http://fpaste.org/paste/147

2008-12-09  Bastien Nocera  <hadess@hadess.net>

        * data/org.gnome.LircProperties.Mechanism.conf:
        Fix for changes in recent D-Bus versions (Closes: #563853)
Comment 4 Colin Walters 2008-12-09 19:58:24 UTC
Who owns :1.6?
Comment 5 Colin Walters 2008-12-09 20:05:01 UTC
dbus-send --print-reply --system --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string::1.6
Comment 6 Colin Walters 2008-12-09 20:17:29 UTC
I see you said it was HAL.  I think this patch should fix it:
https://bugs.freedesktop.org/show_bug.cgi?id=18985
Comment 7 Bastien Nocera 2009-06-30 12:04:38 UTC
There were a couple more fixes needed, see:
http://git.gnome.org/cgit/gnome-lirc-properties/commit/?id=d90dede9f3f7695ca7d4bcee9bab63921ea9489d