doccano: Can not import data

How to reproduce the behaviour

I use the doccano 1.3.1 from here and setup with Python and Node.js.

When I create a project and injest data, whatever format I select, it show the rings keep spinning image

The data is from the tutorial and save as json format.

and the log of backend is keeping repeat the last line of following sample log:

[10/May/2021 22:10:39] "POST /v1/projects/2/upload HTTP/1.1" 200 50
[10/May/2021 22:10:42] "GET /v1/tasks/status/e881360a-1a17-436b-ba7b-aa0d8c9845c3 HTTP/1.1" 200 42
[10/May/2021 22:10:45] "GET /v1/tasks/status/e881360a-1a17-436b-ba7b-aa0d8c9845c3 HTTP/1.1" 200 42
[10/May/2021 22:10:48] "GET /v1/tasks/status/e881360a-1a17-436b-ba7b-aa0d8c9845c3 HTTP/1.1" 200 42
[10/May/2021 22:10:51] "GET /v1/tasks/status/e881360a-1a17-436b-ba7b-aa0d8c9845c3 HTTP/1.1" 200 42

  • Operating System: Win10 x64
  • Python Version Used: 3.9.5
  • When you install doccano: today
  • How did you install doccano (Heroku button etc): python+node.js 14.16.1

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 10
  • Comments: 16 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Make sure “doccano task” command is running in another terminal from the one you used to run doccano

Same problem on Windows 10, Python 3.9, doccano 1.8. Tried multiple data formats in different sizes (only a few lines up to a hundred) but the spinner keeps on spinning. Is there maybe a workaround, where I can manually place the data in the DB or in some folder so doccano recognises it from the start without explicit import?

run “doccano task” in another terminal and the problem got fixed thanks to @RalphChobok

I’ve got the same problem on MacOS - why did you close the issue if it’s not fixed!!!?