← Back to team overview

guadalinex-members team mailing list archive

[Bug 735893] [NEW] Gnome Nanny Can not be launched in Natty because TypeError: argv must be a Gobject subclass

 

Public bug reported:

Distro: Ubuntu Natty Alpah3
Package: nanny-2.31.1ubuntu2
python-gobject package version is 2.27.91

Traceback (most recent call last):
  File "/usr/sbin/nanny-admin-console", line 38, in <module>
    import nanny.client.gnome.admin
  File
"/usr/lib/python2.7/dist-packages/nanny/client/gnome/admin/__init__.py",
line 48, in <module>
    from AdminConsole import AdminConsole
  File
"/usr/lib/python2.7/dist-packages/nanny/client/gnome/admin/AdminConsole.py",
line 40, in <module>
    class AdminConsole:#(gobject.GObject):
  File
"/usr/lib/python2.7/dist-packages/nanny/client/common/Singleton.py",
line 30, in __init__
    super(Singleton, cls).__init__(name, bases, dict)
  File "/usr/lib/pymodules/python2.7/gobject/__init__.py", line 60, in
__init__
    cls._type_register(cls.__dict__)
  File "/usr/lib/pymodules/python2.7/gobject/__init__.py", line 114, in
_type_register
    type_register(cls, namespace.get('__gtype_name__'))
TypeError: Error when calling the metaclass bases
    argument must be a GObject subclass

Solutions:

I've tried to let AdminConsole extend Gobject (as patch shows), and the
nanny-admin-console can be launched.

** Affects: nanny
     Importance: Undecided
         Status: In Progress

-- 
You received this bug notification because you are a member of
Guadalinex Members, which is the registrant for Nanny.
https://bugs.launchpad.net/bugs/735893

Title:
  Gnome Nanny Can not be launched in Natty because TypeError: argv must
  be a Gobject subclass



Follow ups

References