-
Notifications
You must be signed in to change notification settings - Fork 1
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
Object has no attribute 'Name' #2
Comments
Got the same error, looked a bit into the Python code but couldn't get it fixed |
I have the same problem, I don't know what to do more ! Please, Help !! |
Can you post the details of the parameters you have set in the Hardware tab? |
Settings are as follows: The behaviour differs depending on the addresses I enter. If needed I can do some more detailed test tomorrow |
Mine are as follows: The behaviour is: Version of Python installed:
Tell me if you need some more. |
One more thing: if I try to remove the Pinger from the hardware, Domoticz crash !!! I have to delete the folder from plugin, restart Domoticz and then I'm able to remove the Pinger without problem |
I am seeing the exact same error: 2019-07-09 16:28:38.379 (Is it alive) Update 1:'On' (Is it alive - 10.50.164.5) |
The No Name part was easy to fix by adding it to the class IcmpDevice... The Disconnect however is a bigger challenge, it is as if Domoticz is not exporting that function, even though it is defined in PythonObjects... Not using Disconnect() seems to heap the listeners on top of eachother, causing many concurrent listeners doing concurrent changes... It gets messy after a while! |
Yeah, gave up on this (even though it is based on an official example, it doesn't work well) despite fixing the Name and Disconnect attribute missing issues. |
(PS: If the Is Alive 'hardware' built in to Domoticz just worked, not even that would have been necessary, but it doesn't...) |
Has this ever been resolved? It's still generating these errors. Thanks |
Same here. Domoticz 2020.2, it has crashed several time my Domoticz instance (running on Raspbian Buster) and it shows a ping device with cumulative values, and the same error message : |
On my (test setup) Raspberry PI - Stretch, fully updated running Domoticz latest beta I get the following errors in the log upon installing the Pinger plugin. Any idea what I`m doing wrong?
Thanks, Mark
<2018-08-02 19:19:26.329 (Ping) Update 0:'' (Ping - 192.168.2.215)
2018-08-02 19:19:26.331 (Ping) Update 0:'' (Ping - 192.168.2.215)
2018-08-02 19:19:26.137 Status: (Ping) Started.
2018-08-02 19:19:26.324 Status: (Ping) Entering work loop.
2018-08-02 19:19:26.324 Status: (Ping) Initialized version 3.1.3, author 'dnpwwo'
2018-08-02 19:19:35.901 (Ping) Update 1:'On' (Ping - 192.168.2.215)
2018-08-02 19:19:35.903 (Ping) Update 1:'1' (Ping - 192.168.2.215)
2018-08-02 19:19:45.871 Error: (Ping) 'onHeartbeat' failed 'AttributeError':''IcmpDevice' object has no attribute 'Name''.
2018-08-02 19:19:45.871 Error: (Ping) ----> Line 187 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:19:45.871 Error: (Ping) ----> Line 155 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:19:55.838 Error: (Ping) 'onHeartbeat' failed 'AttributeError':''IcmpDevice' object has no attribute 'Name''.
2018-08-02 19:19:55.838 Error: (Ping) ----> Line 187 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:19:55.838 Error: (Ping) ----> Line 155 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:20:05.854 Error: (Ping) 'onHeartbeat' failed 'AttributeError':''IcmpDevice' object has no attribute 'Name''.
2018-08-02 19:20:05.855 Error: (Ping) ----> Line 187 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:20:05.855 Error: (Ping) ----> Line 155 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:20:15.870 Error: (Ping) 'onHeartbeat' failed 'AttributeError':''IcmpDevice' object has no attribute 'Name''.
2018-08-02 19:20:15.870 Error: (Ping) ----> Line 187 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:20:15.870 Error: (Ping) ----> Line 155 in '/home/pi/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-08-02 19:20:24.983 Status: (Ping) Stop directive received.
2018-08-02 19:20:25.333 Status: (Ping) Exiting work loop.
2018-08-02 19:20:55.005 Status: (Ping) Stopping threads.
2018-08-02 19:20:55.006 Status: (Ping) Stopped. >
The text was updated successfully, but these errors were encountered: