- bsc#1072012 - openSUSE Tumbleweed, virt-manager: Opening VM GUI
fails with "ordinal not in range" (bart.vanassche+novell@gmail.com) - bsc#1074808 - [beta4+maintain update][virt-manager] Error launching details:'ascii' codec can't decode byte virtman-python2-to-python3-conversion.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=399
This commit is contained in:
parent
419a03b6b7
commit
9125b6e7ae
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 5 14:23:21 MST 2018 - carnold@suse.com
|
||||||
|
|
||||||
|
- bsc#1072012 - openSUSE Tumbleweed, virt-manager: Opening VM GUI
|
||||||
|
fails with "ordinal not in range" (bart.vanassche+novell@gmail.com)
|
||||||
|
- bsc#1074808 - [beta4+maintain update][virt-manager] Error
|
||||||
|
launching details:'ascii' codec can't decode byte
|
||||||
|
virtman-python2-to-python3-conversion.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 2 12:45:56 MST 2018 - carnold@suse.com
|
Tue Jan 2 12:45:56 MST 2018 - carnold@suse.com
|
||||||
|
|
||||||
|
@ -827,3 +827,25 @@ Index: virt-manager-1.4.3/virtManager/createnet.py
|
|||||||
|
|
||||||
PAGE_MAX = PAGE_MISC
|
PAGE_MAX = PAGE_MISC
|
||||||
|
|
||||||
|
Index: virt-manager-1.4.3/virtManager/baseclass.py
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-1.4.3.orig/virtManager/baseclass.py
|
||||||
|
+++ virt-manager-1.4.3/virtManager/baseclass.py
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
# MA 02110-1301 USA.
|
||||||
|
#
|
||||||
|
|
||||||
|
+import io
|
||||||
|
import logging
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
@@ -220,7 +221,8 @@ class vmmGObjectUI(vmmGObject):
|
||||||
|
|
||||||
|
self.builder = Gtk.Builder()
|
||||||
|
self.builder.set_translation_domain("virt-manager")
|
||||||
|
- self.builder.add_from_string(open(uifile).read())
|
||||||
|
+ ui = io.open(uifile, mode="r", encoding="utf-8").read()
|
||||||
|
+ self.builder.add_from_string(ui)
|
||||||
|
|
||||||
|
if not topwin:
|
||||||
|
self.topwin = self.widget(windowname)
|
||||||
|
Loading…
Reference in New Issue
Block a user