Re: [libvirt] Storage api problem

2008-05-23 Thread Daniel P. Berrange
On Fri, May 23, 2008 at 11:32:37AM +0530, sarveswara rao mygapula wrote: > Hi, > > I am just trying to use libvirt storage api from python terminal, and i am > getting the following error. > > >>> import libvirt > >>> con = libvirt.open() > >>> con.numOfDefinedStoragePools() > libvir: Remote erro

Re: [libvirt] Storage api problem

2008-05-23 Thread Atsushi SAKAI
Hi, You should also check python directory in libvirt, since it should be python binging problem.:-) "sarveswara rao mygapula" <[EMAIL PROTECTED]> wrote: > I have checked in the libvirt.c file and the function > "virConnectNumOfDefinedStoragePools(virConnectPtr conn)" is implemented. Thanks Atu

[libvirt] Storage api problem

2008-05-22 Thread sarveswara rao mygapula
Hi, I am just trying to use libvirt storage api from python terminal, and i am getting the following error. >>> import libvirt >>> con = libvirt.open() >>> con.numOfDefinedStoragePools() libvir: Remote error : Broken pipe Traceback (most recent call last): File "", line 1, in File "/usr/lib/