flathub / org.gnome.Boxes

https://flathub.org/apps/details/org.gnome.Boxes
13 stars 10 forks source link

Gnome Boxes can not be opened after reinstalled #90

Open vkchong2000 opened 11 months ago

vkchong2000 commented 11 months ago

Here is the msg pop-up from terminal.

u2004:-$ flatpak run org.gnome.Boxes

Gtk-Message: 14:33:33.575: Failed to load module "canberra-gtk-module" Gtk-Message: 14:33:33.577: Failed to load module "canberra-gtk-module"

(gnome-boxes:2): Boxes-WARNING **: 14:33:34.830: libvirt-machine.vala:118: Failed to disable 3D Acceleration: Failed to set domain configuration: XML error: Invalid PCI address 0000:03:00.0. slot must be >= 1

(gnome-boxes:2): Boxes-WARNING **: 14:33:34.865: libvirt-machine.vala:118: Failed to disable 3D Acceleration: Failed to set domain configuration: XML error: Invalid PCI address 0000:03:00.0. slot must be >= 1

(gnome-boxes:2): Boxes-CRITICAL **: 14:33:34.880: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed

vkchong2000 commented 11 months ago

Anyone could advise me how to resolve this issue and what causing this issue? Thanks

sidt4 commented 8 months ago

Can you provide the following details ?

  1. Linux distro.
  2. Boxes version.
vkchong2000 commented 8 months ago

Can you provide the following details ?

1. Linux distro.

2. Boxes version.  

My Linux is Ubuntu 20.04 and Boxes ver is 44.2 (Snap)

A6GibKm commented 8 months ago

This is the issue tracker for the flatpak version of Boxes. Do note that Snap is not even supported by Boxes and will likely have issues.

sidt4 commented 8 months ago

@vkchong2000: Are you using snap or flatpak ? The issue description uses flatpak run org.gnome.Boxes, and you mention snap in the comment above.

Also, what exact issue are you facing. Does gnome-boxes GUI not open, or a VM is not started ?

A6GibKm commented 8 months ago

In any case, 44.2 is not the flatpak version.

vkchong2000 commented 8 months ago

@sidt4 @A6GibKm Before was flakpak "Boxes" installed in my machine, bcos of the issue arise I have changed to snap "Boxes"

Selection_757

In fact I prefer to use flakpak app, and I hope I can restore the flakpak "Boxes"

sidt4 commented 8 months ago

It appears the GNOME Boxes is crashing on start, due to clone vm creator object. (i.e. when some VMs are in cloning state on Boxes start)

i.e. due to the following message in the original issue description.

(gnome-boxes:2): Boxes-CRITICAL **: 14:33:34.880: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed

This is addressed as part of https://gitlab.gnome.org/GNOME/gnome-boxes/-/merge_requests/627, until we have more details (a.k.a steps to reproduce), which could provide a better fix.

vkchong2000 commented 8 months ago

@sidt4 Thank for your explanation. I will switch back to Boxes in flakpak if everything in order.