Facing Issue after version upgrade of dagster Trac...
# ask-community
p
Facing Issue after version upgrade of dagster Traceback (most recent call last): File "/usr/local/bin/dagster", line 5, in <module> from dagster.cli import main File "/usr/local/lib/python3.8/site-packages/dagster/__init__.py", line 49, in <module> from dagster._core.definitions import ( File "/usr/local/lib/python3.8/site-packages/dagster/_core/definitions/__init__.py", line 25, in <module> from .executor_definition import ( File "/usr/local/lib/python3.8/site-packages/dagster/_core/definitions/executor_definition.py", line 21, in <module> from dagster._core.definitions.configurable import ( File "/usr/local/lib/python3.8/site-packages/dagster/_core/definitions/configurable.py", line 4, in <module> from typing_extensions import Self ImportError: cannot import name 'Self' from 'typing_extensions' (/usr/local/lib/python3.8/site-packages/typing_extensions.py)
o
hi @Praveen Kumar Jha! Do you mind checking what version of typing_extensions you're on? A
pip install --upgrade typing_extensions
might solve this issue for you.
p
Hi Owen, This issue is resolved, thank you for you help. But after the UI is up and all the graphs are loaded in the workspace, while running the graph below error is encountered. This error is coming even before any op is triggered.
Exception: Tried to load environment variable AWS_ACCESS_KEY_ID, but it was not set File "/usr/local/lib/python3.8/site-packages/dagster/_core/instance/__init__.py", line 1735, in launch_run self._run_launcher.launch_run(LaunchRunContext(pipeline_run=run, workspace=workspace)) File "/usr/local/lib/python3.8/site-packages/dagster_docker/docker_run_launcher.py", line 152, in launch_run self._launch_container_with_command(run, docker_image, command) File "/usr/local/lib/python3.8/site-packages/dagster_docker/docker_run_launcher.py", line 95, in _launch_container_with_command docker_env = dict([parse_env_var(env_var) for env_var in container_context.env_vars]) File "/usr/local/lib/python3.8/site-packages/dagster_docker/docker_run_launcher.py", line 95, in <listcomp> docker_env = dict([parse_env_var(env_var) for env_var in container_context.env_vars]) File "/usr/local/lib/python3.8/site-packages/dagster/_core/utils.py", line 93, in parse_env_var raise Exception(f"Tried to load environment variable {env_var_str}, but it was not set")