Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stations tab causing "Internal Server Error"
#2
From the error it looks like there is a problem with the list of stations that activate the master valve.

The error "IndexError: list index out of range" of course means that Python is trying to read past the end of a list (array).
The list in question is the "mo": [] list which is in the sd.json file in the data directory. It looks like you have 16 stations (1 extension board) enabled. The "mo" list should have 2 entries e.g. "mo"[0, 0]. This list keeps track of the stations that enable the master.


If you look at the "'mo' entry in sd.json and don't see 2 elements in the list, try adding a second one.
You could also try setting the master to "none" in Options > Station Handling. That would eliminate the attempted read of the "mo" list but you would need to reset all the stations that enable the master when you re-select a master.

Another thing to check is the "nbrd" entry in sd.json. It should be;
 "nbrd": 2,
for 16 stations (number of expansion boards +1 for the base unit). If this has a higher number it could cause the IndexError but it would probably cause other problems as well.

Dan
Reply


Messages In This Thread
RE: Stations tab causing "Internal Server Error" - by dan - 2017 Apr 25, 03:36 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)