GET
DEBUG: (03:14:22.829) WebParser.dll: Fetching: http://fx-rate.net/CAD/
ERROR: (03:14:22.829) Calc: #Extra operation! in [MeasureEQUIV]
ERROR: (03:14:23.829) Calc: #Extra operation! in [MeasureCAD]
ERROR: (03:14:23.829) Calc: #Extra operation! in [MeasureEQUIV]
code is
[LoadCAD]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#UrL3#
RegExp=#RegExp3#
NumOfDecimals=2
StringIndex=2
[MeasureCAD]
Measure=Calc
Formula=1/[LoadCAD]
DynamicVariables=1
[MeasureBUF]
Measure=Calc
Formula=[LoadBuff]
DynamicVariables=1
[MeasureEQUIV]
Measure=Calc
Formula=[MeasureBUF]/(3.78*[LoadCAD])
DynamicVariables=1
CALC work fine and result is correct.
It is currently March 29th, 2024, 5:13 am
Calc: #Extra operation! in [Measure]
-
- Posts: 12
- Joined: June 10th, 2012, 12:08 pm
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: Calc: #Extra operation! in [Measure]
The problem is that when the calc measures are loaded into memory, the value of the LoadCAD measure is 0. When the MeasureCAD measure tries to do 1/0, that is where you get the error.
If you switch that formula to Formula=1/([LoadCAD]=0?1:[LoadCad]) that should get rid of the error.
Similarly for MeasureEQUIV, Formula=[MeasureBUF]/(3.78*([LoadCAD]=0?1:[LoadCad]))
If you switch that formula to Formula=1/([LoadCAD]=0?1:[LoadCad]) that should get rid of the error.
Similarly for MeasureEQUIV, Formula=[MeasureBUF]/(3.78*([LoadCAD]=0?1:[LoadCad]))
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Rainmeter Sage
- Posts: 276
- Joined: February 17th, 2014, 12:39 pm
- Location: Hungary
Re: Calc: #Extra operation! in [Measure]
Greetings, i've got a similar error, but i have a very simple Calc measure, and i don't have a clue why do i get this error:
Calc: Extra Operation
The skin works without a problem, just this error in the log bugging me.
I appretiate any help!
Calc: Extra Operation
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
PozY=-90
I=[!UpdateMeasureGroup Srx][!UpdateMeterGroup Sry][!Redraw]
[MeasureWebParser]
Measure=Plugin
Plugin=WebParser
Url=https://www.rainmeter.net
RegExp=(?siU)<h2>Download.*/v(.*)/
UpdateRate=5000
OnUpdateAction=[!UpdateMeasure "MesCheckParser"]#I#
RegExpSubstitute=1
[MesCheckParser]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWebParser]
Substitute=".":""
StringIndex=1
DynamicVariables=1
UpdateDivider=-1
OnUpdateAction=[!SetVariable DatTmp "[MesCheckParser]"]
[StartUp]
Measure=Calc
Formula=#DatTmp# > ProgVer?1:0
I appretiate any help!
-
- Posts: 826
- Joined: November 20th, 2012, 11:58 pm
-
- Rainmeter Sage
- Posts: 276
- Joined: February 17th, 2014, 12:39 pm
- Location: Hungary
Re: Calc: #Extra operation! in [Measure]
Thank you very much!!FreeRaider wrote:Have a look at https://forum.rainmeter.net/viewtopic.php?p=119130#p119130
-
- Posts: 76
- Joined: January 8th, 2017, 2:31 am
- Location: Charlotte, NC
Re: Calc: #Extra operation! in [Measure]
Thank You!!FreeRaider wrote:Have a look at https://forum.rainmeter.net/viewtopic.php?p=119130#p119130