Bug 2308657 - pyhoca-gui and pyhoca-cli crashes immediately
Summary: pyhoca-gui and pyhoca-cli crashes immediately
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-x2go
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-30 10:02 UTC by Joakim Verona
Modified: 2024-09-09 01:18 UTC (History)
1 user (show)

Fixed In Version: python-x2go-0.6.1.4-7.fc40
Clone Of:
Environment:
Last Closed: 2024-09-09 01:18:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.