On Tue, May 08, 2012 at 11:51:02PM +0300, Dan Kenigsberg wrote:
> On Wed, May 09, 2012 at 01:42:45AM +0800, ShaoHe Feng wrote:
> > 
> > $ sudo ./autobuild.sh
> > build vdsm, and all test OK.
> > 
> > then rpm install the rpm package.
> > 
> > and start the vdsm
> > $ sudo systemctl start vdsmd.service
> > 
> > but error, when run vdsClient.
> > 
> >   File "/usr/share/vdsm/vdsClient.py", line 28, in <module>
> >     from vdsm import vdscli
> > ImportError: cannot import name vdscli
> > 
> > but I change to root, the vdsClient can work.

I have also noticed this problem.  I have found that changing out of the vdsm
source directory 'fixes' it as well.

> > 
> > $ ls /usr/lib/python2.7/site-packages/vdsm/vdscli.py -al
> > -rw-r--r--. 1 root root 4113 May  9 01:20
> > /usr/lib/python2.7/site-packages/vdsm/vdscli.py
> 
> What's your $PWD? Maybe you have some vdsm module/package in your
> PYTHONPATH that hides the one in site-packages.
> _______________________________________________
> vdsm-devel mailing list
> vdsm-devel@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/vdsm-devel

-- 
Adam Litke <a...@us.ibm.com>
IBM Linux Technology Center

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to