Menu

Missing dependency check for psutils

2022-06-23
2022-06-25
  • Aaron Albright

    Aaron Albright - 2022-06-23

    Version: PreRelease-GeigerLog-v1.4.0pre2

    OS: Ubuntu 22.04 LTS

    Error is produced in Terminal after device is connected and quick log is selected:

    Traceback (most recent call last):
    File "/home/aaron/geigerlog/ggeiger.py", line 2300, in runCheckCycle
    psutil.cpu_percent(),
    NameError: name 'psutil' is not defined
    Traceback (most recent call last):
    File "/home/aaron/geigerlog/ggeiger.py", line 2300, in runCheckCycle
    psutil.cpu_percent(),
    NameError: name 'psutil' is not defined
    Traceback (most recent call last):
    File "/home/aaron/geigerlog/ggeiger.py", line 2300, in runCheckCycle
    psutil.cpu_percent(),
    NameError: name 'psutil' is not defined
    Traceback (most recent call last):
    File "/home/aaron/geigerlog/ggeiger.py", line 2300, in runCheckCycle
    psutil.cpu_percent(),
    NameError: name 'psutil' is not defined

    Fix: sudo pip install psutil

    Expected: Dependency prompt to install 'psutil' using pip when executing ./geigerlog from terminal.

    Thanks.

    Aaron

     

    Last edit: Aaron Albright 2022-06-23
  • ullix

    ullix - 2022-06-23

    Please, use the official release GeigerLog 1.30. You find it in the Files section of the website:
    https://sourceforge.net/projects/geigerlog/files/

    Prereleases, as you are using, may be for special purposes and situations only. Thank you.

     
  • Aaron Albright

    Aaron Albright - 2022-06-24

    I don't mind testing pre-releases, perhaps it's an issue that the pre-release is the default sourceforge download?

     
  • ullix

    ullix - 2022-06-25

    I know. So far I have found no way of preventing Sourceforge blaring out this.

     

Anonymous
Anonymous

Add attachments
Cancel