Skip to content

data manager build from DM2 get error : "Can't find key tabID in data [/views/:tabID/tasks]" #1935

Open
@RibbonsAlmark

Description

@RibbonsAlmark

Describe the bug
when I build DM2 and try to implement in labelStudio, at first I find out the instructions on "Using custom DM build in Label Studio" not working, my tiny change in DM2 code do not appear at label studio page, after I fix this problem by reading issue #640
and then I get error "Can't find key tabID in data [/views/:tabID/tasks]" when I open data manage page in label studio.

To Reproduce
Steps to reproduce the behavior:

what I did is:

  1. Go to root folder of project DM2
  2. create .env file, set API_GATEWAY and LS_ACCESS_TOKEN
  3. run 'npm ci'
  4. run 'npm run build:module'
  5. run 'cp -r ./build/**/* ${labelStudio root folder}/label_studio/frontend/dist/dm'
  6. open data manage page of my project in label studio page

Expected behavior
I hope after I repalce 'dm' in ${labelStudio root folder}/label_studio/frontend/dist, label studio can work as usual, and then I can try to make some Customization by myself.

Screenshots
image

Environment (please complete the following information):

  • OS: ubuntu 18.04
  • Label Studio Version : 25ba33d
  • DM2 Version : 8f94eee9b4742377d9937cc6c5bc21bcf058c352

Additional context
and I also get another problem when I run local version of the DataManager. I can not get tasks list when I open the DataManager page. it solved after I change dm2/src/sdk/api-config.js : 44 from [ tasks: "/tasks", ] to [ tasks: "/views/:view/tasks", ].
maybe problems I got is becaue the version of my labelStudio and DM2 not correspond? can I avoid those problems by get earlier version of labelStudion and DM2?

Metadata

Metadata

Assignees

Labels

data managerExploratory Data Analysis / data managementintegrationproblembug or something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions