← Back to team overview

touch-packages team mailing list archive

[Bug 717330] Re: Error with Python binding

 

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libunity in Ubuntu.
https://bugs.launchpad.net/bugs/717330

Title:
  Error with Python binding

Status in LibUnity:
  Fix Released
Status in Unity:
  Fix Released
Status in “libunity” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  I'm not sure if I should report it here but I'm doing it anyway. :)
  I tried using the libunity using the gir dynamic module but it failed. Here is the output.
  I'm on Natty with latest updates. Tried both python2.6 and 2.7

  >>> import gi
  >>> from gi.repository import Unity
  >>> launcher = Unity.LauncherEntry

  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/pymodules/python2.6/gi/module.py", line 263, in __getattr__
      return getattr(self._introspection_module, name)
    File "/usr/lib/pymodules/python2.6/gi/module.py", line 136, in __getattr__
      interfaces = tuple(interface for interface in get_interfaces_for_object(info)
    File "/usr/lib/pymodules/python2.6/gi/module.py", line 76, in get_interfaces_for_object
      interfaces.append(getattr(module, name))
    File "/usr/lib/pymodules/python2.6/gi/module.py", line 263, in __getattr__
      return getattr(self._introspection_module, name)
    File "/usr/lib/pymodules/python2.6/gi/module.py", line 160, in __getattr__
      wrapper = metaclass(name, bases, dict_)
    File "/usr/lib/pymodules/python2.6/gi/types.py", line 228, in __init__
      register_interface_info(cls.__info__.get_g_type())
  TypeError: must be an interface


  Additional Info:

  libunity: 3.4.2-0ubuntu5
  gir1.2-unity-3.0: 3.4.2-0ubuntu5

To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity/+bug/717330/+subscriptions