Rasmus Bonnevie
02/19/2023, 8:06 AMdagit
from the terminal, it fails to load the .env file situated in the directory and crashes due to the missing variables. I only just noticed this because I normally run it via VSCode's launch/debugger interface and there everything loads perfectly!
That's despite it more or less just calling the dagit
command:
/usr/bin/env /home/rasmus/.cache/pypoetry/virtualenvs/orchestration-4tQjH8vh-py3.9/bin/python /home/rasmus/.vscode-server/extensions/ms-python.python-2023.2.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 44961 -- -m dagit
is this a race condition of some sort? failure to find the .env file, maybe due to it looking in the wrong directory? Or is the .env not supposed to be loaded in time before the workspace.yaml?daniel
02/21/2023, 3:15 PMRasmus Bonnevie
02/21/2023, 4:20 PM