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

error message when checkpoint is misspelled #16

Open
jsmcibm opened this issue Feb 7, 2023 · 0 comments
Open

error message when checkpoint is misspelled #16

jsmcibm opened this issue Feb 7, 2023 · 0 comments
Assignees

Comments

@jsmcibm
Copy link
Collaborator

jsmcibm commented Feb 7, 2023

If the retriever checkpoint is nonexistent, the UI message is not helpful.
Note that there is an exception in services

Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/grpc/_server.py", line 443, in _call_behavior
    response_or_iterator = behavior(argument, context)
  File "/opt/venv/lib/python3.8/site-packages/primeqa/services/grpc_server/retriever_service.py", line 116, in Retrieve
    retriever_kwargs["checkpoint"] = self._store.get_checkpoint_path(
  File "/opt/venv/lib/python3.8/site-packages/primeqa/services/store.py", line 67, in get_checkpoint_path
    return glob.glob(
IndexError: list index out of range

so the solution may involve changes in that repo also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants