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

Fix: network selection changing interface name to lowercase #242

Conversation

nischalstha9
Copy link
Contributor

Issue

The installation fails on ubuntu 24 with default network interface name as enX0 fails as the installation run.py triggering CLI.get_response() converts the input to lowercase and changes it to enx0.

This issue triggers KeyError during installation setup.

Screenshot 2024-06-11 at 11 03 45

Fix

Added to_lower parameter in
CLI.get_response(...., to_lower=False)

@noliveleger noliveleger self-assigned this Jun 21, 2024
@noliveleger noliveleger self-requested a review June 21, 2024 19:25
@noliveleger
Copy link
Contributor

noliveleger commented Jun 21, 2024

Thank @nischalstha9 to bring this to our attention.
It has not been tested in Ubuntu 24.04 but will be shortly.

In a meantime, you can use docker0 interface on linux. (choose other, than docker0) if all services are running on the same host.

@noliveleger noliveleger merged commit c586738 into kobotoolbox:master Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants