diff --git a/virtManager/create.py b/virtManager/create.py index bb556fc63..8f5a10485 100644 --- a/virtManager/create.py +++ b/virtManager/create.py @@ -1403,7 +1403,7 @@ class vmmCreate(vmmGObjectUI): if variant: guest.os_variant = variant except ValueError, e: - self.err.show_err(_("Error setting OS information."), e) + self.err.show_err(_("Error setting OS information."), str(e)) return None if guest.os.is_arm64(): diff --git a/virtManager/error.py b/virtManager/error.py index 30fc67e3a..5a838f71d 100644 --- a/virtManager/error.py +++ b/virtManager/error.py @@ -89,6 +89,8 @@ class vmmErrorDialog(vmmGObject): tb = "".join(traceback.format_exc()).strip() if tb != "None": details += "\n\n" + tb + else: + details = str(details) if debug: debugmsg = "error dialog message:\nsummary=%s" % summary