biigle / reports

:m: BIIGLE module to generate reports for projects and volumes
GNU General Public License v3.0
1 stars 2 forks source link

Full report "field larger than field limit" #79

Closed mzur closed 2 years ago

mzur commented 2 years ago

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 2 years ago

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.