Code Monkey home page Code Monkey logo

Comments (9)

andre-merzky avatar andre-merzky commented on May 30, 2024 1

Looking a bit further, this seems to happen because I have a disabled nvidia card - nvidia-smi will not return any data in this case. You should check if any data are returned there...

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

from sysmon.

MatthiasSchinzel avatar MatthiasSchinzel commented on May 30, 2024

Thanks for the submission! I will add this, please give me a few moments!

from sysmon.

MatthiasSchinzel avatar MatthiasSchinzel commented on May 30, 2024

Please try again now!

from sysmon.

andre-merzky avatar andre-merzky commented on May 30, 2024

Looks good now - thanks! :-)

from sysmon.

rany2 avatar rany2 commented on May 30, 2024
user@debian~/D/s/src> python3 ./sysmon.py
Traceback (most recent call last):
  File "./sysmon.py", line 593, in <module>
    main()
  File "./sysmon.py", line 587, in main
    main = MainWindow()
  File "./sysmon.py", line 101, in __init__
    self.s = sysinfo()
  File "/home/user/Downloads/sysmon/src/gather_data.py", line 54, in __init__
    self.check_for_nvidia_smi()
  File "/home/user/Downloads/sysmon/src/gather_data.py", line 175, in check_for_nvidia_smi
    ps = str(subprocess.Popen(
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi'

from sysmon.

rany2 avatar rany2 commented on May 30, 2024

Could this issue be reopened? The latest commit breaks this application so it actually introduces another problem.

from sysmon.

MatthiasSchinzel avatar MatthiasSchinzel commented on May 30, 2024

Yes sure. Sorry, wrong indentation. Should be fixed now.

from sysmon.

rany2 avatar rany2 commented on May 30, 2024

I could confirm it's fixed. Thank you 😄

from sysmon.

MatthiasSchinzel avatar MatthiasSchinzel commented on May 30, 2024

Great, thanks!

from sysmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.