doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.56k stars 1.72k forks source link

Uploading txt file in Heroku app does not work #1211

Closed DB-Python closed 3 years ago

DB-Python commented 3 years ago

How to reproduce the behaviour

I am starting with an NLP project on case law and want to use doccanos for annotation. I am using doccanos with the heroku app and trying to upload txt files (UTF-8) of case law (11 kB). The text is in one line and contains 1643 words. Doccanos gives the following error: "The file could not be uploaded. Maybe invalid format. Please check available formats carefully.". I've tried multiple times, also with less text, and sometimes it works, but most of the time not. How to resolve this?

For clarity sake, I added the text file I wanted to upload to doccanos for annotation.

Test file.txt

Your Environment

Hironsan commented 3 years ago

When I removed the additional new line, I can successfully upload the file.