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

Improve error message for input not found when running subgraph #193

Open
windiana42 opened this issue May 17, 2024 · 0 comments
Open

Improve error message for input not found when running subgraph #193

windiana42 opened this issue May 17, 2024 · 0 comments
Labels
better debugging bug Something isn't working good first issue Good for newcomers usability

Comments

@windiana42
Copy link
Member

In case of running a subgraph of the DAG (i.e. just a task, or a stage), it is necessary that all inputs can be fetched from cache. If this fails, it fails with an exception of the kind:

pydiverse.pipedag.errors.CacheError: Couldn't find cached output for task '<Task 'task_name' 0x1faff5c2a091 (id: 11)>' with matching position hash.

This by itself should be replaced by a nice message and which should include the failing task name (the task mentioned here is the one who produces the inputs which were not found).

Furthermore, information about "with matching position hash" would be nice. It would be good to know if a match would be found without looking at the position hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better debugging bug Something isn't working good first issue Good for newcomers usability
Projects
None yet
Development

No branches or pull requests

1 participant