hdr.dsFromHeader() fails with "SystemError" for gpg-pubkeys
Bug #638613 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned | ||
Fedora |
Fix Released
|
Medium
|
Bug Description
tracker
tags: | added: fedora python |
Changed in rpm: | |
milestone: | none → 4.8.1 |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
rpm-python- 4.8.0-14. fc13.x86_ 64 on current F-13:
import rpm Set().dbMatch( "name", "gpg-pubkey"):
for hdr in rpm.Transaction
print hdr.dsFromHeader()
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
SystemError: NULL result without error in PyObject_Call
Slightly different message with rpm-python- 4.4.2.3- 18.el5 on CentOS 5:
Traceback (most recent call last):
File "<stdin>", line 2, in ?
SystemError: error return without exception set
rpm-python bug?
This affects rpmlint (DocFilesCheck.py). I wonder if I could just use hdr.dsOfHeader() instead of hdr.dsFromHeader() there, it doesn't seem to have the same problem (not to mention that even that doesn't have to be done for packages that don't have doc files...)