Bug #1164

virt-manager dependency error

Added by Josef Sipek almost 4 years ago. Updated 10 months ago.

Status:ClosedStart date:2011-06-29
Priority:NormalDue date:
Assignee:OI Userland% Done:

100%

Category:Desktop (JDS)
Target version:-
Difficulty: Tags:dependency

Description

  1. pkg install pkg:/desktop/virt-manager
    Packages to install: 9
    Create boot environment: No
    Services to restart: 3
    DOWNLOAD PKGS FILES XFER (MB)
    Completed 9/9 838/838 9.5/9.5

PHASE ACTIONS
Install Phase 1421/1421

PHASE ITEMS
Package State Update Phase 9/9
Image State Update Phase 2/2

  1. virt-manager
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virt-manager.py", line 379, in ?
    _show_startup_error(str(run_e), "".join(traceback.format_exc()))
    File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
    import gtk
    ImportError: No module named gtk

History

#1 Updated by Chris Jordan almost 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Chris Jordan

Josef Sipek, could you please provide a little more information about this? I tried to duplicate it on a fresh install of oi_148 but I received no error, virt-manager installed and started up fine.

#2 Updated by Josef Sipek almost 4 years ago

This is on oi 151. What other information would you like to see?

#3 Updated by Chris Jordan almost 4 years ago

  • Category set to Desktop (JDS)
  • Status changed from Feedback to New
  • Assignee changed from Chris Jordan to OI JDS
  • Difficulty changed from Medium to Bite-size
  • Tags changed from needs-triage to dependency

I was able to duplicate this problem on oi_151. It looks like oi_151 does not have the python-gnome-libs-24 pkg installed, and the package for pkg:/desktop/virt-manager should have a dependency on that, but does not. It works on oi_148 since that has python-gnome-libs-24 installed already. So the package for virt-manager needs to have that dependency and one on python-dbus-24 added.

I'm assigning this to "OI JDS", if that's not the correct assignment, please let me know.

#4 Updated by Guido Berhörster almost 4 years ago

  • Target version set to oi_151

I'm don't think this is a problem with JDS, the SVr4 package does have a dependency on SUNWgnome-python-libs (which resolves to python-gnome-libs-24). This might be something that gets screwed up at distro-import time, RE needs to look into this.

#5 Updated by Guido Berhörster almost 4 years ago

  • Assignee changed from OI JDS to Andrzej Szeszo
  • Difficulty deleted (Bite-size)

It is possible that other packages have missing dependencies as well. Please use the oi_151 JDS SVR4 packages I delivered to the dock for the next respin, they have correct dependencies.

#6 Updated by Jon Tibble over 3 years ago

Can someone confirm if this is fixed with the current manifest in /dev please?

http://pkg.openindiana.org/dev/manifest/0/desktop%2Fvirt-manager%400.6.1%2C5.11-0.151.1%3A20110912T025411Z

#7 Updated by Luca De Pandis almost 3 years ago

No Jon. This issue still exists.

$ pfexec virt-manager
ERROR:root:No module named gtk
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 376, in ?
main()
File "/usr/share/virt-manager/virt-manager.py", line 271, in main
_show_startup_error("Could not run virt-manager, not root")
File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
import gtk
ImportError: No module named gtk
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 379, in ?
_show_startup_error(str(run_e), "".join(traceback.format_exc()))
File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
import gtk
ImportError: No module named gtk

$ uname -a
SunOS B-r00t 5.11 oi_151a4 i86pc i386 i86pc Solaris

The following packages are required by virt-manager, but they aren't listed in its manifest.
python-gnome-libs-24
python-dbus-24

#8 Updated by Ken Mays 10 months ago

  • % Done changed from 0 to 100
  • Target version deleted (oi_151)
  • Assignee changed from Andrzej Szeszo to OI Userland
  • Status changed from New to Closed

Resolved.
See: desktop/,5.11-0.151.1.8.1:20140626T100043Z

Also available in: Atom