On Thu, Apr 07, 2011 at 07:09:31PM +0400, george wrote: > # virt-manager --version > 0.8.5 > > i try to start virt-manager and get warning message: > # virt-manager > /usr/lib/python2.7/site-packages/dbus/types.py:6: > PendingDeprecationWarning: The CObject type is marked Pending > Deprecation in Python 2.7. Please use capsule objects instead. > from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\ > > Then virt-manager is started and similar works correctly.. > But that this error means?
The error comes from Python C bindings, where a new method of encapsulating C pointers (like handles etc) in Python objects should be used by new code: http://docs.python.org/release/3.1.3/c-api/capsule.html The old method still works however, at least it does in Python 2.x. Anyway it seems the dbus bindings need to be updated, although obviously not with any urgency. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
