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

[Xen-devel] ERROR: AttributeError: 'module' object has no attribute 'new'


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: kushal waikar <kushalwaikar@xxxxxxxxxxx>
  • Date: Wed, 18 Feb 2009 21:02:55 +0530 (IST)
  • Delivery-date: Wed, 18 Feb 2009 07:33:22 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=GQloWwBqj2xSUH2fIGt8jUTXgJE2WGNbWk6XFSykFZuoxDlJsFr5Ujg0315+0K/zqmHpluZDMxAyeiQ4Q6UKnu5MJPwIfrJdvABHVkx8qxgtAvYVkxhVlM+wG5Hr0Pln9lQVeNTJ+7P9bEi6WLTpv7SRPZNyUWYnOyMMGiT14Bs=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

     I have "Xen 3.1.13.fc8" installed on FC8 as Dom0..I have written the following code in python which is throwing error...I am not getting the cause of error...Plz help me for removing error...

CODE :

INPUT test2.py
"
import sys
import curses
import curses.ascii
import time

sys.path.append('/usr/lib/python')
import xen.lowlevel.xc

xc = xen.lowlevel.xc.new()
"

OUTPUT-->

[root@localhost ~]# python test2.py
Traceback (most recent call last):
  File "test2.py", line 9, in <module>
    xc = xen.lowlevel.xc.new()
AttributeError: 'module' object has no attribute 'new'



Thanks,
Kushal Waikar
kushalwaikar@xxxxxxxxxxx



Add more friends to your messenger and enjoy! Invite them now.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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