You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning,
We have just performed the merge between your version 1.6.0 and our custom version 1.1.16 based on version 1.1.0 dating back 2 years.
We were also able to see the issues presented below on version 1.6.0 before the merge.
Ubuntu 20.04, Python 3.8, Postgres 12
First problem:
When we call the "lemur --help" or "lemur" or "lemur somethingwrong" command we get the following error message:
I modified line 67 of the factory.py file as follows, which seems to fix the problem. Is this normal?
Second problem:
Although we have respected your way of declaring our functions within our plugins and yours in the "cli.py" files, we obtain the following error when executing the "lemur command" command: "RuntimeError: Working outside of application context".
For this to work I had to add an import of "with_appcontext" and add the line "@with_appcontext" before the "cli" function definition.
Third problem:
Additionally, it seems that some cli functions are not correctly declared to be used such as the certificate rotate function which does not appear when calling help. Isn't the call to "@cli.command()" missing for certain cli functions?
Best regards
Marc
The text was updated successfully, but these errors were encountered:
Good morning,
We have just performed the merge between your version 1.6.0 and our custom version 1.1.16 based on version 1.1.0 dating back 2 years.
We were also able to see the issues presented below on version 1.6.0 before the merge.
Ubuntu 20.04, Python 3.8, Postgres 12
First problem:
When we call the "lemur --help" or "lemur" or "lemur somethingwrong" command we get the following error message:
I modified line 67 of the factory.py file as follows, which seems to fix the problem. Is this normal?
Second problem:
Although we have respected your way of declaring our functions within our plugins and yours in the "cli.py" files, we obtain the following error when executing the "lemur command" command: "RuntimeError: Working outside of application context".
For this to work I had to add an import of "with_appcontext" and add the line "@with_appcontext" before the "cli" function definition.
Third problem:
Additionally, it seems that some cli functions are not correctly declared to be used such as the certificate rotate function which does not appear when calling help. Isn't the call to "@cli.command()" missing for certain cli functions?
Best regards
Marc
The text was updated successfully, but these errors were encountered: