[Rpm-maint] [rpm-software-management/rpm] "PyCapsule_New called with null pointer" when get package header (#114)

Chenxiong Qi notifications at github.com
Mon Jan 2 14:25:00 UTC 2017


Get this error when doing in these ways

```
rpm.spec('rpm.spec').packages[0].header
```

However, it works

```
spec = rpm.spec('rpm.spec')
spec.packages[0].header
```

``python2-rpm-4.13.0-0.rc1.46.fc25.x86_64``

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/114
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170102/d52b41a1/attachment.html>


More information about the Rpm-maint mailing list