Prefect: Issue with viewing a schematic for example flow

Created on 2 Apr 2020  ·  2Comments  ·  Source: PrefectHQ/prefect

Archived from the Prefect Public Slack Community

louisguitton93: hi everyone,
I'm trying to visualise in the UI the spacy_nlp.py DAG from the examples. I can see the DAG for etl.py just fine.
I'm wondering what I'm doing wrong.
Code to reproduce

git clone --depth 1 <https://github.com/PrefectHQ/prefect.git>
cd prefect/examples
sed -i '' 's/flow.run/flow.register/g' etl.py
sed -i '' 's/flow.run/flow.register/g' spacy_nlp.py
prefect server start
python etl.py
python spacy_nlp.py

jeremiah: Hi Louis, I’m having trouble replicating the setup — however, prior to running python spacy_nlp.py i had to run python -m spacy download en_core_web_sm in order to make the model available; otherwise the last step had an error. After that, python spacy_nlp.py ran and I see:

louisguitton93: that's right. I see it too, and it runs fine with an agent. However I can't see the Schematic (that's what I meant sorry if I wasn't clear)
http://localhost:8080/flow/xxxx-flow-id-xxxx?schematic=

jeremiah: Ah, my apologies for misunderstanding - yes that IS an issue and thanks for raising it, I see it too. I’m sure <@UN6FTLFAS> will get to the bottom of it. I guess one of these tasks must be unexpectedly missing a property.

jeremiah: <@ULVA73B9P> archive “Issue with viewing a schematic for example flow”

Prefect Slack Community bug

All 2 comments

@znicholasbrown just pinging to see if you saw anything about this while you've been working on schematics lately?

@lauralorenz I think this issue should be resolved in the latest iteration but will double-check before that's released.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ludwigm picture ludwigm  ·  3Comments

orcaman picture orcaman  ·  3Comments

ponggung picture ponggung  ·  3Comments

mark-w-325 picture mark-w-325  ·  3Comments

emcake picture emcake  ·  3Comments