amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.

Home Page:https://www.amundsen.io/amundsen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug Report: Amundsen-atlas instalation crashes due to import error

kc-alva opened this issue · comments

During the installation via docker-compose -f docker-amunsen-atlas.yml up , Atlas is working correctly, but everything else goes automatically into exited state, I believe it's crashing while it is installing due to:

"amundsenmetadata | File "/usr/local/lib/python3.7/site-packages/flask/init.py", line 19, in
amundsenmetadata | from jinja2 import Markup, escape
amundsenmetadata | ImportError: cannot import name 'Markup' from 'jinja2' (/usr/local/lib/python3.7/site-packages/jinja2/init.py)
amundsenmetadata exited with code 1
amundsensearch | Traceback (most recent call last):"

Some people claim that changing Flask version (from 1.0.2 to 2.0.3) and Jinja2 version from (2.10.1 to 3.1.1) would resolve this issue, but it didn't work, resulting in a issue due to other components needing the previous version of Flask.

Also found that this errors comes due a change in Jinja2, and a way to solve this would be to change the import to:
"from jinja2.utils import markupsafe
markupsafe.Markup()
Markup('')"
But have been able to correct this.

Expected Behavior

Should be able to interact with Amundsen FE on port 5000 and Atlas on 21000

Current Behavior

Atlas is working properly on port 21000 but Amundsen FE is not.

Possible Solution

I find this bug to be very strange because docker should prevent this from happening.

Steps to Reproduce

  1. docker-compose -f docker-amunsen-atlas.yml up
  2. the processes begins and the error occurs on the amundsen metadata installation

Screenshots (if appropriate)

image
image

This is another recurring warning:
image

Context

Have not been able to implement amundsen properly, can't interact with the FE/UI

This erros appears on: amundsenmetadata, amundsensearch, amundsenfrontend

Your Environment

  • Amunsen version used: lastest
  • OS: Ubuntu 20.04

Thanks for opening your first issue here!

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.