"object has no attribute" error #665
Unanswered
tompayne36
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi! Sorry you've having problems. This is actually useful, as I've seen that error intermittently myself before but not managed to reproduce it to debug it. Would you be able to share your Edit: Looking at the code, I think this is actually a different error to my intermittent one; I think you're missing the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to get simplemonitor to work on my Raspberry Pi but am getting an "object has no attribute" error. I have tried to do this on an Ubuntu image on AWS EC2 but get the identical error. I believe I am using the latest "git clone" and have installed the "arrow" package (my first error).
I am new to python on linux (and github), so apologize if this is a noob question.
========
ubuntu@ip-172-31-53-23:
$ cd simplemonitor//simplemonitor$ python3 monitor.pyubuntu@ip-172-31-53-23:
Traceback (most recent call last):
File "monitor.py", line 1, in
from simplemonitor import monitor
File "/home/ubuntu/simplemonitor/simplemonitor/monitor.py", line 10, in
from .simplemonitor import SimpleMonitor
File "/home/ubuntu/simplemonitor/simplemonitor/simplemonitor.py", line 15, in
from .Alerters.alerter import Alerter
File "/home/ubuntu/simplemonitor/simplemonitor/Alerters/init.py", line 5, in
from .bulksms import BulkSMSAlerter
File "/home/ubuntu/simplemonitor/simplemonitor/Alerters/bulksms.py", line 7, in
from ..Monitors.monitor import Monitor
File "/home/ubuntu/simplemonitor/simplemonitor/Monitors/init.py", line 23, in
from .service import (
File "/home/ubuntu/simplemonitor/simplemonitor/Monitors/service.py", line 346, in
class MonitorProcess(Monitor):
File "/home/ubuntu/simplemonitor/simplemonitor/Monitors/service.py", line 376, in MonitorProcess
) -> List[psutil.Process]:
AttributeError: 'NoneType' object has no attribute 'Process'
ubuntu@ip-172-31-53-23:~/simplemonitor$
Beta Was this translation helpful? Give feedback.
All reactions