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 #277

Closed
Commaster opened this issue Dec 14, 2021 · 3 comments · Fixed by #280
Closed

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

Commaster opened this issue Dec 14, 2021 · 3 comments · Fixed by #280

Comments

@Commaster
Copy link

The last line of _utils.py spits out this error.

Traceback (most recent call last):
  File ".../bin/fil-profile", line 8, in <module>
    sys.exit(stage_1())
  File ".../filprofiler/_script.py", line 201, in stage_1
    if glibc_version() >= (2, 30) and exists(LD_LINUX):
  File ".../filprofiler/_utils.py", line 25, in glibc_version
    return tuple(map(int, get_libc_version().split(b".")[:2]))
ValueError: invalid literal for int() with base 10: b'20-2014'

Checking the value of get_libc_version() manually returns b'2.20-2014.11' (This is a NAS)

Should the .split include - as well?

itamarst added a commit that referenced this issue Dec 15, 2021
@itamarst
Copy link
Collaborator

Oops. Will try to get fix out today.

What're you trying to profile on your NAS, if I can ask?

@itamarst
Copy link
Collaborator

Release 2021.12.2 should be out in a few minutes.

@Commaster
Copy link
Author

Oops. Will try to get fix out today.

What're you trying to profile on your NAS, if I can ask?

Parsing a large data set that I can't fit on my PC, which sometimes allocates 5 times more memory (with results) than expected. And the network isn't fast enough to access the data remotely.

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

Successfully merging a pull request may close this issue.

2 participants