| Summary: | EFI install fails with traceback - TypeError: '_sre.SRE_Match' object is not subscriptable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian Lane <bcl> | ||||
| Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | anaconda-maint-list, awilliam, jonathan, mads, tflink, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | AcceptedNTH | ||||||
| Fixed In Version: | anaconda-16.14.6-1.fc16 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-08-18 22:25:41 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 713563, 713564 | ||||||
| Attachments: |
|
||||||
|
Description
Brian Lane
2011-08-03 22:19:18 UTC
Created attachment 516587 [details]
traceback of error
EFI is in the Beta criteria, not Alpha; so re-proposing these bugs as Beta blockers and Alpha NTH (if you can get fixes in time I'd certainly be in favour of taking them into the anaconda rebuild for the next Alpha compose). Perhaps this would fix it up:
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 31a78c8..9260a10 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1314,11 +1314,11 @@ class EFIGRUB(GRUB):
"""
path = ""
buf = self.efibootmgr("-v", stderr="/dev/tty5", capture=True)
- matches = re.search(productName + r'\s+HD\(.+?\)', buf)
- if matches:
+ match = re.search(productName + r'\s+HD\(.+?\)', buf)
+ if match:
path = re.sub(productName + r'\s+',
'',
- buf[matches[0].start():matches[0].end()])
+ buf[match.group(0).start():match.group(0).end()])
return path
Like Adam said, beta material but it wouldn't hurt to get it in the alpha if possible. +1 beta blocker, +1 alpha NTH Discussed in the 2011-08-05 blocker review meeting. Accepted as NTH [1] for Fedora 16 alpha. Will include fixes in alpha if they are tested in time. [1] http://fedoraproject.org/wiki/QA:SOP_nth_bug_process anaconda-16.14.2-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/anaconda-16.14.2-1.fc16 Package anaconda-16.14.2-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-16.14.2-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/anaconda-16.14.2-1.fc16 then log in and leave karma (feedback). anaconda-16.14.3-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/anaconda-16.14.3-1.fc16 anaconda-16.14.4-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/anaconda-16.14.4-1.fc16 anaconda-16.14.5-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/anaconda-16.14.5-1.fc16 anaconda-16.14.6-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/anaconda-16.14.6-1.fc16 anaconda-16.14.6-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |