SEL-Columbia / pyxform

A Python package to create XForms for ODK Collect.
21 stars 9 forks source link

Index Out of Range, On cascading selects #69

Closed ukanga closed 11 years ago

ukanga commented 11 years ago
File "/.../pyxform/xls2json.py", line 688, in parse_file_to_json
    return workbook_to_json(workbook_dict, default_name, default_language, warnings)

  File "/.../pyxform/xls2json.py", line 531, in workbook_to_json
    cascading_json = cascading_choices[0]['questions']

Seems to occur if the cascade sheet is not included in the xlsform.

Moved issue from https://github.com/modilabs/formhub/issues/923