Bug 2216113
Summary: | rpmconf-1.1.9-1.fc39 crashes: AttributeError: module 'rpm' has no attribute 'setInterruptSafety' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | rpmconf | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | mhroncok, msuchy, nathan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rpmconf-1.1.10-1.fc39 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-07-07 13:46:28 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2187480, 2219977 |
Description
Petr Pisar
2023-06-20 07:15:48 UTC
I hope this is helpful to report, but when I implement the proposed patch, a new error is introduced: # rpmconf -a Traceback (most recent call last): File "/usr/sbin/rpmconf", line 105, in <module> main() File "/usr/sbin/rpmconf", line 95, in main rconf.run() File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 122, in run tested_files += self._handle_package(pkg_hdr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 346, in _handle_package for conf_file in self.get_list_of_config(package): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 159, in get_list_of_config files = rpm.fi(package) # pylint: disable=no-member ^^^^^^ AttributeError: module 'rpm' has no attribute 'fi'. Did you mean: 'fd'? Yes. rpm removed rpm.fi class in: commit 742be88cd97d95bae356a93f17ec0595b610cee7 Author: Panu Matilainen <pmatilai> Date: Fri Apr 8 12:18:33 2022 +0300 Drop the klunky and ugly rpm.fi python binding finally Update our lone test-case to use rpm.files instead I posted a new patch to upstream at <https://github.com/xsuchy/rpmconf/pull/53>. Merged and built https://koji.fedoraproject.org/koji/taskinfo?taskID=103045328 Thank you all. |