-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If I have a dot in the fmu output, it seems like it cannot be parsed. E.g. something like: RmqFmu_r.fields.heater_on
, then I get:
15:47:46.316 [main] ERROR core.ScenarioLoader$ - Problem parsing connection string RmqFmu_r.fields.heater_on -> KalmanFilter_k.heater_on_in.
java.lang.IllegalArgumentException: Problem parsing connection string RmqFmu_r.fields.heater_on -> KalmanFilter_k.heater_on_in.
at core.ScenarioLoader$.assert(ScenarioLoader.scala:319)
at core.ScenarioLoader$.parseConnection(ScenarioLoader.scala:301)
at core.ScenarioLoader$.$anonfun$parse$15(ScenarioLoader.scala:264)
at scala.collection.immutable.List.map(List.scala:246)
at core.ScenarioLoader$.parse(ScenarioLoader.scala:264)
at core.ScenarioLoader$.parse(ScenarioLoader.scala:85)
at core.ScenarioLoader$.load(ScenarioLoader.scala:47)
at core.ScenarioLoader.load(ScenarioLoader.scala)
at org.intocps.maestro.plugin.MasterModelMapper$Companion.scenarioToMasterModel(MasterModelMapper.kt:39)
at org.intocps.maestro.cli.GenerateAlgorithmCmd.call(ScenarioVerifierCmd.java:163)
at org.intocps.maestro.cli.GenerateAlgorithmCmd.call(ScenarioVerifierCmd.java:148)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at org.intocps.maestro.Main.main(Main.java:19)
Traceback (most recent call last):
File "C:\Users\gita_\Desktop\development\dt-tutorial-incubator\scenario_verifier\scenario_verifier_test\execute_algorithm_rabbitmq_3D\test.py", line 48, in <module>
executeAlgorithm(False, utils.getMaestroJarPath())
File "C:\Users\gita_\Desktop\development\dt-tutorial-incubator\scenario_verifier\scenario_verifier_test\execute_algorithm_rabbitmq_3D\test.py", line 28, in executeAlgorithm
utils.testCliCommandWithFunc(cmd, func)
File "C:\Users\gita_\Desktop\development\dt-tutorial-incubator\scenario_verifier\scenario_verifier_test\execute_algorithm_rabbitmq_3D\..\utils.py", line 140, in testCliCommandWithFunc
raise Exception(f"Error executing {cmd}")
Exception: Error
The error message is a result of running the rabbitmq scenario for the dt tutorial. We worked around it for now by simplifying the names.
Metadata
Metadata
Assignees
Labels
No labels