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

[BUG] ImportError: cannot import name 'Markup' from 'jinja2' #61952

Closed
5 tasks
cdorsman opened this issue Apr 15, 2022 · 3 comments
Closed
5 tasks

[BUG] ImportError: cannot import name 'Markup' from 'jinja2' #61952

cdorsman opened this issue Apr 15, 2022 · 3 comments
Labels
Bug broken, incorrect, or confusing behavior Duplicate Duplicate of another issue or PR - will be closed

Comments

@cdorsman
Copy link

cdorsman commented Apr 15, 2022

Description
After fresh installation of Salt master with the bootstrap method and package method for Ubuntu, Salt master gives the error:

2022-04-14 21:34:26,464 [salt.log.setup :910 ][ERROR ][7338] An un-handled exception was caught by salt's global exception handler:
ImportError: cannot import name 'Markup' from 'jinja2' (/usr/local/lib/python3.8/dist-packages/jinja2/init.py)

Issue is presented with packages for Ubuntu 20.04 and bootstrap for all versions.

Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Ubuntu 20.04 LTS
Salt 3002, 3003.
Jinja2==3.1.1

Please be as specific as possible and give set-up details.

  • on-prem machine
  • [Proxmox] VM (Virtualbox, KVM, etc. please specify)
  • VM running on a cloud service, please be explicit and add details
  • container (Kubernetes, Docker, containerd, etc. please specify)
  • or a combination, please be explicit
  • jails if it is FreeBSD

Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
Start an installation of Salt master on Ubuntu 20.04 LTS server.

Expected behavior
A clear and concise description of what you expected to happen.
Salt master should be starting without any problems.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions Report

salt --versions-report (Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) Salt 3002, 3003. 3004
PASTE HERE

Additional context
Add any other context about the problem here.

@cdorsman cdorsman added Bug broken, incorrect, or confusing behavior needs-triage labels Apr 15, 2022
@welcome
Copy link

welcome bot commented Apr 15, 2022

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@cdorsman
Copy link
Author

This issue was already solved in the source code. But it is not released yet. Not relevant anymore.

@OrangeDog
Copy link
Contributor

Duplicate: #61848

@OrangeDog OrangeDog added Duplicate Duplicate of another issue or PR - will be closed and removed needs-triage labels Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Duplicate Duplicate of another issue or PR - will be closed
Projects
None yet
Development

No branches or pull requests

2 participants