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 "no readable indexLocations found" error message #444

Open
jan-niestadt opened this issue Aug 10, 2023 · 0 comments
Open

Improve "no readable indexLocations found" error message #444

jan-niestadt opened this issue Aug 10, 2023 · 0 comments
Assignees
Labels
documentation Issue with the documentation robustness Related to testing, reducing crashing and improving user feedback
Milestone

Comments

@jan-niestadt
Copy link
Member

This is a broad and confusing error to get.

Should ideally distinguish between these cases:

  • no blacklab-server.yaml could be found. Include link to docs, hints.
  • blacklab-server.yaml was found, but couldn't be read because of errors.
  • blacklab-server.yaml was found, but it contained no indexLocations.
  • indexLocations configured but none exist
  • indexLocations found but none readable
  • valid indexLocations but contains no corpora
  • no corpora found, but unreadable directories found under indexLocations.

If running in debug mode (i.e. locally), include the paths to files/directories found.

@jan-niestadt jan-niestadt added documentation Issue with the documentation robustness Related to testing, reducing crashing and improving user feedback labels Aug 10, 2023
@jan-niestadt jan-niestadt added this to the v4.0 milestone Aug 10, 2023
@jan-niestadt jan-niestadt self-assigned this Aug 10, 2023
@jan-niestadt jan-niestadt modified the milestones: v4.0, v4.x Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issue with the documentation robustness Related to testing, reducing crashing and improving user feedback
Projects
None yet
Development

No branches or pull requests

1 participant