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@gmail.com Reporter: nigel.jewell@grufty.co.uk QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, hobbes1069@gmail.com, jarod@redhat.com, leamas.alec@gmail.com, sean@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'
https://bugzilla.redhat.com/show_bug.cgi?id=2253406
Richard G rg4redhat@dutchies.us changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rg4redhat@dutchies.us
--- Comment #8 from Richard G rg4redhat@dutchies.us --- This bug is fixed in LIRC 10.0.2. See:
https://sourceforge.net/p/lirc/git/ci/b6e2de8005c263a5db38e6fe7b41befbfd92ac...
https://bugzilla.redhat.com/show_bug.cgi?id=2253406
--- Comment #9 from Nigel Jewell nigel.jewell@grufty.co.uk --- *** Bug 2279044 has been marked as a duplicate of this bug. ***
epel-packagers-sig@lists.fedoraproject.org