Open kochen opened 10 years ago
The first message I don't believe is of serious concern and can be safely ignored. For the second issue, you need to install ConfigObj (https://pypi.python.org/pypi/configobj/5.0.6)
ConfigObj may be available via another channel on Mac but I don't have a Mac to test that.
thanks, I've managed to install ConfigObj. (might be a good idea to give the link in the "requirements" section)
now I'm facing this:
import six
ImportError: No module named six
and after installing six (https://pypi.python.org/pypi/six/):
(process:40883): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
2014-10-16 19:20:02.275 Python[40883:d0b] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Not-Rotated 12", falling back to "Sans Not-Rotated 12", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderATSUI', script='common'
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI 12", falling back to "Sans 12", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Bold Not-Rotated 12", falling back to "Sans Bold Not-Rotated 12", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Bold Not-Rotated 11.71875", falling back to "Sans Bold Not-Rotated 11.71875", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Bold Ultra-Condensed Not-Rotated 12", falling back to "Sans Bold Ultra-Condensed Not-Rotated 12", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font "Sans Bold Ultra-Condensed Not-Rotated 12", falling back to "Sans Not-Rotated 12", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Not-Rotated 7.8125", falling back to "Sans Not-Rotated 7.8125", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Semi-Bold Not-Rotated 7.8125", falling back to "Sans Semi-Bold Not-Rotated 7.8125", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Not-Rotated 12.6953125", falling back to "Sans Not-Rotated 12.6953125", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Not-Rotated 14.6484375px", falling back to "Sans Not-Rotated 14.6484375px", expect ugly output.
self.builder.add_from_file(g_file)
./src/OXM/window.py:187: PangoWarning: couldn't load font ".Lucida Grande UI Bold Not-Rotated 14.6484375px", falling back to "Sans Bold Not-Rotated 14.6484375px", expect ugly output.
self.builder.add_from_file(g_file)
local Python[40883] <Error>: clip: empty path.
local Python[40883] <Error>: clip: empty path.
local Python[40883] <Error>: clip: empty path.
Traceback (most recent call last):
File "./openxenmanager", line 34, in <module>
wine = oxcWindow()
File "./src/OXM/window.py", line 235, in __init__
None, ["addserver", "connectall", "disconnectall"], None]))
TypeError: value is of wrong type for this column
Exiting...
This should now be fixed in the master branch with commit 8903224. I am working to resolve the other errors
See also #41
Thanks, first time the GUI actually loads.
besides the font issue, I still get some:
Python[2244] <Error>: clip: empty path.
Yes... I saw them too... but I've not been able to work out what the cause is
on OSX (Yosemite here) you can add the following to directions:
sudo ln -sf /usr/bin/python2.7 /usr/bin/python2
sudo easy_install pip
sudo pip install configobj
The GUI now loads, I have the same <Error>: clip: empty path
that was previously reported and the following when attempting to connect:
http://xenserv2:80
Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "./src/OXM/oxcSERVER_addserver.py", line 65, in connect_server
self.emit("connect-failure", sys.exc_info()[1])
TypeError: could not convert type gaierror to gchararray required for parameter 0
Hi!, I'm running openxenmanager on OSX Yosemite and when I try to run some VM I'm getting this trace:
Entering event loop
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openxenmanager-0.1b1-py2.7.egg/OXM/oxcSERVER.py", line 1887, in <lambda>
self.all_vms[self.track_tasks[event["ref"]]]["name_label"],
KeyError: 'OpaqueRef:4b61ca8f-93ca-4e08-8341-bf36b3c6e2e3'
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openxenmanager-0.1b1-py2.7.egg/OXM/oxcSERVER.py", line 1887, in <lambda>
self.all_vms[self.track_tasks[event["ref"]]]["name_label"],
KeyError: 'OpaqueRef:4b61ca8f-93ca-4e08-8341-bf36b3c6e2e3'
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openxenmanager-0.1b1-py2.7.egg/OXM/oxcSERVER.py", line 1887, in <lambda>
self.all_vms[self.track_tasks[event["ref"]]]["name_label"],
KeyError: 'OpaqueRef:4b61ca8f-93ca-4e08-8341-bf36b3c6e2e3'
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openxenmanager-0.1b1-py2.7.egg/OXM/oxcSERVER.py", line 1887, in <lambda>
self.all_vms[self.track_tasks[event["ref"]]]["name_label"],
KeyError: 'OpaqueRef:6711e662-2ade-c145-0e93-37319ac78a45'
fhorlaville: Your 'configobj' instructions were right on the money.
After installing pip and then using it to install configobj, I'm looking at an OpenXen gui !!
@ofqwx @fhorlaville @kochen Please follow my tutorial, i hope it works, https://github.com/OpenXenManager/openxenmanager/issues/107 Also the Tutorial works for MacOSX Yosemite, only ignore the part of Tiger-VNC, since TigerVNC is not oficial supported in MacOSX El Captain
when running the latest code on OSx there are 2 worning and one error preventing it from running:
can someone help out with these issues?