-
Notifications
You must be signed in to change notification settings - Fork 316
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
[Server] Exception in ASGI application with Token Classification datasets (rubrix.server.errors.base_errors.EntityNotFoundError
)
#1551
Comments
I think the Rubrix UI flow causes this error. The Rubrix UI finds settings for a given dataset accepting that the settings can be not found. So, it's a controlled error. @leiyre can confirm it. We can decide just to trace a warning message for not found errors, instead of logging the complete error trace. In that case, we should close this issue and open a different one to tackle the warning message work. |
Great! A warning message would be better yes. The question would be: Will it be shown each and every time you have a token-classification dataset and load the results? Currently, it is shown every time you load some records (search, pagination, etc.). Also, not sure what a clear message should be but I guess it could easily get confusing |
Okay, I will investigate that behavior. Thanks for reaching out, @dvsrepo! |
Fixed in #1569 |
Describe the bug
When logging token classification data, and loading the dataset page in the webapp, the server shows this error trace:
To Reproduce
Steps to reproduce the behavior:
rb.log(name="test", records=rb.TokenClassificationRecord(text="hola dani", tokens=["hola", "dani"], prediction=[("name", 5,9, 0.8)]))
2. Go to 'localhost:6900/datasets/rubrix/test'
4. Apparently no issues in the UI itself, but you will see the error in the server logs
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: