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
I am trying to export a world with the Cubic Chunks Map Format using the WorldPainter Scripting API.
Inside the GUI, I can export the map without any problems, but when I try to open the map inside the script and export the map, I got the following error message:
[ERROR] IllegalArgumentException occurred while executing script.js java.lang.IllegalArgumentException: Unsupported platform Cubic Chunks (1.10.2 - 1.12.2) at org.pepsoft.worldpainter.exporting.JavaWorldExporter.<init>(JavaWorldExporter.java:46) at org.pepsoft.worldpainter.tools.scripts.ExportWorldOp.go(ExportWorldOp.java:81) at org.pepsoft.worldpainter.tools.scripts.ExportWorldOp.go(ExportWorldOp.java:38) at jdk.nashorn.internal.scripts.Script$Recompilation$2$wpscript.:program$:split-1(wpscript.js:1161) at jdk.nashorn.internal.scripts.Script$wpscript.:program(wpscript.js) at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637) at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494) at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402) at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249) at org.pepsoft.worldpainter.tools.ScriptingTool.main(ScriptingTool.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
I am not sure if this is a general WorldPainter problem (like the scripting API completly ignores plugins) or if this is a problem with this plugin itself.
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to export a world with the Cubic Chunks Map Format using the WorldPainter Scripting API.
Inside the GUI, I can export the map without any problems, but when I try to open the map inside the script and export the map, I got the following error message:
[ERROR] IllegalArgumentException occurred while executing script.js java.lang.IllegalArgumentException: Unsupported platform Cubic Chunks (1.10.2 - 1.12.2) at org.pepsoft.worldpainter.exporting.JavaWorldExporter.<init>(JavaWorldExporter.java:46) at org.pepsoft.worldpainter.tools.scripts.ExportWorldOp.go(ExportWorldOp.java:81) at org.pepsoft.worldpainter.tools.scripts.ExportWorldOp.go(ExportWorldOp.java:38) at jdk.nashorn.internal.scripts.Script$Recompilation$2$wpscript.:program$:split-1(wpscript.js:1161) at jdk.nashorn.internal.scripts.Script$wpscript.:program(wpscript.js) at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637) at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494) at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402) at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249) at org.pepsoft.worldpainter.tools.ScriptingTool.main(ScriptingTool.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
I am not sure if this is a general WorldPainter problem (like the scripting API completly ignores plugins) or if this is a problem with this plugin itself.
The text was updated successfully, but these errors were encountered: