diff --git a/virt-manager.changes b/virt-manager.changes index 00c002a3..3602609a 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -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 diff --git a/virtman-python2-to-python3-conversion.patch b/virtman-python2-to-python3-conversion.patch index 27af5245..6936592c 100644 --- a/virtman-python2-to-python3-conversion.patch +++ b/virtman-python2-to-python3-conversion.patch @@ -827,3 +827,25 @@ Index: virt-manager-1.4.3/virtManager/createnet.py 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)