Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 4.6 breaks envtpl on startup #70

Closed
spijet opened this issue Mar 25, 2022 · 6 comments
Closed

Update to 4.6 breaks envtpl on startup #70

spijet opened this issue Mar 25, 2022 · 6 comments

Comments

@spijet
Copy link

spijet commented Mar 25, 2022

Hello @pschiffe!

I just pulled the new images and found that my PowerDNS instance is unable to start. Here's the log I get:

Traceback (most recent call last):
  File "/usr/local/bin/envtpl", line 33, in <module>
    sys.exit(load_entry_point('envtpl==0.6.0', 'console_scripts', 'envtpl')())
  File "/usr/local/bin/envtpl", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/local/lib/python3.10/site-packages/envtpl.py", line 150, in <module>
    @jinja2.contextfunction
AttributeError: module 'jinja2' has no attribute 'contextfunction'
pdns_powerdns_1 exited with code 1

This happens on both Fedora-based and Alpine-based images, the only difference being the Python version (3.10 on Fedora and 3.9 on Alpine).

@acaranta
Copy link

Confirmed here too, containers are on a infinite error loop, had to rollback to 4.5 tag, the whole DNS infra went down 🙈 (Bad monitoring on my side lol)

@pschiffe
Copy link
Owner

Fck, sorry guys. Fixed images are already being built.

@spijet
Copy link
Author

spijet commented Mar 26, 2022 via email

@pschiffe
Copy link
Owner

Yeah, I'm considering it, since envtpl seems to be dead as well.

@pschiffe
Copy link
Owner

pschiffe commented Mar 26, 2022

Follow-up to this issue: #71

@acaranta
Copy link

Thx for correcting, but more than that... thanks for maintaining these images :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants