While we try to track down the problem, I've rolled back http://opendatakit.org/xlsform to the previous version (v1.5). If you use XLSForm Offline, you can download the previous version (v1.11) here.
Thank you for your help. Both the online and offline versions still produce the same error message. Is there another way to convert the xml file, I have always used this online/offline tools so I am not sure about other options.
@AL Can you retry the online server? I just made a few changes. Also, what version of the offline app did you try? Finally, can you please share a small form that has this problem? It'd really help track this down.
@Genevieve_Audet_B, @pjames, and @Sivan I'm having trouble reproducing the list index out of range issue. Do you have a sample form that you can share so we can fix this problem?
Hi, I think the issue is back today (Sep 24, 2019 @ 10:15 MST) using https://opendatakit.org/xlsform/ v.1.6.1 . I'm attempting to convert a XLSform that previously worked, and am getting the exact same error as above:
"Error: There does not seem to be a allow_choice_duplicates column header defined in your settings sheet. You must have set allow_choice_duplicates setting in your settings sheet to have duplicate choice list names in your choices sheet"
@Greg You probably have a duplicate choice name in one or more of your choice lists. This is a new error that was added because choices with the same name will be impossible to differentiate in analysis.
You will need to either remove the duplicate choices or add allow_choice_duplicates column in your settings sheet and below that header write yes.
I experiment this issue with a form which previously works perfectly
I did not change any thing except the version name
were can I find the previous version ?
@ganesh_rajput, @Fabienne35, the problem is almost certainly that you actually have duplicate choice names in one or more of your lists. For example, you might have options with labels "Red" and Blue" that both have the name "2". This is a problem because you won't be able to tell in analysis whether the user selected red or blue. That's what the error is about.
Sometimes this is intentional because you want to do something like give red and blue the same "weight" when doing a calculation later. In that case, you can add a settings sheet (see http://xlsform.org/en/#settings-worksheet), add a column named allow_choice_duplicates and put the value yes below that heading.
Please make sure to read this post for context. You have two options:
If you intend for each choice to be treated differently in analysis, look for duplicate names in your lists and replace them with unique names
If you intend to have choices that are treated the same in analysis, add the allow_choice_duplicates column with value yes below it on the settings sheet (see http://xlsform.org/en/#settings-worksheet).
I also encountered this issue today, converting a form which I had successfully converted 4 days ago (using the same online converter). It works with the "allow_choice_duplicates" in the online v1.6.1 - however, is this a temporary issue, or should I include this setting for all forms going forward?
@Carina_T_King You'll need to include this setting for a forms where you want to have choice duplicates. We've updated our docs at http://xlsform.org/en/#choice-names and update XLSForm Online with improved error messages.