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

Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm

To: chris <tknchris@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 20 Jan 2011 08:38:52 +0000
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 Jan 2011 00:39:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin0tfdaXr0MaHpoA9oPM+XQyH34m2RNXOfi_m2N@xxxxxxxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <AANLkTimCA_T1QsfCVfABtW8776Mkg3toBtmHYHgea56=@xxxxxxxxxxxxxx> <AANLkTin0tfdaXr0MaHpoA9oPM+XQyH34m2RNXOfi_m2N@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2011-01-19 at 22:34 +0000, chris wrote:
> On Wed, Jan 19, 2011 at 2:29 PM, chris <tknchris@xxxxxxxxx> wrote:
> > I have pulled the latest from xen-unstable on a new machine, I run
> > make world and make install and after rebooting into xen, when i run
> > xm list or anything else i get:
> >
> > # xm list
> > Traceback (most recent call last):
> >  File "/usr/sbin/xm", line 5, in <module>
> >    from xen.xm import main
> > ImportError: No module named xen.xm
> >
> > I also tried going into the tools dir and make install, because i read
> > that somewhere on google.
> >
> > I don't get any errors when compiling or installing so I don't know
> > where to go from here?
> >
> > - chris
> >
> 
> I just tried this again after pulling everything down again and
> recompiling. Is something broken?

Nothing currently known.

Which host OS are you running?

Do:
$ python
>>> import sys
>>> print sys.path

This should tell you the python path which is where python is looking
for stuff. The install process should have dropped xen/xm/main.py
somewhere on the system, the build log or "find" should tell you where.
Do they correspond?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel