[Pkg-dns-devel] Bug#835997: python-ldns broken: AttributeError: 'module' object has no attribute 'LDNS_RR_CLASS_IN'
Christoph Egger
christoph at debian.org
Mon Aug 29 21:31:21 UTC 2016
Package: python-ldns
Version: 1.6.17-9
Severity: important
Dear Maintainer,
Seems the python-ldns package is broken / misses some names. This
has worked in the past.
Christoph
% ipython
Python 2.7.12+ (default, Aug 4 2016, 20:04:34)
Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import ldns
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-fca65cdf53b7> in <module>()
----> 1 import ldns
/usr/lib/python2.7/dist-packages/ldns.py in <module>()
5664 _ldns.LDNS_RESOLV_RTT_MIN_swigconstant(_ldns)
5665 LDNS_RESOLV_RTT_MIN = _ldns.LDNS_RESOLV_RTT_MIN
-> 5666 class ldns_resolver(_object):
5667 """
5668 LDNS resolver object.
/usr/lib/python2.7/dist-packages/ldns.py in ldns_resolver()
5932 # High level functions
5933
-> 5934 def get_addr_by_name(self, name, aclass = _ldns.LDNS_RR_CLASS_IN, flags = _ldns.LDNS_RD):
5935 """
5936 Ask the resolver about name and return all address records.
AttributeError: 'module' object has no attribute 'LDNS_RR_CLASS_IN'
In [2]:
Do you really want to exit ([y]/n)?
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-ldns depends on:
ii libc6 2.23-5
ii libldns1 1.6.17-9
ii libpython2.7 2.7.12-2
ii python 2.7.11-2
pn python:any <none>
python-ldns recommends no packages.
python-ldns suggests no packages.
-- no debconf information
More information about the pkg-dns-devel
mailing list