Script error: ???globalScript.rhinoException(i18n_fr)???
-
Hello,
I have installed Mango (2.0.6) on a Debian server (6.0.7) with java 7u21.
The hardware is Microclient Sr (http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDMQFjAA&url=http%3A%2F%2Fwww.norhtec.com%2Fproducts%2Fmcsr%2F&ei=YfGwUarnLMjE7Aa7voGAAw&usg=AFQjCNHubg54Y6WzMhN9IDRkuabiiHvD9Q&bvm=bv.47534661,d.ZGU)I was able to setup a HTTP Retriever that gets values from counters from an IPX800 RTU (http://www.gce-electronics.com/fr/57-carte-8-relais-ethernet-ip-ipx800-v3.html);it works.
I want now to use a scripting datasource to do some calculation on this counters. I'm trying to calculate the power used every hours in kWh using the HTTP retreiver (DP_812785).
What ever I write in the script window and test I get the same error:???globalScript.rhinoException(i18n_fr)???
My debian install is in French. It looks like there is an internationalization issue but I don't really know where to look to solve the problem.
Thank you very much for your help
Here is an export of the scripting datasource:
{
"dataSources":[
{
"xid":"DS_221545",
"type":"SCRIPTING",
"alarmLevels":{
"SCRIPT_ERROR":"URGENT",
"DATA_TYPE_ERROR":"URGENT",
"LOG_ERROR":"URGENT"
},
"purgeType":"MONTHS",
"context":[
{
"dataPointXid":"DP_812785",
"varName":"p1"
}
],
"logLevel":"NONE",
"cronPattern":"0 0/15 * * * ?",
"executionDelaySeconds":0,
"script":"return p1.value;",
"enabled":true,
"name":"Elec_Month",
"purgeOverride":true,
"purgePeriod":2
}
]
}