On Wed, Oct 17, 2012 at 11:44:54AM -0400, Laszlo Hornyak wrote:
> 
> 
> ----- Original Message -----
> > From: "Adam Litke" <a...@us.ibm.com>
> > To: "Laszlo Hornyak" <lhorn...@redhat.com>
> > Cc: vdsm-devel@lists.fedorahosted.org
> > Sent: Wednesday, October 17, 2012 5:09:12 PM
> > Subject: Re: [vdsm] vdsClient error after reinstalling vdsm
> > 
> > I have found that I cannot run vdsClient from within the vdsm source
> > tree.  Is
> > it possible that this is the problem you see as well?  Perhaps after
> > rebooting
> > you logged in and were in a different directory?
> 
> Ah yes, I remember python confuses the [whatever the python word is for 
> classpath] when you are in the source tree.
> I hope I did not make that mistake :)

It's PYTHONPATH, and fixing this annoyance is the laster bullet
on http://wiki.ovirt.org/wiki/Vdsm_TODO#Cleanup
> 
> > 
> > On Wed, Oct 17, 2012 at 10:53:04AM -0400, Laszlo Hornyak wrote:
> > > Hi!
> > > 
> > > This is a low priority problem. Each time I reinstall vdsm from
> > > rpm, I get this error when running vdsClient:
> > > 
> > > Traceback (most recent call last):
> > >   File "/usr/lib64/python2.6/runpy.py", line 122, in
> > >   _run_module_as_main
> > >     "__main__", fname, loader, pkg_name)
> > >   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
> > >     exec code in run_globals
> > >   File "/usr/share/vdsm/vdsClient.py", line 28, in <module>
> > >     from vdsm import vdscli
> > > ImportError: cannot import name vdscli
> > > 
> > > And after a reboot it works fine again. Very strange behavior.
> > > Anyone knows how to make it work without reboot?
> > > 
> > > Thx,
> > > Laszlo
> > > _______________________________________________
> > > vdsm-devel mailing list
> > > vdsm-devel@lists.fedorahosted.org
> > > https://lists.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://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to