[et-mgmt-tools] [PATCH] For connection errors, show full details

Richard W.M. Jones rjones at redhat.com
Thu Mar 22 19:05:31 UTC 2007


Currently virt-manager hides the real details behind a connection 
failure in a log file, which users have to "just know" how to find.

This patch adds a new dialog class, vmmErrorDialog, derived from 
gtk.MessageDialog, which has a "Show details" button to show the true 
reason for a failure.  It modifies the exception handler for connections 
to give the underlying reason and a stack trace.

Also attached, two screenshots so you can see what I mean without 
needing to apply the patch.

Rich.

-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421
  "[Negative numbers] darken the very whole doctrines of the equations
  and make dark of the things which are in their nature excessively
  obvious and simple" (Francis Maseres FRS, mathematician, 1759)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-manager-show-details-of-failed-connection.patch
Type: text/x-patch
Size: 6635 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070322/4dcf4a53/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connection-failure-1.png
Type: image/png
Size: 17384 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070322/4dcf4a53/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connection-failure-2.png
Type: image/png
Size: 36780 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070322/4dcf4a53/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070322/4dcf4a53/attachment-0001.bin>


More information about the et-mgmt-tools mailing list