I was able to reproduce your issue now, added some details to the bug.
Thanks for your report, I think this is ready to upload as soon as one reviewed 
the MP.

Unfortunately I found another bug of a similar type that I need to
resolve as well to make it work well in Eoan. See bug 1840754

** Description changed:

+ Steps to recreate:
+ - start virt-manager
+ - in extra console tail on ~/.cache/virt-manager/virt-manager.log
+ - enable "Enable XML editing" in "Edit"->"preferences"
+ - Then try to create a guest (or edit one that you have)
+ => You might wonder why no window is opening, but in the log you will see the 
reported traceback.
+ 
+ ---
+ 
  Attempt to open virtual machine in virt-manager installed on Kubuntu
  19.10 cause following traceback:
  
  Traceback (most recent call last):
-   File "/usr/share/virt-manager/virtManager/manager.py", line 489, in 
row_activated
-     self.show_vm(_src)
-   File "/usr/share/virt-manager/virtManager/manager.py", line 474, in show_vm
-     vmmenu.VMActionUI.show(self, self.current_vm())
-   File "/usr/share/virt-manager/virtManager/vmmenu.py", line 329, in show
-     from .vmwindow import vmmVMWindow
-   File "/usr/share/virt-manager/virtManager/vmwindow.py", line 15, in <module>
-     from .details.details import vmmDetails
-   File "/usr/share/virt-manager/virtManager/details/details.py", line 18, in 
<module>
-     from ..addhardware import vmmAddHardware
-   File "/usr/share/virt-manager/virtManager/addhardware.py", line 23, in 
<module>
-     from .device.fsdetails import vmmFSDetails
-   File "/usr/share/virt-manager/virtManager/device/fsdetails.py", line 14, in 
<module>
-     from ..storagebrowse import vmmStorageBrowser
-   File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 11, in 
<module>
-     from .hoststorage import vmmHostStorage
-   File "/usr/share/virt-manager/virtManager/hoststorage.py", line 17, in 
<module>
-     from .createpool import vmmCreatePool
-   File "/usr/share/virt-manager/virtManager/createpool.py", line 18, in 
<module>
-     from .xmleditor import vmmXMLEditor
-   File "/usr/share/virt-manager/virtManager/xmleditor.py", line 6, in <module>
-     gi.require_version('GtkSource', '4')
-   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in 
require_version
-     raise ValueError('Namespace %s not available' % namespace)
+   File "/usr/share/virt-manager/virtManager/manager.py", line 489, in 
row_activated
+     self.show_vm(_src)
+   File "/usr/share/virt-manager/virtManager/manager.py", line 474, in show_vm
+     vmmenu.VMActionUI.show(self, self.current_vm())
+   File "/usr/share/virt-manager/virtManager/vmmenu.py", line 329, in show
+     from .vmwindow import vmmVMWindow
+   File "/usr/share/virt-manager/virtManager/vmwindow.py", line 15, in <module>
+     from .details.details import vmmDetails
+   File "/usr/share/virt-manager/virtManager/details/details.py", line 18, in 
<module>
+     from ..addhardware import vmmAddHardware
+   File "/usr/share/virt-manager/virtManager/addhardware.py", line 23, in 
<module>
+     from .device.fsdetails import vmmFSDetails
+   File "/usr/share/virt-manager/virtManager/device/fsdetails.py", line 14, in 
<module>
+     from ..storagebrowse import vmmStorageBrowser
+   File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 11, in 
<module>
+     from .hoststorage import vmmHostStorage
+   File "/usr/share/virt-manager/virtManager/hoststorage.py", line 17, in 
<module>
+     from .createpool import vmmCreatePool
+   File "/usr/share/virt-manager/virtManager/createpool.py", line 18, in 
<module>
+     from .xmleditor import vmmXMLEditor
+   File "/usr/share/virt-manager/virtManager/xmleditor.py", line 6, in <module>
+     gi.require_version('GtkSource', '4')
+   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in 
require_version
+     raise ValueError('Namespace %s not available' % namespace)
  ValueError: Namespace GtkSource not available
  
  Installing gir1.2-gtksource-4 libgtksourceview-4-0
  libgtksourceview-4-common solved this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840677

Title:
  gtksourceview4 dependency is missing in virt-manager eoan package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1840677/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to