From 839a4e8fa27f0ceb9672e9114751cd1c745a621d Mon Sep 17 00:00:00 2001 From: escolano Date: Fri, 26 Jun 2026 12:26:40 +0200 Subject: [PATCH] of kratos.xml optional, and must be set only once is known that a version break the back compatiblity with this kratos version (by default assume that is not break) --- kratos.gid/scripts/Utils.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kratos.gid/scripts/Utils.tcl b/kratos.gid/scripts/Utils.tcl index 374c3a9b0..db014218f 100644 --- a/kratos.gid/scripts/Utils.tcl +++ b/kratos.gid/scripts/Utils.tcl @@ -90,7 +90,7 @@ proc Kratos::WarnAboutMinimumRecommendedGiDVersion { } { W "Download it from: https://www.gidsimulation.com/gid-for-science/downloads/" } # Check GiD maximum version - if { [GidUtils::VersionCmp $kratos_private(MaximumGiDVersion)] > 0 } { + if { [info exists kratos_private(MaximumGiDVersion)] && [GidUtils::VersionCmp $kratos_private(MaximumGiDVersion)] > 0 } { W "Warning: kratos interface requires GiD $kratos_private(MaximumGiDVersion) or less." W "You may experience problems with the python packages" W "You can download it from: https://www.gidsimulation.com/gid-for-science/downloads/"