It is currently April 27th, 2024, 7:23 pm

[BUG] Invalid Format in Time Measure using r1602

Report bugs with the Rainmeter application and suggest features.
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

[BUG] Invalid Format in Time Measure using r1602

Post by KreAch3R »

I found a minor bug that appears in r1602 (I'm using this version because JSMorley and I wanted to test if the latest changes in the r/R field would break my skin):



This error is produced only in r1602. Going back to r1598 solves it:



The Clock.ini relevant code:

Code: Select all

[mDate]
Measure=TIME
Format="%a, %#d %b '%y"

[Date]
Meter=STRING
MeasureName=m#CURRENTSECTION#
FontColor=#PrimaryColor#AA
FontSize=9
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontFace=#Font#
StringAlign=CENTER
X=70
Y=90
AntiAlias=1
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: [BUG] Invalid Format in Time Measure using r1602

Post by Kaelri »

Interestingly, the error is only logged when the measure is bound to a meter. (I tried reproducing this earlier without a meter, and couldn't.)

Also, if the measure starts with Disabled=1, the error is logged twice on load, then once per update until an !EnableMeasure is sent. This makes me think the problem is related to 0e01961, though I'm not sure how.

This does not happen with the Format setting in Uptime. I don't know of any other measure that uses the same Format function as Time, so I'm not sure what else might be affected.
User avatar
spx
Developer
Posts: 686
Joined: August 15th, 2009, 2:41 pm
Location: Osaka, JPN

Re: [BUG] Invalid Format in Time Measure using r1602

Post by spx »

Thank you for the report. I'll fix it soon. :)
User avatar
spx
Developer
Posts: 686
Joined: August 15th, 2009, 2:41 pm
Location: Osaka, JPN

Re: [BUG] Invalid Format in Time Measure using r1602

Post by spx »

Fixed in r1603-7e627cf.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [BUG] Invalid Format in Time Measure using r1602

Post by jsmorley »

spx wrote:Fixed in r1603-7e627cf.
Thanks very much spx!

KreAch3R, here is a build. Can you ensure it fixes your issue?

http://dl.dropbox.com/u/4991063/Rainmeter/Build/Rainmeter-2.4-r1603-beta.exe
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

Re: [BUG] Invalid Format in Time Measure using r1602

Post by KreAch3R »

jsmorley wrote: KreAch3R, here is a build. Can you ensure it fixes your issue?

http://dl.dropbox.com/u/4991063/Rainmeter/Build/Rainmeter-2.4-r1603-beta.exe
It does. Thanks everyone. :)
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image