Unable to find Mode ID [25]. Mode does not exist

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
derek
Member
Posts: 31
Joined: Sat Jun 05, 2004 6:54 am
Location: Hobart, Tasmania, Australia

Unable to find Mode ID [25]. Mode does not exist

Post by derek »

I receive this message in Housebot status line.



Unable to find Mode ID [25]. Mode does not exist



There is no mode ID 25 in any of the database tables.

Any idea where it is coming from?

What do I search for in a theme XML file to find any reference to mode ID 25.



The message dosen't cause any problems with Housebot operations but I am sick of looking at it.



Help would be appreciated.

Thanks.
ScottBot
Site Admin
Posts: 2806
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

It is probably coming from a Software Remote. Theme XML files don't have referential integrity with the main HB database. So if you delete something (like a Mode) from HouseBot and it is still referenced in the Theme, it gets orphaned.



I would suggest looking through whatever Theme(s) you are using in any active Software Remotes for a reference to the Mode. You may need to look through the Theme XML file manually to find and delete it. Look for a "Button" element that contains M_ID="25" as an attribute and just delete the line.
Scott
Post Reply