Bug 2308657

Summary: pyhoca-gui and pyhoca-cli crashes immediately
Product: [Fedora] Fedora Reporter: Joakim Verona <joakim>
Component: python-x2goAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-x2go-0.6.1.4-7.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-09 01:18:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joakim Verona 2024-08-30 10:02:29 UTC
I simply try to start pyhoca-gui, but immediately get a python error, which seems to indicate outdated dependencies or some such.

$ pyhoca-gui 
11:59:44: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:59:44: Debug: Adding duplicate animation handler for '1' type
11:59:44: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
  File "/usr/bin/pyhoca-gui", line 50, in <module>
    app.main(args=args, logger=logger, liblogger=liblogger)
  File "/usr/lib/python3.12/site-packages/pyhoca/wxgui/launcher.py", line 404, in main
    thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, appname=self.PROG_NAME, version=self.VERSION)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pyhoca/wxgui/frontend.py", line 239, in __init__
    x2go.X2GoClient.__init__(self, **_x2goclient_kwargs)
  File "/usr/lib/python3.12/site-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.12/site-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.12/site-packages/x2go/inifiles.py", line 102, in __init__
    self.iniConfig = configparser.SafeConfigParser()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?




Reproducible: Always

Steps to Reproduce:
1. install pyhoca-gui
2. in a shell: pyhoca-gui
3. observe the crash which happens immediately


Expected Results:  
pyhoca-gui should start

Comment 1 Fedora Update System 2024-08-31 22:55:00 UTC
FEDORA-2024-f0cb779d07 (python-x2go-0.6.1.4-7.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f0cb779d07

Comment 2 Fedora Update System 2024-09-01 01:25:05 UTC
FEDORA-2024-f0cb779d07 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f0cb779d07`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f0cb779d07

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-09-09 01:18:01 UTC
FEDORA-2024-f0cb779d07 (python-x2go-0.6.1.4-7.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.