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

Clicking "Download" button raises "TypeError: Cannot read property 'metadata' of undefined #16

Open
ilanbm opened this issue Dec 2, 2020 · 1 comment

Comments

@ilanbm
Copy link

ilanbm commented Dec 2, 2020

image

@talolard
Copy link
Contributor

talolard commented Dec 2, 2020

Thanks!
This is caused by a subtle indexing issue with Indexeddb.

When we click download, we try to order the csv by items that have a prediction and label using this query

I think what's happening is that when you click download before labeling, the query returns an empty array.

The cause for that is that when we insert examples to the db we don't indicate whether they have a label or prediction. That's a regression. Will fix by adding the relevant indicators during insert

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