Skip to content

SamplesNotLoadedError

You attempted to retrieve the path for a transaction, but no samples have been loaded. The sampler needs to load samples from disk before it can provide file paths for transactions.

This typically happens when:

  • The samples haven’t been generated yet
  • The samples directory is empty or doesn’t exist
  • There was an error loading the samples

To resolve this:

  1. Generate samples if you haven’t already:
Terminal window
thymian sampler init
  1. Ensure the samples directory exists and contains the generated sample files

  2. Check that the samples are being loaded correctly before attempting to get transaction paths