openxenmanager icon indicating copy to clipboard operation
openxenmanager copied to clipboard

no module named "oxm.window" openxenmanager

Open sparky1088 opened this issue 7 years ago • 1 comments

When first downloaded I was getting the error that is the title. I am running Ubuntu 18.04 Because it is not on the mirror I just downloaded the zip. So I made sure I had all of the dependencies etc and then noticed that it wasn't actually finding the src directory in the oxm.pyw was the problem I modified to the from ./src to the actual path rather than relative. from:

sys.path.append('./src')

to:

#sys.path.append('./src')
sys.path.append('/home/user/openxenmanager-master/src')

I didn't save the full trace stack but i can undo the modification to the file if it is needed.

If this isnt coherent enough to make a real fix from that is fine. Not sure why that fixed it as the relative path should have worked.

edit: formatting

sparky1088 avatar Sep 10 '18 20:09 sparky1088

found a terminal with the full trace in it

Traceback (most recent call last):
  File "./openxenmanager-master/openxenmanager", line 32, in <module>
    from OXM.window import oxcWindow
ImportError: No module named OXM.window

sparky1088 avatar Sep 10 '18 20:09 sparky1088