Giter Site home page Giter Site logo

ciscosecureendpointresourcemonitor's People

Contributors

mafranks avatar

Watchers

 avatar  avatar  avatar

ciscosecureendpointresourcemonitor's Issues

Crashing on process check

After about 20 minutes, program crashes after logging:

                logging.info("Pull sfc, cscm and orbital information from processes")

Need to add additional logging to determine the issue

Graceful check for pysimplegui

ModuleNotFoundError: No module named 'PySimpleGUI' when running py main.py without first pip installing pysimplegui.
might want to handle this, though i think long-term probably packaging into exe anyway so might not matter

Usage stats don't zero out

Take orbital as an example. Run with orbital checked, then stop, then run w/o orbital checked.
The last value of orbital remains. I'd expect these values to get zeroed out either upon stopping of the first test, or upon beginning the second test.

Orbital Query crashed the program

Ran an orbital query and the program crashed with this error:

Traceback (most recent call last):
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_common.py", line 447, in wrapper
    ret = self._cache[fun]
AttributeError: _cache

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 679, in wrapper
    return fun(self, *args, **kwargs)
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_common.py", line 450, in wrapper
    return fun(self)
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 766, in exe
    exe = cext.proc_exe(self.pid)
ProcessLookupError: [Errno 3] assume no such process (originated from psutil_pid_is_running -> 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\main.py", line 272, in <module>
    main(window)
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\main.py", line 224, in main
    if proc.name() == "sfc.exe":
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\__init__.py", line 617, in name
    name = self._proc.name()
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 750, in name
    return os.path.basename(self.exe())
  File "C:\Users\143CWC-01\PycharmProjects\AntivirusResourceMonitor\venv\lib\site-packages\psutil\_pswindows.py", line 681, in wrapper
    raise convert_oserror(err, pid=self.pid, name=self._name)
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=2428)

Process finished with exit code 1

Permission errors if run as User

When calculating disk usage, permission errors can be hit if the user doesn't have permission to read the file such as some .tmp files. Need to make an exception or change the functionality to account for this.

Admin user doesn't recognize button state

Functionality relies on reading Start and Stop button states but if you run the program as Admin, this is not recognized. Need to change this functionality to a variable.

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.