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

ValueError: invalid literal for int() with base 10: ' ' #37

Open
TheEarthlord opened this issue May 20, 2024 · 0 comments
Open

ValueError: invalid literal for int() with base 10: ' ' #37

TheEarthlord opened this issue May 20, 2024 · 0 comments

Comments

@TheEarthlord
Copy link
Contributor

This exception usually comes from the ipbench controller in the process of trying to run a benchmark when ipbenchd on the client has failed to import the python modules ipbench_client and ipbench_target. It happens because the controller tries to connect to the client, but the connection closes immediately due to import failure, while the controller expects an exchange of data. The controller ends up trying to process an empty string since it was given no data, leading to this result.

The solution is twofold:

  1. We need to fix the way ipbench packages install ipbench_client and ipbench_target; currently they often end up in places python doesn't check for imports.
  2. A simpler stopgap measure is to add checks to the controller and an error message, so that if no data is received it gives an error something like "Connection to ipbenchd was terminated early; check ipbenchd debug output".
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

1 participant