Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
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
}
]
}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login