hipster-philology / pyrrha

A language-independent post-correction app for POS-tagging and lemmatization
https://pyrrha.huma-num.fr
MIT License
27 stars 16 forks source link

Unable to export tokens for larger corpora #242

Closed sonofmun closed 3 years ago

sonofmun commented 3 years ago

Describe the bug I have a corpus with 42,727 lemmata. When I try to export the tokens for this corpus, the download either fails (with CSV format) or it downloads an incomplete file (with TEI format). I have tested this in Ubuntu 20.04 with Firefox and Chromium and in Windows 10 with Firefox. All show the same behavior.

To Reproduce Steps to reproduce the behavior:

  1. Go to a larger corpus
  2. Click on "Export Tokens"
  3. Select a format to export
  4. Select "Save As..."
  5. The result is either an incomplete file or an error.

Expected behavior The file downloads. This seems to work with smaller corpora (works with a corpus with ~12,900 lemmata).

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

PonteIneptique commented 3 years ago

Thanks @sonofmun, we have a PR for this https://github.com/hipster-philology/pyrrha/pull/235, this bug appeared a couple weeks ago and seems to be server specific. We are on this task :)

PonteIneptique commented 3 years ago

Fixed :D