Bug 2279044

Summary: [abrt] lirc-core: main(): lircd-setup:37:main:AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Product: [Fedora] Fedora Reporter: Nigel Jewell <nigel.jewell>
Component: lircAssignee: Alec Leamas <leamas.alec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: epel-packagers-sig, hobbes1069, jarod, leamas.alec, nigel.jewell, sean
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9e17c99bfe2cfa3e8c2c9392c17bd4f39aa253a4
Whiteboard: abrt_hash:6d2dfe5acadf98aebb748f349d9160f72fa8764a;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-04 09:31:12 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:
Attachments:
Description Flags
File: cpuinfo
none
File: namespaces
none
File: backtrace
none
File: open_fds
none
File: environ
none
File: mountinfo
none
File: os_info none

Description Nigel Jewell 2024-05-04 09:27:41 UTC
Description of problem:
Happens when starting lircd after upgrade to Fedora 40.  Was fine with Fedora 39.

Version-Release number of selected component:
lirc-core-0.10.0-42.fc40

Additional info:
reporter:       libreport-2.17.15
exception_type: AttributeError
interpreter:    python3-3.12.3-2.fc40.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.8.8-300.fc40.x86_64
comment:        Happens when starting lircd after upgrade to Fedora 40.  Was fine with Fedora 39.
crash_function: main
package:        lirc-core-0.10.0-42.fc40
runlevel:       N 5
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'

Potential duplicate: bug 2253406

Comment 1 Nigel Jewell 2024-05-04 09:27:47 UTC
Created attachment 2031215 [details]
File: cpuinfo

Comment 2 Nigel Jewell 2024-05-04 09:27:49 UTC
Created attachment 2031216 [details]
File: namespaces

Comment 3 Nigel Jewell 2024-05-04 09:27:50 UTC
Created attachment 2031217 [details]
File: backtrace

Comment 4 Nigel Jewell 2024-05-04 09:27:52 UTC
Created attachment 2031218 [details]
File: open_fds

Comment 5 Nigel Jewell 2024-05-04 09:27:54 UTC
Created attachment 2031219 [details]
File: environ

Comment 6 Nigel Jewell 2024-05-04 09:27:56 UTC
Created attachment 2031220 [details]
File: mountinfo

Comment 7 Nigel Jewell 2024-05-04 09:27:57 UTC
Created attachment 2031221 [details]
File: os_info

Comment 8 Nigel Jewell 2024-05-04 09:31:12 UTC

*** This bug has been marked as a duplicate of bug 2253406 ***