label locks up sometimes :/ Thread last updated on 2003-11-12 19:41:01

Posted by member 51749 on 2003-11-10 23:20:37

hey there.

after i update a set of custom evars, then issue !reload and !labelnameRefresh, my label vanishes. then on recycle, litestep locks up. very annoying. any idea whats causing this? name any details you may need and ill provide them.

Posted by member 7223 on 2003-11-11 01:00:39 link

label version ?
what "custom evars" did you update ?
settings for labelname
etc...

Posted by member 51749 on 2003-11-11 11:15:39 link

Label 1.98
evars include Temperature, Conditions, Wind, Barometer, RainChance, CondImg.

and well, heres the label part of my .rc

Labels gwback, gwtxt, gwimg, gwSat, gwIso, gwRad, gwUpdate, gwleft, gwright

;Replace with whatever background works with your theme (batteries not included).
gwbackY 2
gwbackX 1020
gwbackwidth 260
gwbackheight 56
gwbackimage $ThemeDir$images\tron\bar\weatherdeskback.png
;gwbackOnMouseEnter !SatImgShow
;gwbackOnMouseLeave !SatImgHide

;Text for the label - replace with anything you like.
gwtxtY 4
gwtxtX 1070
gwtxtWidth 200
gwtxtHeight 52
gwtxtJustify Left
gwtxtText "Conditions: $Conditions$\nTemperature: $Temperature$\nWind: $Wind$\nPressure: $Barometer$\nChance of Rain: $RainChance$"
gwtxtOnMouseEnter !SatImgShow
gwtxtOnMouseLeave !SatImgHide

;GetWeatherImage - mess with the placement, but dont touch the var.
gwimgY 10
gwimgX 1030
gwimgWidth 35
gwimgHeight 30
gwimgImage $WX1CondImage$

gwSatY 60
gwSatX -440
gwSatWidth 440
gwSatHeight 297
gwSatStartHidden
gwSatAlwaysOnTop
gwSatImage $SatImg$

gwIsoY 60
gwIsoX -410
gwIsoWidth 410
gwIsoHeight 287
gwIsoStartHidden
gwIsoAlwaysOnTop
gwIsoImage $IsoImg$

gwRadY 60
gwRadX -240
gwRadWidth 240
gwRadHeight 240
gwRadStartHidden
gwRadAlwaysOnTop
gwRadImage $RadImg$

gwleftY 45
gwleftX 1028
gwleftWidth 9
gwleftHeight 9
gwleftOnLeftClick !prevImg
gwleftJustify Center
gwleftText ""

Posted by member 51749 on 2003-11-11 11:16:58 link

oh, and you should probably be aware of these
*script bang !GetWeather
*script exec wscript $WeatherScript$
*script exec !TimerReset gwt
*script ~bang

*script bang !UpdateWeather
*script exec !reload
*script exec !gwtxtRefresh
*script exec !gwimgRefresh
*script exec !gwSatRefresh
*script exec !gwIsoRefresh
*script exec !gwRadRefresh
*script ~bang

*script start !varSet currentImg "1"

;------------------------------------------------------------------------------
*script bang !nextImg
*script GotoIf ( "%[currentImg]" = "1" ) set2
*script GotoIf ( "%[currentImg]" = "2" ) set3
*script GotoIf ( "%[currentImg]" = "3" ) set1

*script Label set1
*script exec !varset currentImg "1"
*script Goto Imgupdate

*script Label set2
*script exec !varset currentImg "2"
*script Goto Imgupdate

*script Label set3
*script exec !varset currentImg "3"

*script Label ImgUpdate
*script exec !UpdateWeather
*script ~bang
;------------------------------------------------------------------------------
*script bang !prevImg
*script GotoIf ( "%[currentImg]" = "1" ) set3
*script GotoIf ( "%[currentImg]" = "2" ) set1
*script GotoIf ( "%[currentImg]" = "3" ) set2

*script Label set1
*script exec !varset currentImg "1"
*script Goto Imgupdate

*script Label set2
*script exec !varset currentImg "2"
*script Goto Imgupdate

*script Label set3
*script exec !varset currentImg "3"

*script Label ImgUpdate
*script exec !UpdateWeather
*script ~bang
;------------------------------------------------------------------------------
*script bang !SatImgShow
*script exec !ifEq currentImg "1" |gwSatShow
*script exec !ifEq currentImg "2" |gwIsoShow
*script exec !ifEq currentImg "3" |gwRadShow
*script ~bang

*script bang !SatImgHide
*script exec !gwSatHide
*script exec !gwIsoHide
*script exec !gwRadHide
*script ~bang

*script bang !CheckCon
*script exec !Connected [!GetWeather][.none]
*script ~bang

Posted by member 51749 on 2003-11-12 15:03:46 link

hmmm i think ive found the problem...im using Dark.Space by fractal.designer (tho ive added stuff to it obviously), and everything works fine, until i click the button which unhides the winamp song display label. after that, my weather label locks up. the amp monitor is currently geekamp...would another amp monitor module correct this?

Posted by member 51749 on 2003-11-12 15:08:46 link

correction!
unhiding any label that has dynamic content locks me up!
help!

Posted by member 182 on 2003-11-12 19:41:01 link

label 1.99 seems fine here with dynamic content.

that is of course, if you count animating text in a label via !setlabeltext as dynamic ;]