You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A project with translations in the form title hit an error when generating CSVs.
The special characters are not the issue, the CSV generation code handles those, but the length in this case is too long for the javascript file system.
2024-10-02T17:55:37.688Z ERROR /tangerine/server/src/scripts/generate-csv-data-set/generate-csv-data-set.js:51:11 Error when exec-ing generate-csv: Error: Command failed: cd /tangerine/server/src/scripts/generate-csv/ && ./bin.js group-d4ffd76e-3cd7-490a-a43f-7930e907e671-reporting form-8e017ebb-1266-40fc-ba10-daf902069b38 "/csv/ECN_Survey-_t-lang_en_Annex_E__Household_Baseline_Survey_Instrument___t-lang__t-lang_amh_አባሪ_ሠ፡_የቤት_ለቤት_የዳሰሳ_ጥናት_መረጃ_መሰብሰቢያ_ቅጽ___t-lang__t-lang_orm_Dabalata_E__Meeshaa_Qorannoo_Bu’uuraa_Abbaa_War-1727891737344.csv" 50 0 '' ''
[Error: ENAMETOOLONG: name too long, open '/csv/ECN_Survey-_t-lang_en_Annex_E__Household_Baseline_Survey_Instrument___t-lang__t-lang_amh_አባሪ_ሠ፡_የቤት_ለቤት_የዳሰሳ_ጥናት_መረጃ_መሰብሰቢያ_ቅጽ___t-lang__t-lang_orm_Dabalata_E__Meeshaa_Qorannoo_Bu’uuraa_Abbaa_War-1727891737344.csv'] {
errno: -36,
code: 'ENAMETOOLONG',
syscall: 'open',
path: '/csv/ECN_Survey-_t-lang_en_Annex_E__Household_Baseline_Survey_Instrument___t-lang__t-lang_amh_አባሪ_ሠ፡_የቤት_ለቤት_የዳሰሳ_ጥናት_መረጃ_መሰብሰቢያ_ቅጽ___t-lang__t-lang_orm_Dabalata_E__Meeshaa_Qorannoo_Bu’uuraa_Abbaa_War-1727891737344.csv'
}
Options
Strip the form title down to 60 chars
Use the form id instead of the form title
If translation tags exist, use the english translation (what if there is no english?)
In the form definition, change how translations are handled --> For example, have "formTile" and "formTitleTranslations" as attributes.
The text was updated successfully, but these errors were encountered:
A project with translations in the form title hit an error when generating CSVs.
The special characters are not the issue, the CSV generation code handles those, but the length in this case is too long for the javascript file system.
Options
The text was updated successfully, but these errors were encountered: