Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flask mara_pipelines.ui.run_interactively does not work #25

Open
ghost opened this issue Aug 20, 2020 · 7 comments · May be fixed by #30
Open

flask mara_pipelines.ui.run_interactively does not work #25

ghost opened this issue Aug 20, 2020 · 7 comments · May be fixed by #30
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 20, 2020

In the Readme.md it is written that I can use flask mara_pipelines.ui.run_interactively.

This does not work:

image

@ghost ghost added the bug Something isn't working label Aug 20, 2020
@martin-loetzsch
Copy link
Member

Hi @hz-lschick.

Is this still a problem?

@ghost
Copy link
Author

ghost commented Oct 28, 2020

@martin-loetzsch Yes. tested it again with the current version and checked the code but could not find the source of the issue

@jankatins
Copy link
Member

@hz-lschick Can you just run flask Sometimes it spits out a better error message...

@ghost
Copy link
Author

ghost commented Oct 28, 2020

@jankatins Hmm, don't know what you mean.

I can run 'flask mara_pilelines.ui.run --help' without any issue.
How do I just call 'flask'?

@martin-loetzsch
Copy link
Member

Ah. A while ago Flask changed how the names of these cli commands get derived from function names. So

flask mara_pipelines.ui.run_interactively

became

mara_pipelines.ui.run-interactively

You can see all available cli commands by just running flask

@jankatins
Copy link
Member

@hz-lschick just flask (or flask --help -> that should usually show you any import problems, e.g. a missing import for the package which holds the command = no command shows. Or no command at all = missing spec for the app/app.py file).

But I just saw that there is a minus-vs-underscore issue in your screenshot: it should be mara_pipelines.ui.run-interactively (minus in the last part, underscore in the earlier parts). Could it be that?

@ghost
Copy link
Author

ghost commented Oct 28, 2020

Yes, with flask mara_pipelines.ui.run-interactively it works just fine. The Readme should be fixed here

flask works as well as it should:
image

ghost pushed a commit that referenced this issue Mar 24, 2021
@ghost ghost linked a pull request Mar 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants