clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

virt-manager bundle have missing dependency of LibvirtGLib #588

Closed curantes closed 5 years ago

curantes commented 5 years ago

Describe the bug I installed the virt-manager bundle but got below error in a terminal when trying to debug why virt-manager would not start.

$ virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 30, in <module>
    gi.require_version('LibvirtGLib', '1.0')
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace LibvirtGLib not available

I did a sudo swupd search LibvirtGLib and found it to be included in virt-viewer bundle. After adding this bundle I could start virt-manager.

To Reproduce Steps to reproduce the behavior:

  1. On a fresh install of CL install virt-manager bundle
  2. Try to start virt-manager

Expected behavior Install virt-manager bundle should be enough to get all required dependencies to start virt-manager

Environment (please complete the following information):

curantes commented 5 years ago

I noticed there was a virt-manager-gui bundle as well. Seems a bit confusing. Is it not better to have one bundle that have both gui and tui?

fenrus75 commented 5 years ago

(fixing the missing dep)

the gui ends up pulling a lot of core gui libraries in and ends up big... some folks really like just tui for small instances, hence us splitting gui/tui (pretty much across the OS, we even do that for vim and emacs)

On Sat, Mar 30, 2019 at 9:49 AM Matthias Eliasson notifications@github.com wrote:

I noticed there was a virt-manager-gui bundle as well. Seems a bit confusing. Is it not better to have one bundle that have both gui and tui?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/588#issuecomment-478263188, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFf16f0xaKNRyNAqDsn6uXypRRyarks5vb5WKgaJpZM4cT1dk .