Can't Start Openxenmanager OSX Sierra
Followed instructions at: https://github.com/OpenXenManager/openxenmanager/issues/107 with the exception of step 11-13 since I don't have a .conf file in the directory to edit.

When trying to run the command openxenmanager from terminal, I get:
Justins-iMac:openxenmanager-master godzilla74$ openxenmanager
Traceback (most recent call last):
File "/usr/local/bin/openxenmanager", line 4, in <module>
__import__('pkg_resources').run_script('openxenmanager==0.1b1', 'openxenmanager')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
exec(code, namespace, namespace)
File "/Library/Python/2.7/site-packages/openxenmanager-0.1b1-py2.7.egg/EGG-INFO/scripts/openxenmanager", line 23, in <module>
import gtk
ImportError: No module named gtk
However gtk and all related are installed:
Justins-iMac:openxenmanager-master godzilla74$ brew install gtk
Warning: gtk+-2.24.31 already installed
Justins-iMac:openxenmanager-master godzilla74$ brew install pygtk
Warning: pygtk-2.24.0_1 already installed
What's wrong here?
You need create the .conf file.
After installing and configuring like step 11-13, restart the PC.
Waiting your answer.
Tried above step same error in Sierra.
Traceback (most recent call last):
File "/usr/local/bin/openxenmanager", line 4, in
Same error:
➜ openxenmanager git:(master) ./openxenmanager
(process:30631): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "./openxenmanager", line 32, in
and configobj installed;
Requirement already satisfied: configobj in /Library/Python/2.7/site-packages Requirement already satisfied: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from configobj)
@oytunistrator what is your main language at your OS X Sierra?
Just a point of reference #107 worked for me with macOS Sierra 10.12.4
Same Issue as above :/
OSX 10.12.4 Language is US - American English
I get to step 10 on #107 without issue. I am slightly confused about step 11. Please let me know.
Joes-MacBook-Pro:openxenmanager-master ghost$ ./openxenmanager
Traceback (most recent call last):
File "./openxenmanager", line 23, in <module>
import gtk
ImportError: No module named gtk
As you can see, both are already installed:
Joes-MacBook-Pro:openxenmanager-master ghost$ brew install gtk
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
bullet watchexec
Warning: gtk+-2.24.31_1 already installed
Joes-MacBook-Pro:openxenmanager-master ghost$ brew install pygtk
Warning: pygtk-2.24.0_1 already installed
I had the same problem with import gtk.
I uninstalled MAC version of Python, and uninstalled pygtk and gtk in home-brew and then installed them again, probably didn't need to do this though.
If you type "which python" in the terminal it should point to /usr/local/bin/python, this means the MAC is using the Home-brew install of python.
You might want to add "which python" CLI check to the guide to confirm that home-brew python is being used.
Hope this helps