[et-mgmt-tools] [PATCH] python-virtinst: "Invalid install location"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The opaque error in $SUBJECT is what you get if your networking is down or if you specified the wrong installation source path. The attached patch (*untested* - but it's very simple) changes the message.

Rich.

--
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
--- DistroManager.py.old	2007-05-09 11:03:02.000000000 +0100
+++ DistroManager.py	2007-05-09 11:04:55.000000000 +0100
@@ -531,7 +531,7 @@
 def acquireKernel(baseuri, progresscb, scratchdir="/var/tmp", type=None, distro=None):
     fetcher = _fetcherForURI(baseuri, scratchdir)
     if not fetcher.prepareLocation(progresscb):
-        raise RuntimeError, "Invalid install location"
+        raise RuntimeError, "Failed downloading kernel from %s.  Check installation source and network available." % baseuri
 
     try:
         store = _storeForDistro(fetcher=fetcher, baseuri=baseuri, type=type, \
@@ -544,7 +544,7 @@
 def acquireBootDisk(baseuri, progresscb, scratchdir="/var/tmp", type=None, distro=None):
     fetcher = _fetcherForURI(baseuri, scratchdir)
     if not fetcher.prepareLocation(progresscb):
-        raise RuntimeError, "Invalid install location"
+        raise RuntimeError, "Failed downloading kernel from %s.  Check installation source and network available." % baseuri
 
     try:
         store = _storeForDistro(fetcher=fetcher, baseuri=baseuri, type=type, \

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux