Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474046 - app-emulation/virt-manager-0.10.0 version bump
Summary: app-emulation/virt-manager-0.10.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 14:00 UTC by Joakim Tjernlund
Modified: 2013-06-28 09:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2013-06-21 14:00:14 UTC
Released 19:th of June
http://virt-manager.org/download/
Comment 1 Stefan G. Weichinger 2013-06-24 15:40:05 UTC
installed latest virt-manager-0.10.0, I get problems when starting it:

$ virt-manager --debug
2013-06-24 17:39:04,285 (cliutils:75): virt-manager startup
2013-06-24 17:39:04,285 (virt-manager:199): Launched as: ['/usr/share/virt-manager/virt-manager', '--debug']
2013-06-24 17:39:04,285 (virt-manager:200): virt-manager version: 0.10.0
2013-06-24 17:39:04,285 (virt-manager:201): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
2013-06-24 17:39:04,518 (virt-manager:247): GTK version: 3.8.2

(virt-manager:31116): GLib-GIO-ERROR **: Settings schema 'org.virt-manager.virt-manager' is not installed

Trace/Breakpoint ausgelöst

What to rebuild here? Thanks, Stefan
Comment 2 Joakim Tjernlund 2013-06-24 21:28:05 UTC
I think the schema needs to be registered too. It is probably not enough to just
install the schema file.
Don't know how to register it but you could try logout/login to see it if
that picks the schema up.
Comment 3 Martin Samek 2013-06-24 22:24:14 UTC
I have following crash vith version 0.10.0

 virt-manager 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 32, in <module>
    from gi.repository import GObject
ImportError: No module named gi.repository

it looks almost like some typo.
Comment 4 Martin Samek 2013-06-24 22:34:06 UTC
(In reply to Martin Samek from comment #3)

I was missing pygobject v3,

now same error:

2013-06-25 00:34:56,031 (cliutils:75): virt-manager startup
2013-06-25 00:34:56,031 (virt-manager:199): Launched as: ['/usr/share/virt-manager/virt-manager', '--debug']
2013-06-25 00:34:56,032 (virt-manager:200): virt-manager version: 0.10.0
2013-06-25 00:34:56,032 (virt-manager:201): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.py'>
2013-06-25 00:34:56,190 (virt-manager:247): GTK version: 3.4.4

(virt-manager:8314): GLib-GIO-ERROR **: Settings schema 'org.virt-manager.virt-manager' is not installed

Trasovací/ladící past (SIGTRAP)
Comment 5 Joakim Tjernlund 2013-06-24 22:37:04 UTC
I would try
gconftool-2 --help-install
Usage:
  gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Installation options:
  --install-schema-file=FILENAME                 Specify a schema file to be installed
Comment 6 Joakim Tjernlund 2013-06-24 22:41:34 UTC
Also, from http://devmanual.gentoo.org/eclass-reference/gnome2-utils.eclass/index.html

gnome2_gconf_install
    Applies any schema files installed by the current ebuild to Gconf's database using gconftool-2. This function should be called from pkg_postinst. 

gnome2_gconf_uninstall
    Removes schema files previously installed by the current ebuild from Gconf's database.
Comment 7 Joakim Tjernlund 2013-06-25 16:58:59 UTC
Anyone managed to solve the missing schema problem?
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2013-06-25 17:29:23 UTC
emerge --sync && emerge -1 virt-manager

There's going to be a bump soon enough.
Comment 9 Stefan G. Weichinger 2013-06-26 08:09:39 UTC
Today it works, I can start it.
But all my hosts aside from localhost are missing in the list of connections.
Comment 10 Joakim Tjernlund 2013-06-26 15:59:08 UTC
After reemerging virt-manager I get:

2013-06-26 17:57:46,447 (cliutils:75): virt-manager startup
2013-06-26 17:57:46,447 (virt-manager:199): Launched as: ['/usr/share/virt-manager/virt-manager', '--debug']
2013-06-26 17:57:46,447 (virt-manager:200): virt-manager version: 0.10.0
2013-06-26 17:57:46,447 (virt-manager:201): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
Gtk-Message: Failed to load module "gnomesegvhandler"
2013-06-26 17:57:46,536 (virt-manager:247): GTK version: 3.4.4
2013-06-26 17:57:46,558 (virt-manager:55): Error starting virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 303, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager", line 267, in main
    from virtManager.engine import vmmEngine
  File "/usr/share/virt-manager/virtManager/engine.py", line 45, in <module>
    from virtManager.details import vmmDetails
  File "/usr/share/virt-manager/virtManager/details.py", line 37, in <module>
    from virtManager.console import vmmConsolePages
  File "/usr/share/virt-manager/virtManager/console.py", line 28, in <module>
    from gi.repository import SpiceClientGtk
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
    version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in __init__
    repository.require(namespace, version)
RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded
Comment 11 Joakim Tjernlund 2013-06-27 13:36:58 UTC
(In reply to Joakim Tjernlund from comment #10)
> After reemerging virt-manager I get:
> 
> 2013-06-26 17:57:46,447 (cliutils:75): virt-manager startup
> 2013-06-26 17:57:46,447 (virt-manager:199): Launched as:
> ['/usr/share/virt-manager/virt-manager', '--debug']
> 2013-06-26 17:57:46,447 (virt-manager:200): virt-manager version: 0.10.0
> 2013-06-26 17:57:46,447 (virt-manager:201): virtManager import: <module
> 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
> Gtk-Message: Failed to load module "gnomesegvhandler"
> 2013-06-26 17:57:46,536 (virt-manager:247): GTK version: 3.4.4
> 2013-06-26 17:57:46,558 (virt-manager:55): Error starting virt-manager
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virt-manager", line 303, in <module>
>     main()
>   File "/usr/share/virt-manager/virt-manager", line 267, in main
>     from virtManager.engine import vmmEngine
>   File "/usr/share/virt-manager/virtManager/engine.py", line 45, in <module>
>     from virtManager.details import vmmDetails
>   File "/usr/share/virt-manager/virtManager/details.py", line 37, in <module>
>     from virtManager.console import vmmConsolePages
>   File "/usr/share/virt-manager/virtManager/console.py", line 28, in <module>
>     from gi.repository import SpiceClientGtk
>   File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in
> load_module
>     dynamic_module._load()
>   File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
>     version)
>   File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in
> __init__
>     repository.require(namespace, version)
> RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is
> already loaded


FYI, USE =-spice will cause the above
Comment 12 Stefan G. Weichinger 2013-06-28 09:07:11 UTC
(In reply to Stefan G. Weichinger from comment #9)
> Today it works, I can start it.
> But all my hosts aside from localhost are missing in the list of connections.

Could someone pls point me at what to restore from backups here maybe?
Thanks!
Comment 13 Stefan G. Weichinger 2013-06-28 09:11:43 UTC
(In reply to Stefan G. Weichinger from comment #12)
> (In reply to Stefan G. Weichinger from comment #9)
> > Today it works, I can start it.
> > But all my hosts aside from localhost are missing in the list of connections.
> 
> Could someone pls point me at what to restore from backups here maybe?
> Thanks!

btw: 0.9.5 shows all my connections correctly (just downgraded for a test)