Your message dated Wed, 25 Mar 2015 15:23:32 +0000
with message-id <e1yan9y-0000qj...@franck.debian.org>
and subject line Bug#781127: fixed in virt-manager 1:1.0.1-5
has caused the Debian Bug report #781127,
regarding virt-manager: Missing version requirement declaration when importing
VTE
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
781127: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781127
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: virt-manager
Version: 1:1.0.1-4
Severity: serious
Tags: patch
As soon as you have several VTE library version installed in your system
and that you are using serial console (created by default), you cannot open
the window of a virtual machine (screen and details).
You get the message:
Error launching details: 'gi.repository.Vte' object has no attribute
'TerminalCursorBlinkMode'
With the details:
rror launching details: 'gi.repository.Vte' object has no attribute
'TerminalCursorBlinkMode'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 813, in
_show_vm_helper
details.activate_default_page()
File "/usr/share/virt-manager/virtManager/details.py", line 1389, in
activate_default_page
self.activate_default_console_page()
File "/usr/share/virt-manager/virtManager/details.py", line 1383, in
activate_default_console_page
self.console.activate_default_console_page()
File "/usr/share/virt-manager/virtManager/console.py", line 1607, in
activate_default_console_page
self._show_serial_tab(name, serialidx)
File "/usr/share/virt-manager/virtManager/console.py", line 1666, in
_show_serial_tab
serial = vmmSerialConsole(self.vm, target_port, name)
File "/usr/share/virt-manager/virtManager/serialcon.py", line 322, in __init__
self.init_terminal()
File "/usr/share/virt-manager/virtManager/serialcon.py", line 332, in
init_terminal
self.terminal.set_cursor_blink_mode(Vte.TerminalCursorBlinkMode.ON)
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 320, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 139, in __getattr__
self.__name__, name))
AttributeError: 'gi.repository.Vte' object has no attribute
'TerminalCursorBlinkMode'
Googling shows me this:
https://bugzilla.redhat.com/show_bug.cgi?id=1114379
but also a very quick fix here:
https://wiki.archlinux.org/index.php/Talk:Libvirt
Quoting:
=====
change the following line in /usr/share/virt-manager/virtManager/serialcon.py
BEFORE
from gi.repository import Vte
AFTER
#from gi.repository import Vte
import gi
gi.require_version('Vte', '2.90')
from gi.repository import Vte
to explicitely use a vte 290 terminal
=====
Indeed, when importing the python module, as vte has several API incompatible
version,
we need to select the good (used) one.
Live editing the file on my system as suggested above immediately (after a
restart of virt-manager) fixes the bug on my machine.
Please, consider asking for a freeze exception (or a fix in the first
point-release): the fix is very small and the bug will hit more and more people
as soon as they install (due to other dependencie) a new vte library.
Regards,
Vincent
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel
Kernel: Linux 3.19.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virt-manager depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.22.0-1
ii gconf2 3.2.6-3
ii gir1.2-gtk-3.0 3.14.5-1
ii gir1.2-gtk-vnc-2.0 0.5.3-1.3
ii gir1.2-libvirt-glib-1.0 0.1.9-4
ii gir1.2-vte-2.90 1:0.36.3-1
ii librsvg2-common 2.40.5-1
ii python-dbus 1.2.0-2+b3
ii python-gi 3.14.0-1
ii python-gi-cairo 3.14.0-1
ii python-ipaddr 2.1.11-2
ii python-libvirt 1.2.9-1
ii python-urlgrabber 3.9.1-4.1
pn python2.7:any <none>
pn python:any <none>
ii virtinst 1:1.0.1-4
Versions of packages virt-manager recommends:
ii gir1.2-spice-client-gtk-3.0 0.25-1+b1
ii gnome-icon-theme 3.12.0-1
ii libvirt-daemon-system 1.2.9-9
Versions of packages virt-manager suggests:
ii gnome-keyring 3.14.0-1+b1
ii python-gnomekeyring 2.32.0+dfsg-3
pn python-guestfs <none>
ii ssh-askpass 1:1.2.4.1-9
ii virt-viewer 1.0-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: virt-manager
Source-Version: 1:1.0.1-5
We believe that the bug you reported is fixed in the latest version of
virt-manager, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 781...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <a...@sigxcpu.org> (supplier of updated virt-manager package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 25 Mar 2015 15:09:09 +0100
Source: virt-manager
Binary: virt-manager virtinst
Architecture: source all
Version: 1:1.0.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Libvirt Maintainers
<pkg-libvirt-maintain...@lists.alioth.debian.org>
Changed-By: Guido Günther <a...@sigxcpu.org>
Description:
virt-manager - desktop application for managing virtual machines
virtinst - Programs to create and clone virtual machines
Closes: 775399 781127
Changes:
virt-manager (1:1.0.1-5) unstable; urgency=medium
.
* [b58bb6a] Add virt-xml (Closes: #775399)
* [44b9a97] Switch qemu recommendation to qemu-utils. We only need the
command line tools.
* [5eabe1d] Make sure we use a binary compatible version of vte. Thanks to
Vincent Danjean for the detailed report (Closes: #781127)
Checksums-Sha1:
472eb8e910493e69ed2e29a3d11b822e897cd33f 2075 virt-manager_1.0.1-5.dsc
be493ed4104afeaf9ec11a97c0dbd4994ba0dfd9 14656
virt-manager_1.0.1-5.debian.tar.xz
83fda9387538d2829a2eea8cdc34098e7c42e9a9 882144 virt-manager_1.0.1-5_all.deb
1dcbf335f1c48b395a8069ab67643855afe2bc44 172496 virtinst_1.0.1-5_all.deb
Checksums-Sha256:
c5446a49198986cf965cf3745f9488e9a276970f4d56c989c593c1f6035eb877 2075
virt-manager_1.0.1-5.dsc
d09e880a70b8762f2a571383920d796f19bea7bc21429357666a20d735b9d33f 14656
virt-manager_1.0.1-5.debian.tar.xz
91167baf37c6fab4dedabc0a17115111760c4a0620ce7935a8a20e95be4c8758 882144
virt-manager_1.0.1-5_all.deb
a00227c64e854ac6ea98f9e96e42644b1f5a69b5d8dbc3dc53087024e3ae09e4 172496
virtinst_1.0.1-5_all.deb
Files:
2887019de4098fe63afc7cc9421735a0 2075 admin optional virt-manager_1.0.1-5.dsc
2a8e928a55065d0a99f64728a01ec467 14656 admin optional
virt-manager_1.0.1-5.debian.tar.xz
0dbd16289ffd01077a4c2d4e975711d9 882144 admin optional
virt-manager_1.0.1-5_all.deb
2cac8b518e8e2e8a98d097580968d4fc 172496 admin optional virtinst_1.0.1-5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVRLDMQe4t7DqmBILAQhrNw//T65LhYzoqAEa7fDOKDPx2LSQxPnLT1YQ
ApeMAoQo54nrFBtDV/k3IQeQ7aJLwGYKjKl/0B/j8hdhpKTSgl5bFAXkDOwe3pRt
tVRAR1d6wxtOWQo/XODwDTfER/mGZTPmFFSzBLDfKi93IDm9jwExl6uIVtfN3FzE
DCyLVeYTMrcf+U0xIk9xRAzk5vdRE3iWMOCNWMJn2z03Fd8s/GF1HqUDED01EB19
5Vxw6flt51mojvtiD/6nH7KA94fRxJL2mkTa0+//iPaoeJtVKDoFDUicvmLnQg0W
IQ1CHjaNC38zfd1aXqfEsjbIlLbrJ3so46c/JpHXaC7N9WY4rl2f4muIeaX3fO74
EU29hAQqq1y39uEC25EZduVliqjWhxLROQ+S6LFuHyZQjOnvgnAKiu2DqAYKixVR
itQNqYByT2x2OoheqqVkwTOQk02Gdzy5EQ+JXVbVq4eBddkTXJdN/Q6ks/rK37D5
+EpoPYFNnZUb21k7pQBr7G4KhK1o72HkDxaoRmBZuv+LJ2QV+m2/+V3oai7cPrKC
LJnoaM3z4I6JEy/d74YgJ217mS0sFMXLbteZV1qNFl+2lK1cdVZu+KcC0N+aERsd
P42VqcIkCa3VkRIxDVuONvt+y9f+YJr7Dk6PgF1m84YB3XiFacL6u7KKpjmwiMBP
LWlUczizJsY=
=G74P
-----END PGP SIGNATURE-----
--- End Message ---