Public bug reported:
When i try to start pyhoca-cli and establish a connection, pyhoca-cli
stops with this error
```
/usr/bin/pyhoca-cli:560: SyntaxWarning: invalid escape sequence '\.'
elif not re.match("^.*:[0-9]+(|\.[0-9]+)$", os.environ.get('DISPLAY')):
pyhoca-cli[200713] WARN: in case of a authentication failure, pyhoca-cli will
interactively ask for a password.
pyhoca-cli[200713] NOTICE: preparing requested X2Go session
pyhoca-cli[200713] (PyHocaCLI) NOTICE: preparing requested X2Go session
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'?
```
On Ubuntu24.04 is python3.12 installed, but pyhoca-cli needs pyhton3.11
** 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/2097349
Title:
AttributeError: module 'configparser' has no attribute
'SafeConfigParser'. Did you mean: 'RawConfigParser'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyhoca-cli/+bug/2097349/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs