[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284619] dns/unbound: 1.22.0_1 error: python exception in Py_InitializeFromConfig (portoption PYTHON: on)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Feb 2025 16:26:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284619
Bug ID: 284619
Summary: dns/unbound: 1.22.0_1 error: python exception in
Py_InitializeFromConfig (portoption PYTHON: on)
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://github.com/NLnetLabs/unbound/blob/master/pytho
nmod/examples/inplace_callbacks.py
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: p5B2EA84B3@t-online.de
CC: jaap@NLnetLabs.nl
Flags: maintainer-feedback?(jaap@NLnetLabs.nl)
CC: jaap@NLnetLabs.nl
Python 3.11.11 on FreeBSD14.2
From unbound.log:
Feb 06 17:13:21 unbound[23999:0] notice: init module 0: python
Feb 06 17:13:21 unbound[23999:0] error: python exception in
Py_InitializeFromConfig: init_fs_encoding: failed to get the Python codec of
the filesystem encoding
Feb 06 17:13:21 unbound[23999:0] error: module init for module python failed
Feb 06 17:13:21 unbound[23999:0] fatal error: failed to init modules
In unbound.conf:
server:
# DNSSEC validating server
# module-config: "validator iterator"
module-config: "python validator iterator"
# module-config: "validator python iterator"
...
python:
# Script file to load (Examples from Github)
#python-script: "/usr/local/etc/unbound/modules/log.py"
#python-script: "/usr/local/etc/unbound/modules/inplace_callbacks.py"
python-script: "/usr/local/etc/unbound/modules/no-aaaa.py"
As different modules fail to load with the same error there might be a problem
with the unbound port?
--
You are receiving this mail because:
You are the assignee for the bug.