[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] PendingDeprecationWarning

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:


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.


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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]