Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template errors after upgrade to 4.8.3
#1
I upgraded to 4.8.3 tonight and I am getting this error when I try and open several of my templates in the viewer.

Interface template '\User\WHAudio\WHAudio_Base_Template' could not be loaded. Reason=The value written to variable GVar:CoolSliderValue exceeds the set variable limits

I am using this GVar in my Aprilaire 887 V1 templates. Interestingly I am not getting any errors when I open the Aprilaire template or when I use the cool slider.

I am little rusty so any help will be appreciated.

Below is how I use it.


[OnPress]
CoolSliderValueMaster::SetText(%(StdRTV:CurValue))
CoolSliderValueMaster::SetWidgetState(Normal)

[OnRelease]
GlobalVars::SetVariable(GVar:CoolSliderValueMaster, %(StdRTV:CurValue))

[OnDrag]
CoolSliderValueMaster::SetText(%(StdRTV:CurValue))

[OnSet]
Reply
#2
Somewhere presumably you are doing a CreateVariable to create that cool slider value variable and setting some limits on it? Is that the case? If so, I would guess that the value in StdRTV:CurValue is outside of that range.

Bring up the action trace window and make it happen and you can see the values of all of that stuff expanded out and see what is really going on.
Dean Roddey
Explorans limites defectum
Reply
#3
Below is the trace. I can't find where GVar:CoolSliderValue is being created.

I am curious why I was not getting this error on 4.5.14

----------------------------------------------------------
TRC: Start Action

Global Vars=
GVar:WHAudioPartySource=
GVar:WHAudioZone=
GVar:WHAudioArea=
GVar:SourceSelected=

CMD: 001. (253356ms) - Main_Overlay::LoadOverlay
P1=\User\WHAudio\WHAudio_Base_Template

----------------------------------------------------------
TRC: Start Action

Global Vars=
GVar:WHAudioPartySource=
GVar:WHAudioZone=
GVar:WHAudioArea=
GVar:SourceSelected=

CMD: 001. (21ms) - GlobalVars::SafeCreateVariable
P1=GVar:WHAudioArea
P2=String
P3=
P4=

CMD: 003. (0us) - GlobalVars::SafeCreateVariable
P1=GVar:WHAudioZone
P2=String
P3=
P4=

CMD: 005. (0us) - GlobalVars::SafeCreateVariable
P1=GVar:WHAudioPartySource
P2=String
P3=
P4=

TRC: End Action [Result=Success]
----------------------------------------------------------
TRC: Start Action

Global Vars=
GVar:WHAudioPartySource=
GVar:WHAudioZone=
GVar:WHAudioArea=
GVar:SourceSelected=

CMD: 001. (0us) - If Not GlobalVars::Exists
P1=GVar:CoolSliderValue

CMD: 002. (0us) - GlobalVars::CreateVariable
P1=GVar:CoolSliderValue
P2=Boolean
P3=
P4=70

TRC: End Action [Result=Failure]
Reply
#4
It's the very last command in the list above. You are setting the type to Boolean, but using it as a number and setting the initial value to 70. You should set it to a numeric type.

It's happening in the context of the first command which is loading an initial template into an overlay presumably on the base template.

You didn't get it before because it was an error that this incorrect usage wasn't being caught. That was later fixed so now it catches it.
Dean Roddey
Explorans limites defectum
Reply
#5
I found it! Thanks for the 2:00am customer service Dean!

Everything else seems OK. I had a little scare with my lighting but an on / off cycle of the Lutron processor solved the issue.

So hopefully I can make some headway changing my Aprilaire to V2.

I have had issues with the tstats locking up and then the A/C will stay in its last state (on or off) until I cycle the power for them.

Could V2 help or is this a Aprilaire issue?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to copy/paste command button on template Deane Johnson 1 842 04-17-2020, 02:18 PM
Last Post: Dean Roddey
  webriva template question lleo 21 11,340 01-08-2018, 08:53 AM
Last Post: Dean Roddey
  Win10 - Watch out on this latest upgrade kblagron 24 9,720 10-03-2016, 08:34 AM
Last Post: IVB
  Double Upgrade Advice? ControlFreak 1 1,918 06-26-2016, 10:12 AM
Last Post: Dean Roddey
  upgrade with WES 2009? ControlFreak 3 2,436 12-22-2015, 04:28 PM
Last Post: ControlFreak
  can i upgrade from 4.1 to 4.8 indygreg 39 10,730 12-17-2015, 05:15 PM
Last Post: Dean Roddey
  Need some details about OnPress/OnRelease in Upgrade mbrown 3 2,347 07-28-2015, 10:14 AM
Last Post: mbrown
  Template Editor Annonyances rsw686 13 6,417 05-17-2015, 05:55 PM
Last Post: Dean Roddey
  Template resizing Ron Haley 1 2,155 08-12-2014, 08:21 AM
Last Post: Dean Roddey
  template actions and passing a value to znelbok 5 3,855 02-20-2014, 05:02 AM
Last Post: wuench

Forum Jump:


Users browsing this thread: 1 Guest(s)