From: kushal waikar Subject: ERROR: AttributeError: 'module' object has no attribute 'new' Date: Wed, 18 Feb 2009 21:02:55 +0530 (IST) Message-ID: <724512.2577.qm@web94208.mail.in2.yahoo.com> Reply-To: kushalwaikar@yahoo.co.in Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2104993768==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2104993768== Content-Type: multipart/alternative; boundary="0-95681395-1234971175=:2577" --0-95681395-1234971175=:2577 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, =A0=A0=A0=A0 I have "Xen 3.1.13.fc8" installed on FC8 as Dom0..I have writt= en 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=20 import curses=20 import curses.ascii=20 import time sys.path.append('/usr/lib/python')=20 import xen.lowlevel.xc xc =3D xen.lowlevel.xc.new() " OUTPUT--> [root@localhost ~]# python test2.py Traceback (most recent call last): =A0 File "test2.py", line 9, in =A0=A0=A0 xc =3D xen.lowlevel.xc.new() AttributeError: 'module' object has no attribute 'new' Thanks, Kushal Waikar kushalwaikar@yahoo.co.in =0A=0A=0A Add more friends to your messenger and enjoy! Go to http://m= essenger.yahoo.com/invite/ --0-95681395-1234971175=:2577 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

     I have "X= en 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...P= lz help me for removing error...

CODE :

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

sys.path.append('/usr/lib/pyth= on')
import xen.lowlevel.xc

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

OUTPUT-->

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



Thanks,
Kushal Waikar
kushalwaikar@yahoo.co.in=


=0A
Add more = friends to your messenger and enjoy! Invite them now. --0-95681395-1234971175=:2577-- --===============2104993768== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2104993768==--