label-studio: UI hangs when opening project: uncaught in promise error shown in console
Describe the bug
The UI hangs when opening project: it just shows the Heidi opossum animation walking. In addition, the following error is shown in the console log:
mobx-state-tree.module.js:3128 Uncaught (in promise) Error: [mobx-state-tree] No matching type for union (() | null?) at Do (mobx-state-tree.module.js:3128) at t.instantiate (mobx-state-tree.module.js:5435) ... at $r (mobx-state-tree.module.js:2456) at l (mobx-state-tree.module.js:3617) at A (mobx-state-tree.module.js:3631) Do @ mobx-state-tree.module.js:3128 t.instantiate @ mobx-state-tree.module.js:5435
Here are the backend and console log files:
_backend-07sep21.log
_console-7sept21.log
To Reproduce
Steps to reproduce the behavior: I’m not quite sure how to reproduce the hangup. We have been using the attached JSON file (combined-204671-205834-206619-admin-corresp.03sep21.new.1.json.txt) for several days with no problem. In addition, this is the first time we encountered the hangup and have been using Label Studio regularly for over a month.
combined-204671-205834-206619-admin-corresp.03sep21.new.1.json.txt
Expected behavior
The system reports an error, so that we can try to fix the data (either via database update or via new import).
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Ubuntu 18.02
- Label Studio Version 1.2.0
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 17 (6 by maintainers)
Got the same behavior with different data.
Hi, just a quick note that the “drop all tabs” tip helped me today. Thank you !
OK, see the attached files: one is a video and the other is the captured log file.
This was invoked as following using the DB attached above (label_studio.sqlite3.gz):
label-studio start --port 6666 --data-dir . --database ./label_studio.sqlite3 --no-browser --debug --log-level DEBUGtomasohara-label-stupid-hangup-24sept21.mp4-split-c.gz tomasohara-label-stupid-hangup-24sept21.mp4-split-b.gz tomasohara-label-stupid-hangup-24sept21.mp4-split-a.gz _heidi-hangup-24sept21.logShouldn’t that be left open? The issue still remains, and so we are still vulnerable to a potential hangup. (Removing the tabs is just an expedient to make the system usable. )
Thanks very much for the clarification. Max! That’s a quick fix.
Best, Tom
On Thu, Sep 23, 2021 at 4:11 PM Max Tkachenko @.***> wrote:
@tomasohara Sorry for the delay. The solution for you:
@victor-ab Hope this steps help you too.