Bug 237431
Summary: | ValueError: invalid literal for int() with base 10: '' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jasper O. Hartline <jasperhartline> | ||||
Component: | anaconda | Assignee: | David Cantrell <dcantrell> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-04-23 14:39:04 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
Jasper O. Hartline
2007-04-22 22:11:08 UTC
Created attachment 153260 [details]
anacdump.txt traceback dump from Anaconda
The problem here is you have three network devices: eth0, wlan0, and wmaste. The third device does not match the [a-zA-Z]+[0-9]+ pattern we assume devices are named with (i.e., there is no integer at the end of wmaste). So int() throws an exception since we are handing it an empty string. I've wrapped the two int() calls in a try/except. If an exception occurs, the function returns zero. Not sure if we want to do this or not because I'm not sure how the sorting will end up, but it shouldn't traceback now. |