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: 'N/' #13

Closed
mpilka opened this issue Mar 1, 2021 · 2 comments
Closed

ValueError: invalid literal for int() with base 10: 'N/' #13

mpilka opened this issue Mar 1, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@mpilka
Copy link

mpilka commented Mar 1, 2021

  • Ubuntu 20.04.1 LTS
  • SysMonTask_1.1.1_beta
sudo sysmontask
...
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 465, in updater
    self.gpuTabUpdate()
  File "/usr/lib/python3/dist-packages/sysmontask/gpu.py", line 369, in gpuUpdate
    self.gpuEncodingArray.append(int(gpuinfoRoot.find('gpu').find('utilization').find('encoder_util').text[:-1]))
ValueError: invalid literal for int() with base 10: 'N/'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sysmontask/gpu.py", line 179, in gpuencodingdrawarea_draw
    cr.line_to((i+1)*stepsize,scalingfactor*(100-self.gpuencodingArray[i+1]))
IndexError: list index out of range
@KrispyCamel4u
Copy link
Owner

Hi,
Thanks for reporting.
Can you share the output of the below command with me.

$ nvidia-smi -q -x    

It will help me to fix it better. Please let me know if you can do this.

@KrispyCamel4u KrispyCamel4u added the bug Something isn't working label Mar 10, 2021
@KrispyCamel4u
Copy link
Owner

Hey,
I have fixed the issue with a new release. Let me know about it after updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants