Your message dated Wed, 3 Jun 2020 22:07:09 +0200
with message-id <20200603200709.GA2299491@bartik>
and subject line Re: Bug#835997: python-ldns broken: AttributeError: 'module'
object has no attribute 'LDNS_RR_CLASS_IN'
has caused the Debian Bug report #835997,
regarding python-ldns broken: AttributeError: 'module' object has no attribute
'LDNS_RR_CLASS_IN'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
835997: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835997
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Version: 1.7.0-1
On Fri, 28 Oct 2016 14:54:46 +0200 Christoph Egger <christ...@debian.org> wrote:
> Hi!
>
> Merged upstream as
> http://git.nlnetlabs.nl/ldns/commit/?h=develop&id=a7514f30fa9de7341544deb3dc592c00bacef2ba
>
> Regards
>
> Christoph
The fix was released in version 1.7.0
signature.asc
Description: PGP signature
--- End Message ---