HumanSignal / HumanSignal/label-studio

Error when viewing TimeSeries label task

Open
#3,094 11 comments 0 reactions 1 assignee Claimed by @makseq View on GitHub
labeling problem time series
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**
![screen_090138](https://user-images.githubusercontent.com/79366850/196110171-8da5cafc-a510-4fc4-a948-e7ff399cd762.jpg)

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.