You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
When executing this:
./bin/batchrefine.sh -e embedded /paht/to/test.csv /path/to/test.json
with these files:
test.csv:
"Sort Order","Common Name","Formal Name","Type","Sub Type","Sovereignty","Capital","ISO 4217 Currency Code","ISO 4217 Currency Name","ITU-T Telephone Code","ISO 3166-1 2 Letter Code","ISO 3166-1 3 Letter Code","ISO 3166-1 Number","IANA Country Code TLD"
"1","Afghanistan","Islamic State of Afghanistan","Independent State",,,"Kabul","AFN","Afghani","+93","AF","AFG","004",".af"
test.json:
[
{
"op": "core/text-transform",
"description": "Text transform on cells in column Formal Name using expression grel:value.replace("d", "c")",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"columnName": "Formal Name",
"expression": "grel:value.replace("d", "c")",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
}
]
I get this error:
20:05:05.558 [..ded.TransformEngineImpl] Error running controller script. (0ms)
org.mozilla.javascript.EcmaError: ReferenceError: "registerOperations" is not defined. (unnamed script#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1692)
at org.mozilla.javascript.gen.c4._c0(unnamed script:1)
at org.mozilla.javascript.gen.c4.call(unnamed script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c4.call(unnamed script)
at org.mozilla.javascript.gen.c4.exec(unnamed script)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModule(TransformEngineImpl.java:262)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModules(TransformEngineImpl.java:221)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.init(TransformEngineImpl.java:68)
at eu.spaziodati.batchrefine.cli.BatchRefine.batchEngine(BatchRefine.java:150)
at eu.spaziodati.batchrefine.cli.BatchRefine._main(BatchRefine.java:95)
at eu.spaziodati.batchrefine.cli.BatchRefine.main(BatchRefine.java:192)
20:05:05.564 [..ded.TransformEngineImpl] Error running controller script. (6ms)
org.mozilla.javascript.EcmaError: ReferenceError: "registerExporters" is not defined. (unnamed script#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1692)
at org.mozilla.javascript.gen.c5._c0(unnamed script:1)
at org.mozilla.javascript.gen.c5.call(unnamed script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c5.call(unnamed script)
at org.mozilla.javascript.gen.c5.exec(unnamed script)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModule(TransformEngineImpl.java:262)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModules(TransformEngineImpl.java:221)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.init(TransformEngineImpl.java:68)
at eu.spaziodati.batchrefine.cli.BatchRefine.batchEngine(BatchRefine.java:150)
at eu.spaziodati.batchrefine.cli.BatchRefine._main(BatchRefine.java:95)
at eu.spaziodati.batchrefine.cli.BatchRefine.main(BatchRefine.java:192)
Sort Order,Common Name,Formal Name,Type,Sub Type,Sovereignty,Capital,ISO 4217 Currency Code,ISO 4217 Currency Name,ITU-T Telephone Code,ISO 3166-1 2 Letter Code,ISO 3166-1 3 Letter Code,ISO 3166-1 Number,IANA Country Code TLD
1,Afghanistan,Islamic State of Afghanistan,Independent State,,,Kabul,AFN,Afghani,+93,AF,AFG,004,.af
The text was updated successfully, but these errors were encountered:
When executing this:
./bin/batchrefine.sh -e embedded /paht/to/test.csv /path/to/test.json
with these files:
test.csv:
"Sort Order","Common Name","Formal Name","Type","Sub Type","Sovereignty","Capital","ISO 4217 Currency Code","ISO 4217 Currency Name","ITU-T Telephone Code","ISO 3166-1 2 Letter Code","ISO 3166-1 3 Letter Code","ISO 3166-1 Number","IANA Country Code TLD"
"1","Afghanistan","Islamic State of Afghanistan","Independent State",,,"Kabul","AFN","Afghani","+93","AF","AFG","004",".af"
test.json:
[
{
"op": "core/text-transform",
"description": "Text transform on cells in column Formal Name using expression grel:value.replace("d", "c")",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"columnName": "Formal Name",
"expression": "grel:value.replace("d", "c")",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
}
]
I get this error:
20:05:05.558 [..ded.TransformEngineImpl] Error running controller script. (0ms)
org.mozilla.javascript.EcmaError: ReferenceError: "registerOperations" is not defined. (unnamed script#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1692)
at org.mozilla.javascript.gen.c4._c0(unnamed script:1)
at org.mozilla.javascript.gen.c4.call(unnamed script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c4.call(unnamed script)
at org.mozilla.javascript.gen.c4.exec(unnamed script)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModule(TransformEngineImpl.java:262)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModules(TransformEngineImpl.java:221)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.init(TransformEngineImpl.java:68)
at eu.spaziodati.batchrefine.cli.BatchRefine.batchEngine(BatchRefine.java:150)
at eu.spaziodati.batchrefine.cli.BatchRefine._main(BatchRefine.java:95)
at eu.spaziodati.batchrefine.cli.BatchRefine.main(BatchRefine.java:192)
20:05:05.564 [..ded.TransformEngineImpl] Error running controller script. (6ms)
org.mozilla.javascript.EcmaError: ReferenceError: "registerExporters" is not defined. (unnamed script#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3717)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1692)
at org.mozilla.javascript.gen.c5._c0(unnamed script:1)
at org.mozilla.javascript.gen.c5.call(unnamed script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c5.call(unnamed script)
at org.mozilla.javascript.gen.c5.exec(unnamed script)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModule(TransformEngineImpl.java:262)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.loadModules(TransformEngineImpl.java:221)
at eu.spaziodati.batchrefine.core.embedded.TransformEngineImpl.init(TransformEngineImpl.java:68)
at eu.spaziodati.batchrefine.cli.BatchRefine.batchEngine(BatchRefine.java:150)
at eu.spaziodati.batchrefine.cli.BatchRefine._main(BatchRefine.java:95)
at eu.spaziodati.batchrefine.cli.BatchRefine.main(BatchRefine.java:192)
Sort Order,Common Name,Formal Name,Type,Sub Type,Sovereignty,Capital,ISO 4217 Currency Code,ISO 4217 Currency Name,ITU-T Telephone Code,ISO 3166-1 2 Letter Code,ISO 3166-1 3 Letter Code,ISO 3166-1 Number,IANA Country Code TLD
1,Afghanistan,Islamic State of Afghanistan,Independent State,,,Kabul,AFN,Afghani,+93,AF,AFG,004,.af
The text was updated successfully, but these errors were encountered: