Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type error with /usr/bin/python from DVD image #56

Open
ElCoyote27 opened this issue Oct 4, 2017 · 1 comment
Open

type error with /usr/bin/python from DVD image #56

ElCoyote27 opened this issue Oct 4, 2017 · 1 comment
Assignees

Comments

@ElCoyote27
Copy link

Hi all,
Here's one puzzling problem that kept me awake last night.
I'm a customizing somewhat 'menu.py' and rebuilding the ISO image on a frequent basis (about 15-20 times a day).
At some point, I noticed this behaviour:
Once booted, the install skipped right to the usual RedHat install screen (without stopping at menu.py) and complained about no disk selected.
After a lot of trial and error, I traced it back to this error:
"invalid literal for int() with base 10 python"
for this line in the code:
self.disk_total += int(self.disk_info[i][1])

I had been working on letting using 'Gb' instead of percentage for the sizes of the volumes (only for the user Workstation profile) while preserving the '%' behaviour. In order to do this, I had to avoid rounding errors and keep disk_total in MB's instead of Gb's. I got right of the 'float' a little to quickly.

The reason why I am opening an issue is this:

  • I could not reproduce the error with either 'python' from FC25 or 'python' from EL7. I had to actually sabotage the install and drop to an interactive shell where I could run 'python' from the EL7.4 DVD.

Is there a way to make menu.py's invocating by 'python' from 'python' on the DVD image a little easier to debug?

@fcaviggia fcaviggia self-assigned this Oct 5, 2017
@fcaviggia
Copy link
Collaborator

I'll try to look at it this weekend - I've been on travel a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants