Skip to content

Tutorial pipeline works with dagit, errors out with dagster CLI #3222

Answered by alangenfeld
gherka asked this question in Q&A
Discussion options

You must be logged in to vote

We should catch this with a better error message, but to explain whats happening

The environment DAGSTER_HOME controls where dagster will put things on the filesystem, such as marshaling data to the jupyter process for the notebook in the iris_pipeline. If this env var is not set, dagit will create a temporary directory to use that gets cleaned up when the dagit process exits. The dagster CLI on the other hand falls back to an in memory "instance", which fails as seen above when trying to prepare the jupyter subprocess.

You can read more about the "instance" here https://docs.dagster.io/overview/instances/dagster-instance#main

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alangenfeld
Comment options

Answer selected by gherka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants