# HG changeset patch # User Edouard Tisserant # Date 1731334964 -3600 # Node ID 102555078a0ce1468a0e11fa4a1eecb38613aa37 # Parent c317fc64035ecc32b902ba3bda5fd9dfbe243300 eRPC: Backward compatibility with runtime versions missing GetVersions extended call. diff -r c317fc64035e -r 102555078a0c ProjectController.py --- a/ProjectController.py Fri Nov 08 11:34:46 2024 +0100 +++ b/ProjectController.py Mon Nov 11 15:22:44 2024 +0100 @@ -1920,8 +1920,9 @@ self.logger.write_error(_("Connection failed to %s!\n") % uri) else: VersionsInfoBytes = self._connector.ExtendedCall("GetVersions", bytes()) - VersionsInfo = VersionsInfoBytes.decode() - self.logger.write(f"Version string: {VersionsInfo}\n") + if VersionsInfoBytes is not None: + VersionsInfo = VersionsInfoBytes.decode() + self.logger.write(f"Version string: {VersionsInfo}\n") self.CompareLocalAndRemotePLC() # Init with actual PLC status and print it