Jump to content

Error Purging Old Elements


glarsen

Recommended Posts

Posted (edited)

Hi Jim, I'm seeing this error on "Purge Execute" when updating elements on my Harmony Hub.

2023-11-25 10:30:56,006 Command    udi_interface      WARNING  Controller:purge:  Deleting Activity for "Media Room Hub" that is no longer used a45241859 "Watch Fire TV"
2023-11-25 10:30:56,006 Command    udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-11-25 10:30:56,006 Command    udi_interface.interface ERROR    interface:_handleInput: _parseInput: failed harmonyctrl.runCmd(PURGE_EXECUTE) 'Controller' object has no attribute 'controller'
Traceback (most recent call last):
  File "/var/polyglot/pg3/ns/0021b902628f_12/.local/lib/python3.9/site-packages/udi_interface/interface.py", line 960, in _handleInput
    self.nodes_internal[item['address']].runCmd(item)
  File "/var/polyglot/pg3/ns/0021b902628f_12/.local/lib/python3.9/site-packages/udi_interface/node.py", line 172, in runCmd
    fun(self, command)
  File "/var/polyglot/pg3/ns/0021b902628f_12/nodes/Controller.py", line 642, in _cmd_purge_execute
    self.purge(do_delete=True)
  File "/var/polyglot/pg3/ns/0021b902628f_12/nodes/Controller.py", line 499, in purge
    self.controller.poly.delNode(address)
AttributeError: 'Controller' object has no attribute 'controller'
2023-11-25 10:30:56,029 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-11-25 10:30:56,113 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices

The purge fails, though the plugin remains running.

Edit:

It does appear that manually deleting the affected nodes does work though.

Edited by glarsen
Add info
Guest
This topic is now closed to further replies.

×
×
  • Create New...