https://bugzilla.redhat.com/show_bug.cgi?id=2253406
Bug ID: 2253406
Summary: [abrt] lirc-core: main():
lircd-setup:37:main:AttributeError: module
'configparser' has no attribute 'SafeConfigParser'.
Did you mean: 'RawConfigParser'?
Product: Fedora
Version: 39
Hardware: x86_64
Status: NEW
Whiteboard: abrt_hash:6d2dfe5acadf98aebb748f349d9160f72fa8764a;VAR
IANT_ID=workstation;
Component: lirc
Assignee: leamas.alec(a)gmail.com
Reporter: nigel.jewell(a)grufty.co.uk
QA Contact: extras-qa(a)fedoraproject.org
CC: epel-packagers-sig(a)lists.fedoraproject.org,
hobbes1069(a)gmail.com, jarod(a)redhat.com,
leamas.alec(a)gmail.com, sean(a)mess.org
Target Milestone: ---
Classification: Fedora
Description of problem:
This occurs when the service tries to start from systemd. It looks like this
has been fixed upstream, adding a condition to call
configparser.SafeConfigParser or configparser.ConfigParser based upon python
version.
Version-Release number of selected component:
lirc-core-0.10.0-40.fc39
Additional info:
reporter: libreport-2.17.11
exception_type: AttributeError
interpreter: python3-3.12.0-1.fc39.x86_64
cgroup: 0::/system.slice/lircd-setup.service
cmdline: /usr/bin/python3 /usr/sbin/lircd-setup
type: Python3
reason: lircd-setup:37:main:AttributeError: module 'configparser' has
no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
kernel: 6.6.2-201.fc39.x86_64
comment: This occurs when the service tries to start from systemd. It
looks like this has been fixed upstream, adding a condition to call
configparser.SafeConfigParser or configparser.ConfigParser based upon python
version.
crash_function: main
package: lirc-core-0.10.0-40.fc39
runlevel: unknown
executable: /usr/sbin/lircd-setup
uid: 0
Truncated backtrace:
lircd-setup:37:main:AttributeError: module 'configparser' has no attribute
'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Traceback (most recent call last):
File "/usr/sbin/lircd-setup", line 51, in <module>
main()
File "/usr/sbin/lircd-setup", line 37, in main
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'.
Did
you mean: 'RawConfigParser'?
Local variables in innermost frame:
path: '/etc/lirc/lirc_options.conf'
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2253406
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...