HumanSignal / HumanSignal/label-studio
Error when viewing TimeSeries label task
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
In the newest development Environment, when opening a TimeSeries task for labeling the tab freezes/gets stuck on loading. The console gets flooded with a mobx-state-tree error stating that It's trying to read or write to an object that is no longer part of a state tree. (See Screenshot).
This happens specifically when clicking on a single task, when "Label all tasks" is used the TimeSeries still doesn't load, and the console instead shows:
"*[mobx.array] Attempt to read an array index (0) that is out of bounds (0). Please check length first. Out of bound indices will not be tracked by MobX [instrument.js:109:45](webpack://frontend/node_modules/@sentry/utils/esm/instrument.js)*".
**To Reproduce**
Steps to reproduce the behavior:
1. Create Project with csv data and a TimeSeries template (e.g. Activity Recognition)
2. In the project click on the task
3. Now it usually gets stuck loading
**Expected behavior**
TimeSeries should render after a short time
**Screenshots**

**Environment (please complete the following information):**
- OS: Linux / Lubuntu
- Label Studio Version: newest Version from Github / 1.5.0dev (The one you get when you follow the steps for *Install for local development*)
Contributor guide
Assessment
This issue has not been assessed yet.