[Bug 1229257] Re: assertion failure warnings output

Martin Pitt martin.pitt at ubuntu.com
Tue Sep 24 06:21:24 UTC 2013


That usually means that a program is importing both the old static
bindings ("gobject") as well as the introspection bindings ("from
gi.repository import ...") You must not do both; also, the static
bindings have been deprecated for several years now. An easy way to get
a proper stack trace that points towards the old static import(s) is to
change /usr/lib/python2.7/dist-packages/gobject/constants.py to throw
something like "raise ImportError('no static!')" and run your command
again.

** Package changed: pygobject (Ubuntu) => pygobject-2 (Ubuntu)

** Changed in: pygobject-2 (Ubuntu)
       Status: New => Invalid

** Summary changed:

- assertion failure warnings output
+ assertion failure warnings output, imports old static gobject bindings somewhere

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-novaclient in Ubuntu.
https://bugs.launchpad.net/bugs/1229257

Title:
  assertion failure warnings output, imports old static gobject bindings
  somewhere

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject-2/+bug/1229257/+subscriptions



More information about the Ubuntu-server-bugs mailing list