FS#62964 - [virt-manager] 2.2.0-1 missing dependency gtksourceview4

Attached to Project: Community Packages
Opened by John Schroeder (POINTS) - Friday, 21 June 2019, 16:02 GMT
Last edited by Antonio Rojas (arojas) - Friday, 21 June 2019, 16:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The "Open" VM command fails without "gtksourceview4" installed.

Additional info:
* package version(s): 2.2.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. Make sure "gtksourceview4" is not installed. (It is not a required dependency of virt-manager or virt-install.)
1. Run virt-manager in debug mode: "virt-manager --debug".
2. Run the "Open" command on a VM (either Double click a VM or right click a VM and select "Open").
3. The virt-manager debug shows:
File "/usr/share/virt-manager/virtManager/xmleditor.py", line 6, in <module>
gi.require_version('GtkSource', '4')
File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 133, in require_version
(namespace, version))
ValueError: Namespace GtkSource not available for version 4

Having "gtksourceview4" installed fixes this issue.
sudo pacman -S gtksourceview4 --asdeps
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 21 June 2019, 16:03 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#62960 

Loading...