AttributeError when restarting a plugin

Python and python framework

Moderator: leecollings

Post Reply
User avatar
heggink
Posts: 978
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

AttributeError when restarting a plugin

Post by heggink »

Stopping and starting some plugins results in a python AttributeError. No line numbers (not available), no extra data. Any idea what might be causing this? It only happens with some plugins and it only happens when stopping and then starting that plugin (ie a domoticz restart won't give this error):

Code: Select all

Jun 16 10:11:31 domoticz domoticz: (LG-SmartThinq-AC) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/LG-SThinq-AC/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
Jun 16 10:11:31 domoticz domoticz: (SLK-Airco) Module Import failed, exception: 'AttributeError'
Jun 16 10:11:31 domoticz domoticz: (SLK-Airco) Error Line details not available.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
lbuijk
Posts: 4
Joined: Friday 14 July 2017 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: AttributeError when restarting a plugin

Post by lbuijk »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest