WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] ERROR: AttributeError: 'module' object has no attribute 'new'
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1234971175; bh=ScQT5Ci9ZfmcCIGgvfwdfQ5Ahyh0hpmA9zetnwS/TFQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=S7+ZtSbzcVP/1qbb5TKcqnjBkftqIuSdricsOnshmLyUDaAI+S9IkZqOSfTeQRoEbzWa+7MmsTpM/ldKebcHseZboVa7EgabO0tYY+SsLD+1MouHT5NFWPLCfnaO3MXfXBhx/QuT5OOzC/srMSDBkSra4mIeJ+VQarCcZPctps8=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: kushalwaikar@xxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>