Closed SamuelMarsault closed 5 months ago
Please pointed us the script and the configuration of the operating environment you are using. Do you have a link ?
Please pointed us the script and the configuration of the operating environment you are using. Do you have a link ?
@ebocher you can access my script here : https://github.com/SamuelMarsault/noiseModelling_OSM/blob/dev/src/main/groovy/Import_GeoClimate_Data.groovy
You normally receive an invitation to collaborate.
The OS is windows 10 and "java --version" send me back :
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
As said before in the project I use groovy 4.0.17
I also tried 2 different ways of launching the program, the first being OSM.workflow(parameters)
and the second by using the command line :
String[] args = ["-w", "OSM", "-f", Paths.get(outputDirectory, "..", "workflow_parameters.json").toString(), "-l", "INFO"]
def cmd = new CommandLine(new Geoclimate())
int exitCode = cmd.execute(args)
The only difference between the 2 is that when I run the program from the command line, it shows me the entire execution of the program up to the error shown in the 1st comment, whereas when I run the workflow directly, I just see the name of the error.
Do you need any other information ?
Sorry but I'm not able to reproduce this issue.
toRowResult is an internal class of the groovy SQL module and this module is avaible in the dependency grovvy-all.
Hello, I have a program that uses geoclimate and I get this error:
I use OSM data and the code works normally when I run it in IntelliJ IDEA but as soon as I try to run my program from the command line by doing : java -jar .\project.jar ...
It starts fine, then after the Coastline layer is created, I get this error.
I'm currently using groovy 4.0.17 and java jdk 11.0.2 and maven for find geoclimate dependancies.
I tested with all versions of geoclimate available on sonatype and Maven Repository: 0.0.2-SNAPSHOT, 1.0.0, 1.0.0-SNAPSHOT, 1.0.1-SNAPSHOT and 1.0.2-SNAPSHOT and always the same error.
here is my configuration file :
Do you know how I can solve this problem?