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
If you have workbook with Survey or Choices rather than survey and choices, XLSForm reports "Error: The survey sheet is either empty or missing important column headers. I think we these sheet names should be case-insensitive. I thought from #141 addressed it, but using the attached case.xlsx
in pyxform 1.7.0 fails.
The text was updated successfully, but these errors were encountered:
I can reproduce this with the example file. A quick fix would be to change xls2json_backends.py to:
if sheet.name.lower() not in constants.SUPPORTED_SHEET_NAMES:
The test for this in test_sheet_columns.py is fine. Unfortunately since it is a PyxformXform test it bypasses the raw XLS processing step in xls2json_backends.py where the problem arises. A fix should include an end-to-end test with the sample XLSX file to ensure test coverage.
If you have workbook with
Survey
orChoices
rather thansurvey
andchoices
, XLSForm reports "Error: The survey sheet is either empty or missing important column headers. I think we these sheet names should be case-insensitive. I thought from #141 addressed it, but using the attached case.xlsxin pyxform 1.7.0 fails.
The text was updated successfully, but these errors were encountered: