Skip to content

[ERROR] RuntimeException occurred while executing wpscript.js when exporting images #1

@imide

Description

@imide

Currently generating an earth map on Debian 12. Following everything on the README. Full error log:



2024-02-18 21:23:55,768 - INFO - wpscript - minutor for S37W177 output:
2024-02-18 21:23:55,768 - ERROR - wpscript - minutor for S37W177 error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::begin: Paint device returned engine == 0, type: 3

2024-02-18 21:23:55,768 - INFO - wpscript - WorldPainter for S37W177 done
2024-02-18 21:23:56,098 - INFO - wpscript - WorldPainter for N23W177...
2024-02-18 21:23:56,321 - INFO - wpscript - WorldPainter for S34W177 output: images imported
[ERROR] RuntimeException occurred while executing wpscript.js
java.lang.RuntimeException: org.pepsoft.worldpainter.tools.scripts.ScriptException: File /workspace/Data/image_exports/S34W177/heightmap/S34W177.png not found
        at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:524)
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:442)
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399)
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395)
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:146)
        at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
        at org.pepsoft.worldpainter.tools.ScriptingTool.main(ScriptingTool.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
        at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:69)
        at install4j.org.pepsoft.worldpainter.tools.ScriptingTool.main(Unknown Source)
Caused by: org.pepsoft.worldpainter.tools.scripts.ScriptException: File /workspace/Data/image_exports/S34W177/heightmap/S34W177.png not found
        at org.pepsoft.worldpainter.tools.scripts.AbstractOperation.sanityCheckFileName(AbstractOperation.java:48)
        at org.pepsoft.worldpainter.tools.scripts.GetHeightMapOp.go(GetHeightMapOp.java:71)
        at org.pepsoft.worldpainter.tools.scripts.GetHeightMapOp.go(GetHeightMapOp.java:39)
        at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2$268435453A$wpscript.:program$:split-6(wpscript.js:602)
        at org.openjdk.nashorn.internal.scripts.Script$wpscript.:program(wpscript.js)
        at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
        at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
        at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
        ... 13 common frames omitted

2024-02-18 21:23:56,321 - ERROR - wpscript - WorldPainter for S34W177 error: WorldPainter scripting host version 2.21.0.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions