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

Re: [Xen-devel] Re: python frontend for xenstat

  • To: "Jayesh Salvi" <jayeshsalvi@xxxxxxxxx>
  • From: "Diwaker Gupta" <diwaker.lists@xxxxxxxxx>
  • Date: Fri, 7 Jul 2006 12:35:00 -0700
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 07 Jul 2006 12:35:24 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DU9eUVCjChRUSu0xqSNN3Sf4k8JfpZN5Se7HetUATo/tBtXVMEbYJoRq4RAn5sE6BgMkQR0nVxkdSD3d1z90tRLP4Z8LCHpvird/Ei+hNEoa4fQP8ml0hbkGFKHFiFMI69ozVXMb38Mefwj6wLfUcTmmDctfnfycz9fK5Hnp6dw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 4/15/06, Jayesh Salvi <jayeshsalvi@xxxxxxxxx> wrote:
To answer my own question, I found the bindings directory and the swig
targets in Makefile. I could build perl and python bindings from them by
doing 'make all-bindings'.

I will have a look at the generated python code and see how I can use it.

Did you have any success with this? I could generate the bindings, but
when I try to use the Python bindings, I see this error:

import xenstat

     3 # This file is compatible with both classic and new-style classes.
----> 5 import _xenstat
     6 import new
     7 new_instancemethod = new.instancemethod

ImportError: /usr/lib/python2.4/site-packages/_xenstat.so: undefined
symbol: xenstat_init

Has anyone had success with the xenstat python bindings?

Web/Blog/Gallery: http://floatingsun.net/blog

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.