-
Notifications
You must be signed in to change notification settings - Fork 1
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
khiops_env --env
Execution Error is Not (Properly) Handled
#300
Labels
Status/Done
The issue has been addressed and merged to the dev branch
Type/Bug
A malfunction of the library
Milestone
Comments
popescu-v
added
Type/Bug
A malfunction of the library
Priority/0-High
To do now
Size/Hours
Very short
labels
Nov 28, 2024
folmos-at-orange
added
the
Status/ReadyForDev
The issue is ready to be developed or to be investigated deeply
label
Dec 12, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
3 tasks
3 tasks
popescu-v
added
Status/InDevelopment
The issue is in development by one or more team members
and removed
Status/ReadyForDev
The issue is ready to be developed or to be investigated deeply
labels
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
popescu-v
added a commit
that referenced
this issue
Dec 18, 2024
folmos-at-orange
added
Status/Done
The issue has been addressed and merged to the dev branch
and removed
Status/InDevelopment
The issue is in development by one or more team members
Priority/0-High
To do now
Size/Hours
Very short
labels
Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status/Done
The issue has been addressed and merged to the dev branch
Type/Bug
A malfunction of the library
Description
Currently,
khiops_env --env
is executed with the appropriate path to the script, but onlystdout
is captured. Neitherstderr
, norreturncode
are captured and handled.Thus, if
khiops_env --env
fails for some reason (see e.g. KhiopsML/khiops#444, most notably comment KhiopsML/khiops#444 (comment)), there is no hint provided to the user. Just that the environment would not be set, which would entail failure later on.Questions/Ideas
stderr
and.returncode
from thekhiops_env --env
subprocess in_initialize_khiops_environment
, so that the relevantKhiopsEnvironmentError
is raised, with the message contained in the process'stderr
.The text was updated successfully, but these errors were encountered: