Describe the bug
Following error occurred while trying to start complied version of unbound with pythonmodule.
Unbound version 1.13.2
OS: Ubuntu 20.4
Python: 3.8
root@####:/usr/local# /usr/local/unbound/sbin/unbound -vvv -c /usr/local/unbound/etc/unbound/unbound.conf -d
[1629781639] unbound[223253:0] notice: Start of unbound 1.13.2.
[1629781639] unbound[223253:0] debug: creating udp4 socket ...
[1629781639] unbound[223253:0] debug: creating tcp4 socket ...
[1629781639] unbound[223253:0] debug: switching log to syslog
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 803, in
class module_env(_object):
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 873, in module_env
__swig_setmethods__["now"] = _unboundmodule.module_env_now_set
AttributeError: module '_unboundmodule' has no attribute 'module_env_now_set'
Describe the bug Following error occurred while trying to start complied version of unbound with pythonmodule. Unbound version 1.13.2 OS: Ubuntu 20.4 Python: 3.8
root@####:/usr/local# /usr/local/unbound/sbin/unbound -vvv -c /usr/local/unbound/etc/unbound/unbound.conf -d [1629781639] unbound[223253:0] notice: Start of unbound 1.13.2. [1629781639] unbound[223253:0] debug: creating udp4 socket ... [1629781639] unbound[223253:0] debug: creating tcp4 socket ... [1629781639] unbound[223253:0] debug: switching log to syslog Traceback (most recent call last): File "", line 1, in
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 803, in
class module_env(_object):
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 873, in module_env
__swig_setmethods__["now"] = _unboundmodule.module_env_now_set
AttributeError: module '_unboundmodule' has no attribute 'module_env_now_set'
To reproduce Steps to reproduce the behavior:
Expected behavior unbound gets started without any error.
System:
unbound -V
output:root@*****:/usr/local# /usr/local/unbound/sbin/unbound -V
Version 1.13.2
Configure line: --prefix=/usr/local/unbound --with-pyunbound --with-libevent --with-pythonmodule Linked libs: libevent 2.1.11-stable (it uses epoll), OpenSSL 1.1.1f 31 Mar 2020 Linked modules: dns64 python respip validator iterator
BSD licensed, see LICENSE in source package for details. Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues