biigle/reports

Full report "field larger than field limit"

Closed this issue · 1 comments

mzur commented

Investigate this error and prevent it from happening again:

The report script 'full_report' failed with exit code 1:
    Traceback (most recent call last):
      File "/var/www/vendor/biigle/reports/src/config/../resources/scripts/full_report.py", line 58, in <module>
        add_sheet(csv_path, i)
      File "/var/www/vendor/biigle/reports/src/config/../resources/scripts/full_report.py", line 22, in add_sheet
        for row in csv_reader:
    _csv.Error: field larger than field limit (131072)
mzur commented

This can be fixed by increasing the field size limit. The OS issues mentioned there are of no concern for us, as the code only runs in Docker containers.