Public bug reported: When i try to use pyhoca-cli on ubuntu 24.04 i get this errormessage:
``` (CRIT) - (rmplugin_x2go_spawn_pyhoca_process) - [X2GO] Konnte den PyHoca-CLI nicht starten: /usr/bin/pyhoca-cli:560: SyntaxWarning: invalid escape sequence '\.' elif not re.match("^.*:[0-9]+(|\.[0-9]+)$", os.environ.get('DISPLAY')): Traceback (most recent call last): File "/usr/bin/pyhoca-cli", line 569, in <module> thisPyHocaCLI = PyHocaCLI(args, logger=logger, liblogger=liblogger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pyhoca/cli/frontend.py", line 379, in __init__ x2go.X2GoClient.__init__(self, broker_url=self.args.broker_url, broker_password=self.args.broker_password, logger=liblogger, **_backend_kwargs) File "/usr/lib/python3/dist-packages/x2go/client.py", line 316, in __init__ self.session_profiles = self.profiles_backend(config_files=[_sessions_config_file], logger=self.logger, broker_url=broker_url, broker_password=broker_password, broker_noauth=broker_noauth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/x2go/backends/profiles/file.py", line 60, in __init__ inifiles.X2GoIniFile.__init__(self, config_files=config_files, logger=logger, loglevel=loglevel) File "/usr/lib/python3/dist-packages/x2go/inifiles.py", line 102, in __init__ self.iniConfig = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? (WARN) - (rmplugin_x2go_exec_x2go) - [X2GO] Ein nicht-kritischer Fehler ist aufgetreten: Konnte den PyHoca-CLI nicht starten: /usr/bin/pyhoca-cli:560: SyntaxWarning: invalid escape sequence '\.' elif not re.match("^.*:[0-9]+(|\.[0-9]+)$", os.environ.get('DISPLAY')): Traceback (most recent call last): File "/usr/bin/pyhoca-cli", line 569, in <module> thisPyHocaCLI = PyHocaCLI(args, logger=logger, liblogger=liblogger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pyhoca/cli/frontend.py", line 379, in __init__ x2go.X2GoClient.__init__(self, broker_url=self.args.broker_url, broker_password=self.args.broker_password, logger=liblogger, **_backend_kwargs) File "/usr/lib/python3/dist-packages/x2go/client.py", line 316, in __init__ self.session_profiles = self.profiles_backend(config_files=[_sessions_config_file], logger=self.logger, broker_url=broker_url, broker_password=broker_password, broker_noauth=broker_noauth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/x2go/backends/profiles/file.py", line 60, in __init__ inifiles.X2GoIniFile.__init__(self, config_files=config_files, logger=logger, loglevel=loglevel) File "/usr/lib/python3/dist-packages/x2go/inifiles.py", line 102, in __init__ self.iniConfig = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?``` It's the same if i start pyhoca-cli directly or with remmina-plugin-x2go I can not start a remote-connection anymore. The problem seems, pyhoca-cli is related to python3.11, which is not available anymore on ubuntu24.04 ** Affects: pyhoca-cli (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2097513 Title: pyhoca-cli crashes on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pyhoca-cli/+bug/2097513/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs