Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
duration_adj error in sip.py
#1
I have a number OSPi's at my ranch in Oregon (Hazelnut orchid).  After upgrading from version 2.2.51 to 3.1.25, I found the program would hang and not start sprinklers.  It seemed to be related to the controllers that had a master.  Anyway, after a bit of effort, I discovered an error on line 54 of sip.py:

<                                     gv.sd['wl'] / 100 * extra_adjustment
---
>                                     duration_adj = gv.sd['wl'] / 100 * extra_adjustment

Without the "duration_adj = " part, the program would hang when it tries to use an undefined value for duration_adj on line 55 .  Anyway, I've attached a patch file for those who are having this issue, and assume that someone will fix it in the source code.

Thanks,
-Chris
 ==============================
"Be happy while you're living, for you're a long time dead." -Scottish Proverb
Chris Heegard aka Gatomon
==============================
Reply


Messages In This Thread
duration_adj error in sip.py - by gatomon - 2015 Sep 07, 05:39 AM
RE: duration_adj error in sip.py - by dan - 2015 Sep 07, 03:18 PM
RE: duration_adj error in sip.py - by gatomon - 2015 Sep 07, 10:27 PM
RE: duration_adj error in sip.py - by dan - 2015 Sep 09, 05:30 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)