Public bug reported:
When i try to connect via pyhoca-cli i get the following error
```
pyhoca-cli[54403] WARN: in case of a authentication failure, pyhoca-cli will
interactively ask for a password.
pyhoca-cli[54403] NOTICE: preparing requested X2Go session
pyhoca-cli[54403] (PyHocaCLI) NOTICE: preparing requested X2Go session
Traceback (most recent call last):
File "/home/jakobus.schuerz/bin/pyhocacli/pyhoca-cli-0.6.1.3/./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'?
```
x2goclient fails without an error, but will close connection.
If you change line 102 in "/usr/lib/python3/dist-
packages/x2go/inifiles.py"
From
```
self.iniConfig = configparser.SafeConfigParser()
```
to
```
self.iniConfig = configparser.ConfigParser()
```
both (x2goclient AND pyhoca-cli) will start again and connect to remote
computer successfully.
** Affects: python-x2go (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/2098471
Title:
x2goclient and pyhoca-cli fail on login
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-x2go/+bug/2098471/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs