Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 526

Help: Rainmeter Skins • Curious Issue--certain measure no display on one site only.

$
0
0
Hi. I have been testing my weather skin on various city locations across Canada, and all have been displaying correctly, apart from one particular location, at which the latitude and longitude do not display (just an empty display), in spite of the fact that the measures themselves do contain the correct data according to About Rainmeter. The skin is set to update once per second (Update=1000 in [Rainmeter]), and to read the site every five minutes, and has the following measures/meters (hope this is sufficient):

Code:

[msrSite]Measure=WebParserURL=#siteURL#UpdateRate=#siteUpdateRate#Flags=Resync | NoCookies;LogSubstringErrors=0StringIndex=1RegExp=#regexSite#FinishAction=[!EnableMeasureGroup Parents];Debug=2;Debug2File=debug.txt[msrSiteLocation]Group=ParentsMeasure=WebParserURL=[msrSite]StringIndex=1RegExp=#regexSiteLocation#FinishAction=[!EnableMeasureGroup Location]Disabled=1[msrLocationLat]Group=LocationMeasure=WebParserURL=[msrSiteLocation]StringIndex=1RegExp=#regexLocationLat#StringIndex2=1RegExpSubstitute=1Substitute=#CommonSubstitute#Disabled=1[msrLocationLong]Group=LocationMeasure=WebParserURL=[msrSiteLocation]StringIndex=1RegExp=#regexLocationLong#StringIndex2=1RegExpSubstitute=1Substitute=#CommonSubstitute#Disabled=1[mtrWeatherTitle]Meter=StringMeterStyle=styleTitleMeasureName=msrLocationCityMeasureName2=msrLocationRegionMeasureName3=msrLocationNameCodeMeasureName4=msrCurrentStationNameMeasureName5=msrCurrentStationLatMeasureName6=msrCurrentStationLongMeasureName7=msrCurrentDateZoneMeasureName8=msrCurrentDateOffsetDynamicVariables=1X=#skinCenterX#Y=#q3titlebarCenterY#W=(#skinWidth#-(#margin#*2)-(#titleIconWidth#*2)-8)H=#q3titlebarHeight#Text=%1ToolTipText="%1, [&msrMiscLua:Upper('[&msrLocationProvinceCode]')]#CRLF#%2#CRLF#Location Code:  %3#CRLF#Staion Code:  [&msrMiscLua:Upper('[&msrCurrentStationCode]')]#CRLF#Station:  %4#CRLF#Lat.:  %5  Long.:  %6#CRLF#Timezone:  %7 (%8)"ToolTipType=#QtipType#
At each tested location, all of the data displays correctly, with the exception that at Winnipeg (https://dd.weather.gc.ca/citypage_weather/xml/MB/s0000193_e.xml) the lat./long. do not display, while all of the remaining data does display correctly. The XML is formatted correctly, and the measures do have the correct data. This is the only location (of those I've tested) with this issue, and it has me completely stumped. :?

Also, I downloaded the XML, and when I set the skin to read from the downloaded file, as with other downloaded locations, the display is instant, unlike when reading live from the web which takes a little time; however the same problem still exists, so I don't think it is a timing issue.

If I copy the lat./long. strings from the measures in About Rainmeter and paste them into a text editor, I can detect no foreign characters; as far as I can tell they appear in every way to be correct.

Statistics: Posted by qwerky — Yesterday, 5:50 pm



Viewing all articles
Browse latest Browse all 526