FS#49137 - [spice-gtk3] ImportError: Typelib file for namespace 'SpiceClientGLib', version '2.0' not found

Attached to Project: Community Packages
Opened by Robert Gonciarz (gonciarz) - Friday, 29 April 2016, 12:27 GMT
Last edited by Balló György (City-busz) - Friday, 12 January 2018, 16:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Redirection of USB devices doesn't work for 0.31-1 version. As a workaround I had to downgrade lib to 0.30-3.

I've tested that on Windows7 64 bit VM + Jabra USB headset, but I suppose that should be

Additional info:
* package version(s): spice-gtk3-0.30-3-x86_64, spice-gtk3-0.31-1-x86_64
* config and/or log files etc: N/A

Steps to reproduce:
1. Start VM
2. Login to Virt Manager
3. Add redirection of particular USB port to VM

You'll find the following error stacktrace:

Error launching details: Typelib file for namespace 'SpiceClientGLib', version '2.0' not found

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 820, in _show_vm_helper
details = self._get_details_dialog(uri, vm.get_connkey())
File "/usr/share/virt-manager/virtManager/engine.py", line 798, in _get_details_dialog
obj = vmmDetails(conn.get_vm(connkey))
File "/usr/share/virt-manager/virtManager/details.py", line 362, in __init__
from .console import vmmConsolePages
File "/usr/share/virt-manager/virtManager/console.py", line 32, in <module>
from .viewers import SpiceViewer, VNCViewer
File "/usr/share/virt-manager/virtManager/viewers.py", line 29, in <module>
from gi.repository import SpiceClientGtk
File "/usr/lib/python2.7/site-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'SpiceClientGLib', version '2.0' not found
This task depends upon

Closed by  Balló György (City-busz)
Friday, 12 January 2018, 16:10 GMT
Reason for closing:  No response
Comment by Robert Gonciarz (gonciarz) - Friday, 29 April 2016, 12:28 GMT
I've tested that on Manjaro (which in fact uses it's own package repositories, but based on Arch).
Comment by Doug Newgard (Scimmia) - Friday, 29 April 2016, 22:07 GMT
So you have not actually tried this on Arch?

What version of spice-glib?
Comment by sam (asg1448) - Saturday, 07 May 2016, 14:16 GMT
I have spice-gtk3-0.31-1 and I have this problem
Comment by Doug Newgard (Scimmia) - Saturday, 07 May 2016, 14:16 GMT
sam, and you're on Arch? Again, what version of spice-glib?
Comment by sam (asg1448) - Saturday, 07 May 2016, 15:22 GMT
I am on arch.

# pacman -Q spice-glib
spice-glib 0.30-3

The problem happens when I am on spice-gtk3-0.31-1 . Rollback to spice-gtk3-0.30-1-x86_64.pkg.tar.xz fixed the error

I see there is an update to spice-glib-0.31-1 . I will try full update and report if I see the error again
Comment by sam (asg1448) - Saturday, 07 May 2016, 16:53 GMT
UPDATE: I have no idea how to properly escape URLs here; if you want to see the screenshots, make sure to copy full URL, including the trailing "="

I did full system upgrade. Opening virtual manchine manager, and trying to open a single machine (double-click) yields following: https://43d36deea48f692c049b27823e5900c5b21667c7.googledrive.com/host/0BxBlvkNJOOeXV1ppZW9iYVJ3VTA/#1AfaiVkizbsQoI37G2TrvjorHYvEndG4nFlvFmnH4pk=

Error launching details: Typelib file for namespace 'SpiceClientGLib', version '2.0' not found

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 820, in _show_vm_helper
details = self._get_details_dialog(uri, vm.get_connkey())
File "/usr/share/virt-manager/virtManager/engine.py", line 798, in _get_details_dialog
obj = vmmDetails(conn.get_vm(connkey))
File "/usr/share/virt-manager/virtManager/details.py", line 362, in __init__
from .console import vmmConsolePages
File "/usr/share/virt-manager/virtManager/console.py", line 32, in <module>
from .viewers import SpiceViewer, VNCViewer
File "/usr/share/virt-manager/virtManager/viewers.py", line 29, in <module>
from gi.repository import SpiceClientGtk
File "/usr/lib/python2.7/site-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'SpiceClientGLib', version '2.0' not found


Versions:

# pacman -Q spice
spice 0.12.6-2
# pacman -Q spice-gtk3
spice-gtk3 0.31-1
# pacman -Q spice-glib
spice-glib 0.31-1

Revert:

# pacman -U /var/cache/pacman/pkg/spice-gtk3-0.30-1-x86_64.pkg.tar.xz

Virtual opens without a problem: https://8677f3f09694eb712fc55787711a72d8647e4c00.googledrive.com/host/0BxBlvkNJOOeXOWw5MGJfUldWSzg/#hxf6Wi5j7JFRLfBao7EY0eHv+oRofMitfcS6oODKojY=

Comment by sam (asg1448) - Sunday, 12 June 2016, 06:10 GMT
is this bug going to be taken care of? I updated today, and still have same issue. And reverting to spice-gtk3-0.30-1 fixed it up again.
Comment by Balló György (City-busz) - Wednesday, 10 January 2018, 01:10 GMT
Please test it with spice-gtk 0.34-1.

Loading...