Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Lack of error messaging on failed PyTransform #451

Description

@huerdong

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions