From e0877c1283fe87a07d7c57587b61fe600950485c Mon Sep 17 00:00:00 2001 From: aschumann-virtualcable Date: Mon, 20 Apr 2026 15:53:31 +0200 Subject: [PATCH] Fixes X2GO client path lookup for correct argument type Changes the lookup for the X2GO client executable to pass a list of paths, ensuring compatibility with the expected argument type and preventing runtime errors if the path is not found. Updates signature to reflect the code adjustment. --- server/src/uds/transports/X2GO/scripts/windows/tunnel.py | 2 +- .../src/uds/transports/X2GO/scripts/windows/tunnel.py.signature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/uds/transports/X2GO/scripts/windows/tunnel.py b/server/src/uds/transports/X2GO/scripts/windows/tunnel.py index 0b5675795..b7b79750e 100644 --- a/server/src/uds/transports/X2GO/scripts/windows/tunnel.py +++ b/server/src/uds/transports/X2GO/scripts/windows/tunnel.py @@ -27,7 +27,7 @@ filename = tools.saveTempFile(theFile) x2goPath = os.environ['PROGRAMFILES(X86)'] + '\\x2goclient' -executable = tools.findApp('x2goclient.exe', x2goPath) +executable = tools.findApp('x2goclient.exe', [x2goPath]) if executable is None: raise Exception( '''

You must have installed latest X2GO Client in default program file folder in order to connect to this UDS service.

diff --git a/server/src/uds/transports/X2GO/scripts/windows/tunnel.py.signature b/server/src/uds/transports/X2GO/scripts/windows/tunnel.py.signature index 81a59305c..29c2001b2 100644 --- a/server/src/uds/transports/X2GO/scripts/windows/tunnel.py.signature +++ b/server/src/uds/transports/X2GO/scripts/windows/tunnel.py.signature @@ -1 +1 @@ -TpOuQbtplQOuMXpTtxaAQJwZJtoVTMtWruV9d8+d6HJnSd7Y7iLMWkqerP3+rQBOqT67YAI8fq8ZZsYSDNKCoYQwJXqp8d2S8K2LyW7ClnYZXlFzVvjW0+wgTVV4E3f5Y7xT5TGlQ7/mO/KPgEloTxC8KD/DOTRc6MBusSgc/nd1ssE946qznCvihTsWuM4KGTfhQ4q9BVIVaxcFRszmhPqjVT0iY8sF3Aqghx4hvbgZKglqF9o/1JemzffLn/pxyclIePFJT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