virt-manager build's on slackware 14.1 multilib but won't start
Hi fellas, Subject says it all. Virt-manager builds just fine from sbo, but when I launch it gives me an error from the command line. I dunno what I did wrong. Maybe it's not me this time? Can anyone help me please? pygobject3 is installed.
ERROR: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager", line 29, in <module> import gi ImportError: No module named gi |
Have you installed all the dependencies? it has tons of dependencies listed in SBo (and perhaps more since the one displayed are first level dependencies only).
|
IDK checking now.
Edit: I used sbopkg to build everything originally. It seems to have the right package queue. I'm rebuilding directly from the site's queue list with the underlying packages, guess I could just check but fuck it I'm bored. Really need virt-manager. |
rebuilt everything, same error. How can I get gi or GObject Introspection for python 2.7? Tried sym-linking it to the one in python3, didn't work.
|
If you have pygobject installed from the original Slackware package then you should already have the python2 version of the library installed.. Don't create louzy symlinks....
Could it be that something is failing because of multilib configuration? |
I don't know? Tried rebuilding specific packages as gtk 2 as specified by the slackbuids, also have py3cairo and gnome-common installed. I don't know whats wrong. Thank you for the replies.
Any other ideas? |
You likely have Python3 installed, uninstall it.
"ls /var/log/packages/ | grep -w python" Lose any symlinks you've created yourself. Reinstall py3cairo and virt-manager. It works fine for me, there's a thread here on LQ with the gi object missing error which is due to Python3 being installed. http://www.linuxquestions.org/questi...ry-4175512382/ The Slackbuild should check for the existence of Python3 and warn the user, I'll mail rworkman about it. |
Thank you Strykar. Marked solved. I'm an idiot I already read that thread once in whole and had forgotten it.
|
It's already mentioned in pygobject3's README
Quote:
|
Yes willysr, but, I had python3 installed already and, as in the thread mentioned by Strykar, you have to uninstall python3 and than build pygobject3, then rebuild python3 again for all to be well (for this particular package?). Virt-manager will build fine but won't launch otherwise.
I had all of the packages installed and tried to rebuild virt-manager from scratch several times, after trying to add gtk2 flags to some of the other packages. After rebuilding the packages you mentioned(which were also already installed). I rebuilt virt-manger again and produced the same error. So for the slackbuilds version of virt-manager to work correctly it seems you need to build pygobject3 at some point without python3, than rebuild python3, for it to work correctly. strange... Quote:
|
Quote:
For some reason I had Python3 installed myself and had to take the steps recommended to fix it. |
All times are GMT -5. The time now is 08:23 PM. |