[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
** Changed in: python-novaclient (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
** Changed in: python-novaclient (Ubuntu) Assignee: Harikrishna (harikrishna-mallavolu) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
Seems like fix was already there in the latest release. Please find the review request. https://review.openstack.org/#/c/58364/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
** Changed in: python-novaclient (Ubuntu) Assignee: (unassigned) => Harikrishna (harikrishna-mallavolu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
Indeed, please depend on gir1.2-gnomekeyring-1.0 and use "from gi.repository import GnomeKeyring" (and port the code which uses it). ** Changed in: python-novaclient (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
Looks like this was caused by the fix to LP#1116302 (commit 34c8a6bb7ad605b107a6f89b7018284811b5fadf) where the line "import gnomekeyring" was added. Pulling in the python gnomekeyring bindings pulls in the static gobject bindings, and logs this warning. Commenting out the offending line in shell.py removes the warning (but presumably undoes the fix for allowing non-root users to use nova from an ssh console) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output, imports old static gobject bindings somewhere
** Changed in: python-novaclient (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1229257] Re: assertion failure warnings output
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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs