Bug 861376
Summary: | IndexError: tuple index out of range | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Hamzy <hamzy> | ||||||||||
Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 18 | CC: | awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | ppc64 | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | abrt_hash:4cff82fa4687bff41bda863c8b766830ad53d1a20263fefb0b630bb3f339b99d | ||||||||||||
Fixed In Version: | anaconda-18.11-1 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2012-11-23 02:41:46 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Mark Hamzy
2012-09-28 12:16:00 UTC
Created attachment 618537 [details]
File: anaconda-tb
Created attachment 618538 [details]
File: product
Created attachment 618539 [details]
File: type
Created attachment 618540 [details]
File: environ
With https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-September/001338.html now gives: Traceback (most recent call first): File "/tmp/updates/pyanaconda/errors.py", line 96, in _partitionErrorHandler "])}"The installation will now terminate.") % {"errortxt": str(kwargs["exceptionn File "/tmp/updates/pyanaconda/errors.py", line 251, in cb rc = _map[exn.__class__.__name__](*args, **kwargs) tition "/tmp/updates/pyanaconda/storage/partitioning.py", line 324, in doAutoParr if errorHandler.cb(exn) == ERROR_RAISE: File "/tmp/updates/pyanaconda/kickstart.py", line 266, in execute doAutoPartition(storage, ksdata) File "/tmp/updates/pyanaconda/kickstart.py", line 1558, in doKickstartStorage ksdata.autopart.execute(storage, ksdata, instClass) teFile "/tmp/updates/pyanaconda/ui/gui/spokes/storage.py", line 333, in _doExecuu doKickstartStorage(self.storage, self.data, self.instclass) File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/tmp/updates/pyanaconda/threads.py", line 87, in run threading.Thread.run(self, *args, **kwargs) ValueError: unsupported format character ' ' (0xa) at index 66 You are missing the % format character. diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py index 8917184..3b8de04 100644 --- a/pyanaconda/errors.py +++ b/pyanaconda/errors.py @@ -92,8 +92,8 @@ class ErrorHandler(object): return ERROR_RAISE def _partitionErrorHandler(self, *args, **kwargs): - message = _("The following errors occurred with your partitioning:\n\n%(errortxt)\n\n" - "The installation will now terminate.") % {"errortxt": args[0]} + message = _("The following errors occurred with your partitioning:\n\n%(errortxt)s\n\n" + "The installation will now terminate.") % {"errortxt": str(kwargs["exception"])} self.ui.showError(message) return ERROR_RAISE By the way, do we really want to exit the installer because the automatic partitioning came up with a problem? PartitioningError is raised for real problems that occur during partition execution, where the user can't really do anything about it, so yeah it makes sense to exit here. anaconda-18.11-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/anaconda-18.11-1.fc18 Package anaconda-18.11-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-18.11-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-15207/anaconda-18.11-1.fc18 then log in and leave karma (feedback). anaconda-18.12-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/anaconda-18.12-1.fc18 This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug. |