Print error message when failing to use console

This commit is contained in:
Daniel P. Berrange 2006-08-18 15:18:53 -04:00
parent 0ab1f27e53
commit 5761f62b02
2 changed files with 31 additions and 30 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-18 14:06-0400\n"
"POT-Creation-Date: 2006-08-18 14:30-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -92,66 +92,66 @@ msgstr ""
msgid "Invalid memory setting"
msgstr ""
#: ../../src/virtManager/create.py:345
#: ../../src/virtManager/create.py:348
msgid "Invalid storage address"
msgstr ""
#: ../../src/virtManager/create.py:360
#: ../../src/virtManager/create.py:363
msgid "Creating Virtual Machine"
msgstr ""
#: ../../src/virtManager/create.py:393
#: ../../src/virtManager/create.py:396
msgid "Locate ISO Image"
msgstr ""
#: ../../src/virtManager/create.py:430
#: ../../src/virtManager/create.py:433
msgid "Locate Storage Partition"
msgstr ""
#: ../../src/virtManager/create.py:436
#: ../../src/virtManager/create.py:439
msgid "Locate or Create New Storage File"
msgstr ""
#: ../../src/virtManager/create.py:488
#: ../../src/virtManager/create.py:491
msgid "Invalid System Name"
msgstr ""
#: ../../src/virtManager/create.py:489
#: ../../src/virtManager/create.py:492
msgid ""
"System name must be non-blank, less than 50 characters, and contain no spaces"
msgstr ""
#: ../../src/virtManager/create.py:494
#: ../../src/virtManager/create.py:497
msgid "Hardware Support Required"
msgstr ""
#: ../../src/virtManager/create.py:495
#: ../../src/virtManager/create.py:498
msgid ""
"Your hardware does not appear to support full virtualization. Only "
"paravirtualized guests will be available on this hardware."
msgstr ""
#: ../../src/virtManager/create.py:501
#: ../../src/virtManager/create.py:504
msgid "ISO Location Required"
msgstr ""
#: ../../src/virtManager/create.py:502
#: ../../src/virtManager/create.py:505
msgid "You must specify an ISO location for the guest install image"
msgstr ""
#: ../../src/virtManager/create.py:507
#: ../../src/virtManager/create.py:510
msgid "URL Required"
msgstr ""
#: ../../src/virtManager/create.py:508
#: ../../src/virtManager/create.py:511
msgid "You must specify a URL for the install image for the guest install"
msgstr ""
#: ../../src/virtManager/create.py:513
#: ../../src/virtManager/create.py:516
msgid "Storage Address Required"
msgstr ""
#: ../../src/virtManager/create.py:514
#: ../../src/virtManager/create.py:517
msgid ""
"You must specify a partition or a file for storage for the guest install"
msgstr ""
@ -211,48 +211,48 @@ msgstr ""
msgid "Keyring unavailable: '%s'"
msgstr ""
#: ../../src/virtManager/manager.py:158
#: ../../src/virtManager/manager.py:160
msgid "Restore Virtual Machine"
msgstr ""
#: ../../src/virtManager/manager.py:172
#: ../../src/virtManager/manager.py:174
msgid "Restoring Virtual Machine"
msgstr ""
#: ../../src/virtManager/manager.py:190
#: ../../src/virtManager/manager.py:192
#, python-format
msgid "Error restoring domain '%s'. Is the domain already running?"
msgstr ""
#: ../../src/virtManager/manager.py:289
#: ../../src/virtManager/manager.py:291
msgid "ID"
msgstr ""
#: ../../src/virtManager/manager.py:290
#: ../../src/virtManager/manager.py:292
msgid "Name"
msgstr ""
#: ../../src/virtManager/manager.py:291 tmp/virt-manager.glade.h:142
#: ../../src/virtManager/manager.py:293 tmp/virt-manager.glade.h:142
msgid "Status"
msgstr ""
#: ../../src/virtManager/manager.py:292 tmp/virt-manager.glade.h:59
#: ../../src/virtManager/manager.py:294 tmp/virt-manager.glade.h:59
msgid "CPU usage"
msgstr ""
#: ../../src/virtManager/manager.py:293
#: ../../src/virtManager/manager.py:295
msgid "VCPUs"
msgstr ""
#: ../../src/virtManager/manager.py:294 tmp/virt-manager.glade.h:99
#: ../../src/virtManager/manager.py:296 tmp/virt-manager.glade.h:99
msgid "Memory usage"
msgstr ""
#: ../../src/virtManager/manager.py:295 tmp/virt-manager.glade.h:72
#: ../../src/virtManager/manager.py:297 tmp/virt-manager.glade.h:72
msgid "Disk usage"
msgstr ""
#: ../../src/virtManager/manager.py:296 tmp/virt-manager.glade.h:105
#: ../../src/virtManager/manager.py:298 tmp/virt-manager.glade.h:105
msgid "Network traffic"
msgstr ""
@ -381,7 +381,7 @@ msgstr ""
#: tmp/virt-manager.glade.h:31
msgid ""
"<b>Tip:</b> For best performance, the number of virtual CPUs should be less "
"than the number of physical CPUs on the host system."
"than (or equal to) the number of physical CPUs on the host system."
msgstr ""
#: tmp/virt-manager.glade.h:32
@ -423,7 +423,8 @@ msgstr ""
#: tmp/virt-manager.glade.h:40
msgid ""
"<small><b>Tip:</b> For best performance, the number of virtual CPUs should "
"be less than the number of physical CPUs on the host system.</small>"
"be less than (or equal to) the number of physical CPUs on the host system.</"
"small>"
msgstr ""
#: tmp/virt-manager.glade.h:41

View File

@ -163,7 +163,7 @@ class vmmConsole(gobject.GObject):
try:
self.vncViewer.connect_to_host(host, port)
except:
print _("Unable to activate console")
print _("Unable to activate console") + " " + str((sys.exc_info())[0]) + " " + str((sys.exc_info())[1])
self.activate_unavailable_page()
return
if self.vncViewer.is_authenticated():