You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2023/01/04 08:21:43 UTC
[plc4x] branch develop updated: fix(plc4py): Add direct output of python --version during prereq check, troubleshooting
This is an automated email from the ASF dual-hosted git repository.
hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new d867414f8d fix(plc4py): Add direct output of python --version during prereq check, troubleshooting
d867414f8d is described below
commit d867414f8d9a6de7a0ea130e500b3cd381d47cd6
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Wed Jan 4 09:19:03 2023 +0100
fix(plc4py): Add direct output of python --version during prereq check, troubleshooting
---
src/main/script/prerequisiteCheck.groovy | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/script/prerequisiteCheck.groovy b/src/main/script/prerequisiteCheck.groovy
index 4442837125..b7a3990e6f 100644
--- a/src/main/script/prerequisiteCheck.groovy
+++ b/src/main/script/prerequisiteCheck.groovy
@@ -190,6 +190,7 @@ def checkPython() {
process.consumeProcessOutput(stdOut, stdErr)
process.waitForOrKill(5000)
Matcher matcher = extractVersion(stdOut + stdErr)
+ println stdOut
if (matcher.size() > 0) {
String curVersion = matcher[0][1]
def result = checkVersionAtLeast(curVersion, "3.7.0")