SafeConfigParser: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Bug #2085776 reported by M Conrad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyhoca-gui (Ubuntu)
New
Undecided
Unassigned

Bug Description

<pre>~$ pyhoca-
pyhoca-cli pyhoca-gui
muksihs@omen-desktop:~$ pyhoca-gui
09:21:25: Debug: Adding duplicate image handler for &apos;Windows bitmap file&apos;
09:21:25: Debug: Adding duplicate animation handler for &apos;1&apos; type
09:21:25: Debug: Adding duplicate animation handler for &apos;2&apos; type
Traceback (most recent call last):
  File &quot;/usr/bin/pyhoca-gui&quot;, line 50, in &lt;module&gt;
    app.main(args=args, logger=logger, liblogger=liblogger)
  File &quot;/usr/lib/python3/dist-packages/pyhoca/wxgui/launcher.py&quot;, line 404, in main
    thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, appname=self.PROG_NAME, version=self.VERSION)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/pyhoca/wxgui/frontend.py&quot;, line 239, in __init__
    x2go.X2GoClient.__init__(self, **_x2goclient_kwargs)
  File &quot;/usr/lib/python3/dist-packages/x2go/client.py&quot;, 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 &quot;/usr/lib/python3/dist-packages/x2go/backends/profiles/file.py&quot;, line 60, in __init__
    inifiles.X2GoIniFile.__init__(self, config_files=config_files, logger=logger, loglevel=loglevel)
  File &quot;/usr/lib/python3/dist-packages/x2go/inifiles.py&quot;, line 102, in __init__
    self.iniConfig = configparser.SafeConfigParser()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module &apos;configparser&apos; has no attribute &apos;SafeConfigParser&apos;. Did you mean: &apos;RawConfigParser&apos;?
</pre>

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: pyhoca-gui 0.6.1.1-1
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: X-Cinnamon
Date: Mon Oct 28 09:21:49 2024
InstallationDate: Installed on 2021-10-22 (1102 days ago)
InstallationMedia: Ubuntu-MATE 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
SourcePackage: pyhoca-gui
UpgradeStatus: Upgraded to noble on 2024-08-06 (83 days ago)

Revision history for this message
M Conrad (mconrad202) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.