Skip to content

Intermittent ModuleNotFoundError: No module named 'cache' when running workflows #74

@ntalluri

Description

@ntalluri

I'm hitting an error when running the benchmarking workflow on both dataset-depmap and egfr-and-infrastructure branches. The error appears randomly, and the only reliable fix I've found is deleting .venv and/or cache/artifacts before re-running.

Error

ModuleNotFoundError in file "../../cache/Snakefile", line 7:
No module named 'cache'
  File "/Users/nehatalluri/Desktop/spras-benchmarking/datasets/depmap/../../cache/Snakefile", line 7, in <module>

Not consistently reproducible. It occurs while running a dataset workflow with no clear trigger.

Possible contributing factors

  • I'm running on macOS
  • I'm actively editing workflow files during runs, which may leave the workflow in an inconsistent state that the cache can't recover from

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions