Closed snoack closed 12 years ago
python-gnomedesktop are a static bind,
gdm3setup using dynamic bind ( GObject introspection )
gir file for GnomeDesktop probably not installed
in Ubuntu package are named gir1.2-gnomedesktop-3.0
After installation of gir1.2-gnomedesktop-3.0
, I get following traceback, when trying to start gdm3setup.py
, now:
Traceback (most recent call last):
File "./gdm3setup.py", line 522, in <module>
gdm3setup = bus.get_object('apps.nano77.gdm3setup','/apps/nano77/gdm3setup')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 246, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name apps.nano77.gdm3setup was not provided by any .service files
Maybe I have to start gdm3setup-daemon.py
first, but that lead to following traceback:
Traceback (most recent call last):
File "./gdm3setup-daemon.py", line 162, in <module>
myservice = GDM3SetupDBusService()
File "./gdm3setup-daemon.py", line 77, in __init__
bus_name = dbus.service.BusName('apps.nano77.gdm3setup', bus)
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 129, in __new__
retval = bus.request_name(name, name_flags)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 306, in request_name
'su', (name, flags))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.111" is not allowed to own the service "apps.nano77.gdm3setup" due to security policies in the configuration file
Configuration files ( .service, .conf, .policy ) probably in incorrect directories.
I have added gir1.2-gnomedesktop-3.0 as dependency in the the last debian package ( 20111114-2).
This work in debian sid.
I have tried the debian package and the git master, but I always get follwing ImportError when trying to run gdm3setup.py.
I am on Debian wheezy, and
python-gnomedesktop
is installed.