[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vdsm-devel
Subject:    [vdsm] vdsClient error after reinstalling vdsm
From:       danken () redhat ! com (Dan Kenigsberg)
Date:       2012-10-18 8:44:33
Message-ID: 20121018084433.GD24541 () redhat ! com
[Download RAW message or body]

On Wed, Oct 17, 2012 at 11:44:54AM -0400, Laszlo Hornyak wrote:
> 
> 
> ----- Original Message -----
> > From: "Adam Litke" <agl at us.ibm.com>
> > To: "Laszlo Hornyak" <lhornyak at redhat.com>
> > Cc: vdsm-devel at 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 at lists.fedorahosted.org
> > > https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
> > 
> > --
> > Adam Litke <agl at us.ibm.com>
> > IBM Linux Technology Center
> > 
> > 
> _______________________________________________
> vdsm-devel mailing list
> vdsm-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic