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
Describe the bug
I faced the issue in devcontainer:
vscode@c91ba3ea365b:/workspaces/epiphany/core/src/epicli$ epicli --version
1.2.0dev
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
It also occurs with any help (usage) message.
How to reproduce
Steps to reproduce the behavior in devcontainer:
alias epicli="PYTHONPATH=$(pwd) python3 cli/epicli.py"
execute epicli --version, epicli init -h ... or any different --help
Expected behavior
No error message
*epicli version: [epicli --version]
1.2.0dev
DoD checklist
Changelog updated (if affected version was released)
COMPONENTS.md updated / doesn't need to be updated
Automated tests passed (QA pipelines)
apply
upgrade
Case covered by automated test (if possible)
Idempotency tested
Documentation updated / doesn't need to be updated
All conversations in PR resolved
Backport tasks created / doesn't need to be backported
The text was updated successfully, but these errors were encountered:
Fixed.
Also added the possibility to run epicli commands directly from the terminal, without having to use a debugger ❤️
vscode@25a37e0ee9e8:/workspaces/epiphany/core/src/epicli$ epicli --version
1.2.0dev
vscode@25a37e0ee9e8:/workspaces/epiphany/core/src/epicli$ epicli init -h
usage: epicli <command> [<args>] init [-h] -p {aws,azure,any} -n NAME [--full]
Creates configuration file in working directory.
required arguments:
-p {aws,azure,any}, --provider {aws,azure,any}
One of the supported providers: azure|aws|any
-n NAME, --name NAME Name of the cluster.
optional arguments:
-h, --help show this help message and exit
--full Use this flag if you want to create verbose
configuration file.
Describe the bug
I faced the issue in devcontainer:
It also occurs with any help (usage) message.
How to reproduce
Steps to reproduce the behavior in devcontainer:
epicli --version
,epicli init -h ...
or any different --helpExpected behavior
No error message
*epicli version: [
epicli --version
]1.2.0dev
DoD checklist
The text was updated successfully, but these errors were encountered: