Comment 6 for bug 951388

Revision history for this message
Markus T. (oberrocker) wrote :

I don't think this bug is a duplicate; #877318 is GTK/theme related, while this one is Python DBUS related.

I just upgraded 10.04LTS to 12.04 LTS, then installed nanny. It does not show errors in the console when launched (just warnings about gtkSpinButton and the XML related stuff also mentioned above), then quits. At the moment, I do not have time to dig into this very much, but if I re-raise the exception (in /usr/sbin/nanny-admin-console), I get the following dump on the console:

Traceback (most recent call last):
  File "/usr/sbin/nanny-admin-console", line 57, in <module>
    nanny_admin_console = nanny.client.gnome.admin.AdminConsole()
  File "/usr/lib/python2.7/dist-packages/nanny/client/common/Singleton.py", line 35, in __call__
    cls.instance = super(Singleton, cls).__call__(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/nanny/client/gnome/admin/AdminConsole.py", line 96, in __init__
    self.__load_users_treeview ()
  File "/usr/lib/python2.7/dist-packages/nanny/client/gnome/admin/AdminConsole.py", line 186, in __load_users_treeview
    for uid, name, user_name in self.dbus_client.list_users ():
  File "/usr/lib/python2.7/dist-packages/nanny/client/common/DBusClient.py", line 134, in list_users
    return self.nanny_admin.ListUsers ()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 751, in _message_cb
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 254, in _method_reply_return
    reply.append(signature=signature, *retval)
UnicodeError: String parameters to be sent over D-Bus must be valid UTF-8