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

Lack of error messaging on failed PyTransform #451

Open
huerdong opened this issue May 29, 2020 · 0 comments
Open

Lack of error messaging on failed PyTransform #451

huerdong opened this issue May 29, 2020 · 0 comments
Labels

Comments

@huerdong
Copy link

From feedback from one of our collaborators (@nvander), it seems Karma does not produce error messaging in offline mode when a PyTransform fails, specifically when a particular package does not exist. This issue occurs because we are deploying Karma into a Docker environment and due to a bug one of our packages was not included in the environment.

Steps to reproduce the behavior:

  1. Add a Python package into the Karma python folder
  2. Load a dataset on WebKarma
  3. Create a model on that data using the previously mentioned package.
  4. Publish the model
  5. Remove the package from the folder.
  6. Apply the model to the dataset via offline mode
  7. Karma will apply the model without errors, but will generate empty and erroneous RDF due to the missing package.

Expected behavior
Karma should return an error message when it encounters an issue applying a PyTransform. It should still proceed with applying the model, but the error message would be useful for users to identify problems in their environment or pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants