Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can’t already export labeled data! #1755

Closed
Edward-Joker opened this issue Mar 28, 2022 · 8 comments · Fixed by #1799
Closed

Can’t already export labeled data! #1755

Edward-Joker opened this issue Mar 28, 2022 · 8 comments · Fixed by #1799
Labels
bug Something isn't working
Projects

Comments

@Edward-Joker
Copy link

When I export the data I've annotated, a zip file won't open and the content is empty and UTF-8 encoding is used.
image
image
image
image
image

@github-actions
Copy link

Would you write your environment? Thank you!

@Edward-Joker
Copy link
Author

OS: Windows 10, Python==3.8.2

Ok, I checked the installed dependencies:
amqp 5.1.0
asgiref 3.5.0
auto-labeling-pipeline 0.1.21
backports.zoneinfo 0.2.1
billiard 3.6.4.0
boto3 1.21.27
botocore 1.24.27
celery 5.2.3
certifi 2021.10.8
chardet 4.0.0
charset-normalizer 2.0.12
click 8.0.4
click-didyoumean 0.3.0
click-plugins 1.1.1
click-repl 0.2.0
colorama 0.4.4
coreapi 2.3.3
coreschema 0.0.4
defusedxml 0.7.1
dj-database-url 0.5.0
dj-rest-auth 2.2.3
Django 4.0.3
django-celery-results 2.2.0
django-cors-headers 3.11.0
django-drf-filepond 0.4.1
django-filter 21.1
django-health-check 3.16.5
django-polymorphic 3.1.0
django-rest-polymorphic 0.1.9
django-storages 1.12.3
djangorestframework 3.13.1
djangorestframework-xml 2.0.0
doccano 1.6.2
drf-yasg 1.20.0
environs 9.5.0
et-xmlfile 1.1.0
furl 2.1.3
greenlet 1.1.2
gunicorn 20.1.0
idna 3.3
inflection 0.5.1
itypes 1.2.0
Jinja2 3.1.1
jmespath 1.0.0
joblib 1.1.0
kombu 5.2.4
lml 0.1.0
MarkupSafe 2.1.1
marshmallow 3.15.0
numpy 1.22.3
openpyxl 3.0.9
orderedmultidict 1.0.1
packaging 21.3
pip 21.2.2
prompt-toolkit 3.0.28
pydantic 1.9.0
pyexcel 0.7.0
pyexcel-io 0.6.6
pyexcel-xlsx 0.6.0
pyparsing 3.0.7
python-dateutil 2.8.2
python-dotenv 0.20.0
pytz 2022.1
requests 2.27.1
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.6
s3transfer 0.5.2
scikit-learn 1.0.2
scipy 1.8.0
seqeval 1.2.2
setuptools 59.6.0
shortuuid 1.0.8
six 1.16.0
SQLAlchemy 1.4.32
sqlparse 0.4.2
texttable 1.6.4
threadpoolctl 3.1.0
typing_extensions 4.1.1
tzdata 2022.1
uritemplate 4.1.1
urllib3 1.26.9
vine 5.0.0
waitress 2.1.1
wcwidth 0.2.5
wheel 0.37.1
whitenoise 6.0.0
wincertstore 0.2

@Edward-Joker
Copy link
Author

Does doccnao have to do all the text annotations to be exported?

@LighthouseInTheSea
Copy link

This seems to be an existing bug #1422

@Edward-Joker
Copy link
Author

This seems to be an existing bug #1422

I've also seen this issue and it doesn't seem to be resolved.

@LighthouseInTheSea
Copy link

LighthouseInTheSea commented Mar 29, 2022

https://github.com/doccano/doccano/projects/13 This will be fixed in version 1.7

@wpnbos
Copy link

wpnbos commented Mar 30, 2022

This happens because "checking" the document after annotation does not actually "approve" it in the database. A workaround is to download all examples, deselecting the "Export only approved documents" option in the interface, and manually filtering approved documents afterwards (I have provided some code for doing so in this issue).

@Edward-Joker
Copy link
Author

Thank you all for your help

@Hironsan Hironsan added the bug Something isn't working label Apr 25, 2022
@Hironsan Hironsan added this to To do in v1.7.0 via automation Apr 25, 2022
@Hironsan Hironsan moved this from To do to In progress in v1.7.0 Apr 25, 2022
v1.7.0 automation moved this from In progress to Done Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v1.7.0
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants