Error message: "Only questions are allowed in 'field-list'

Hi there,

I have a number of loops in my survey where I first ask a yes or no
question for each item, and if the respondent answers yes, goes into a
group of questions. When we were deploying our survey yesterday, we found
that when we went to remove a group (the respondent changed his mind about
something), an error pops up that states:

"null. Only questions are allowed in 'field-list',. Bad node is
/SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". I've tried
a few things, but nothing seems to work. There is no field-list appearance
setting in this group, yet it still pops up. This repeat occurs a number of
times throughout the survey, so presumably I will get the same mistake.

Any advice is appreciated! I have attached the xlsform.

Best,
Mary

SOAR_facilitysurvey_full_2017May11_Kenya.xlsx (68.9 KB)

1 Like

Hi Mary,

This behavior you are describing sounds like a form bug, but I need
your help in reproducing it.

  1. What are the minimum steps I can take in the form to reproduce the problem?

  2. Do you think you could create and share a smaller (3-4) form that
    has this problem?

  3. What version of ODK Collect are you using?

Thanks,

Yaw

ยทยทยท On Wed, May 10, 2017 at 10:56 PM, Mary Qiu wrote: > Hi there, > > I have a number of loops in my survey where I first ask a yes or no question > for each item, and if the respondent answers yes, goes into a group of > questions. When we were deploying our survey yesterday, we found that when > we went to remove a group (the respondent changed his mind about something), > an error pops up that states: > > "null. Only questions are allowed in 'field-list',. Bad node is > /SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". I've tried > a few things, but nothing seems to work. There is no field-list appearance > setting in this group, yet it still pops up. This repeat occurs a number of > times throughout the survey, so presumably I will get the same mistake. > > Any advice is appreciated! I have attached the xlsform. > > Best, > Mary > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

Hi Yaw,

Here are the approximate steps to recreate the error message:

  1. Fill in the form (or just skip ahead to section 3).
  2. Start filling in section 3.1- say yes to 3.1 and start going through the
    loops
  3. Go back to the start of one of the loops (where it says do you offer X
    drug), and clear the entire group
  4. Navigate up to the menu bar and exit out of the survey
  5. Reopen the survey (and the error message SHOULD pop up, although I don't
    have any tablets left with me at the moment so am doing this from recall)

I can try and recreate the form into a smaller one, but unfortunately may
have trouble testing it out as I don't have an android device at the moment.

Best,
Mary

ยทยทยท On Monday, 15 May 2017 02:45:13 UTC+3, Yaw Anokwa wrote: > > Hi Mary, > > This behavior you are describing sounds like a form bug, but I need > your help in reproducing it. > > 1. What are the minimum steps I can take in the form to reproduce the > problem? > > 2. Do you think you could create and share a smaller (3-4) form that > has this problem? > > 3. What version of ODK Collect are you using? > > Thanks, > > Yaw > > On Wed, May 10, 2017 at 10:56 PM, Mary Qiu <mary...@gmail.com > wrote: > > Hi there, > > > > I have a number of loops in my survey where I first ask a yes or no > question > > for each item, and if the respondent answers yes, goes into a group of > > questions. When we were deploying our survey yesterday, we found that > when > > we went to remove a group (the respondent changed his mind about > something), > > an error pops up that states: > > > > "null. Only questions are allowed in 'field-list',. Bad node is > > /SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". I've > tried > > a few things, but nothing seems to work. There is no field-list > appearance > > setting in this group, yet it still pops up. This repeat occurs a number > of > > times throughout the survey, so presumably I will get the same mistake. > > > > Any advice is appreciated! I have attached the xlsform. > > > > Best, > > Mary > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Hi Mary,

I should have mentioned this earlier, but you have a well-organized
XLSForm. I actually said 'wow' when I opened it.

I've been able to reproduce the behavior you are seeing. It's hard to
describe, but the error happens when deleting a repeat with no
field-list but with an inner group with some relevancies. I've filed
it at https://github.com/opendatakit/collect/issues/1033.

In the process of tracking down this bug, I found another related bug
where a field-list appears when deleting a repeat with no field-list.
That one is filed at
https://github.com/opendatakit/collect/issues/1032.

I've marked these bugs as high-priority and we'll be aiming for fixes
in the release that's coming at the end of the month.

If you need a fix before then, I'd recommend you download Collect
1.4.12. I can confirm those bugs are not in that version and you can
find that file at
https://opendatakit.org/downloads/download-info/odk-collect-apk.

Thanks again for reporting this issue and I hope you have a great day!

Yaw

ยทยทยท On Mon, May 15, 2017 at 9:17 AM, Mary Qiu wrote: > Hi Yaw, > > Here are the approximate steps to recreate the error message: > > 1. Fill in the form (or just skip ahead to section 3). > 2. Start filling in section 3.1- say yes to 3.1 and start going through the > loops > 3. Go back to the start of one of the loops (where it says do you offer X > drug), and clear the entire group > 4. Navigate up to the menu bar and exit out of the survey > 5. Reopen the survey (and the error message SHOULD pop up, although I don't > have any tablets left with me at the moment so am doing this from recall) > > I can try and recreate the form into a smaller one, but unfortunately may > have trouble testing it out as I don't have an android device at the moment. > > Best, > Mary > > On Monday, 15 May 2017 02:45:13 UTC+3, Yaw Anokwa wrote: >> >> Hi Mary, >> >> This behavior you are describing sounds like a form bug, but I need >> your help in reproducing it. >> >> 1. What are the minimum steps I can take in the form to reproduce the >> problem? >> >> 2. Do you think you could create and share a smaller (3-4) form that >> has this problem? >> >> 3. What version of ODK Collect are you using? >> >> Thanks, >> >> Yaw >> >> On Wed, May 10, 2017 at 10:56 PM, Mary Qiu wrote: >> > Hi there, >> > >> > I have a number of loops in my survey where I first ask a yes or no >> > question >> > for each item, and if the respondent answers yes, goes into a group of >> > questions. When we were deploying our survey yesterday, we found that >> > when >> > we went to remove a group (the respondent changed his mind about >> > something), >> > an error pops up that states: >> > >> > "null. Only questions are allowed in 'field-list',. Bad node is >> > /SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". I've >> > tried >> > a few things, but nothing seems to work. There is no field-list >> > appearance >> > setting in this group, yet it still pops up. This repeat occurs a number >> > of >> > times throughout the survey, so presumably I will get the same mistake. >> > >> > Any advice is appreciated! I have attached the xlsform. >> > >> > Best, >> > Mary >> > >> > -- >> > -- >> > Post: opend...@googlegroups.com >> > Unsubscribe: opendatakit...@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> > --- >> > You received this message because you are subscribed to the Google >> > Groups >> > "ODK Community" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to opendatakit...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

Hi Mary,

Good news! We've been able to fix the bug you reported and it'll be in
release at the end of the month.

Thanks,

Yaw

ยทยทยท On Wed, May 17, 2017 at 9:49 PM, Yaw Anokwa wrote: > Hi Mary, > > I should have mentioned this earlier, but you have a well-organized > XLSForm. I actually said 'wow' when I opened it. > > I've been able to reproduce the behavior you are seeing. It's hard to > describe, but the error happens when deleting a repeat with no > field-list but with an inner group with some relevancies. I've filed > it at https://github.com/opendatakit/collect/issues/1033. > > In the process of tracking down this bug, I found another related bug > where a field-list appears when deleting a repeat with no field-list. > That one is filed at > https://github.com/opendatakit/collect/issues/1032. > > I've marked these bugs as high-priority and we'll be aiming for fixes > in the release that's coming at the end of the month. > > If you need a fix before then, I'd recommend you download Collect > 1.4.12. I can confirm those bugs are not in that version and you can > find that file at > https://opendatakit.org/downloads/download-info/odk-collect-apk. > > Thanks again for reporting this issue and I hope you have a great day! > > Yaw > > On Mon, May 15, 2017 at 9:17 AM, Mary Qiu wrote: >> Hi Yaw, >> >> Here are the approximate steps to recreate the error message: >> >> 1. Fill in the form (or just skip ahead to section 3). >> 2. Start filling in section 3.1- say yes to 3.1 and start going through the >> loops >> 3. Go back to the start of one of the loops (where it says do you offer X >> drug), and clear the entire group >> 4. Navigate up to the menu bar and exit out of the survey >> 5. Reopen the survey (and the error message SHOULD pop up, although I don't >> have any tablets left with me at the moment so am doing this from recall) >> >> I can try and recreate the form into a smaller one, but unfortunately may >> have trouble testing it out as I don't have an android device at the moment. >> >> Best, >> Mary >> >> On Monday, 15 May 2017 02:45:13 UTC+3, Yaw Anokwa wrote: >>> >>> Hi Mary, >>> >>> This behavior you are describing sounds like a form bug, but I need >>> your help in reproducing it. >>> >>> 1. What are the minimum steps I can take in the form to reproduce the >>> problem? >>> >>> 2. Do you think you could create and share a smaller (3-4) form that >>> has this problem? >>> >>> 3. What version of ODK Collect are you using? >>> >>> Thanks, >>> >>> Yaw >>> >>> On Wed, May 10, 2017 at 10:56 PM, Mary Qiu wrote: >>> > Hi there, >>> > >>> > I have a number of loops in my survey where I first ask a yes or no >>> > question >>> > for each item, and if the respondent answers yes, goes into a group of >>> > questions. When we were deploying our survey yesterday, we found that >>> > when >>> > we went to remove a group (the respondent changed his mind about >>> > something), >>> > an error pops up that states: >>> > >>> > "null. Only questions are allowed in 'field-list',. Bad node is >>> > /SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". I've >>> > tried >>> > a few things, but nothing seems to work. There is no field-list >>> > appearance >>> > setting in this group, yet it still pops up. This repeat occurs a number >>> > of >>> > times throughout the survey, so presumably I will get the same mistake. >>> > >>> > Any advice is appreciated! I have attached the xlsform. >>> > >>> > Best, >>> > Mary >>> > >>> > -- >>> > -- >>> > Post: opend...@googlegroups.com >>> > Unsubscribe: opendatakit...@googlegroups.com >>> > Options: http://groups.google.com/group/opendatakit?hl=en >>> > >>> > --- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "ODK Community" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an >>> > email to opendatakit...@googlegroups.com. >>> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout.

Hi Yaw, thank you so much for looking into this! Apologies for the somewhat
delayed response, I was in transit back to the USA.

And thanks for the compliment :slight_smile: This is actually my first ODK survey (I
learned ODK just for this study), and was somewhat feeling like I was in
over my head...but that definitely makes me feel a bit better haha!

Mary

ยทยทยท On Thursday, 18 May 2017 14:00:45 UTC-4, Yaw Anokwa wrote: > > Hi Mary, > > Good news! We've been able to fix the bug you reported and it'll be in > release at the end of the month. > > Thanks, > > Yaw > > On Wed, May 17, 2017 at 9:49 PM, Yaw Anokwa <yan...@nafundi.com > wrote: > > Hi Mary, > > > > I should have mentioned this earlier, but you have a well-organized > > XLSForm. I actually said 'wow' when I opened it. > > > > I've been able to reproduce the behavior you are seeing. It's hard to > > describe, but the error happens when deleting a repeat with no > > field-list but with an inner group with some relevancies. I've filed > > it at https://github.com/opendatakit/collect/issues/1033. > > > > In the process of tracking down this bug, I found another related bug > > where a field-list appears when deleting a repeat with no field-list. > > That one is filed at > > https://github.com/opendatakit/collect/issues/1032. > > > > I've marked these bugs as high-priority and we'll be aiming for fixes > > in the release that's coming at the end of the month. > > > > If you need a fix before then, I'd recommend you download Collect > > 1.4.12. I can confirm those bugs are not in that version and you can > > find that file at > > https://opendatakit.org/downloads/download-info/odk-collect-apk. > > > > Thanks again for reporting this issue and I hope you have a great day! > > > > Yaw > > > > On Mon, May 15, 2017 at 9:17 AM, Mary Qiu <mary...@gmail.com > wrote: > >> Hi Yaw, > >> > >> Here are the approximate steps to recreate the error message: > >> > >> 1. Fill in the form (or just skip ahead to section 3). > >> 2. Start filling in section 3.1- say yes to 3.1 and start going through > the > >> loops > >> 3. Go back to the start of one of the loops (where it says do you offer > X > >> drug), and clear the entire group > >> 4. Navigate up to the menu bar and exit out of the survey > >> 5. Reopen the survey (and the error message SHOULD pop up, although I > don't > >> have any tablets left with me at the moment so am doing this from > recall) > >> > >> I can try and recreate the form into a smaller one, but unfortunately > may > >> have trouble testing it out as I don't have an android device at the > moment. > >> > >> Best, > >> Mary > >> > >> On Monday, 15 May 2017 02:45:13 UTC+3, Yaw Anokwa wrote: > >>> > >>> Hi Mary, > >>> > >>> This behavior you are describing sounds like a form bug, but I need > >>> your help in reproducing it. > >>> > >>> 1. What are the minimum steps I can take in the form to reproduce the > >>> problem? > >>> > >>> 2. Do you think you could create and share a smaller (3-4) form that > >>> has this problem? > >>> > >>> 3. What version of ODK Collect are you using? > >>> > >>> Thanks, > >>> > >>> Yaw > >>> > >>> On Wed, May 10, 2017 at 10:56 PM, Mary Qiu wrote: > >>> > Hi there, > >>> > > >>> > I have a number of loops in my survey where I first ask a yes or no > >>> > question > >>> > for each item, and if the respondent answers yes, goes into a group > of > >>> > questions. When we were deploying our survey yesterday, we found > that > >>> > when > >>> > we went to remove a group (the respondent changed his mind about > >>> > something), > >>> > an error pops up that states: > >>> > > >>> > "null. Only questions are allowed in 'field-list',. Bad node is > >>> > /SOAR_facilitysurvey_full_2017May11_Kenya/S3Q1_repeat/S3Q1_1-4". > I've > >>> > tried > >>> > a few things, but nothing seems to work. There is no field-list > >>> > appearance > >>> > setting in this group, yet it still pops up. This repeat occurs a > number > >>> > of > >>> > times throughout the survey, so presumably I will get the same > mistake. > >>> > > >>> > Any advice is appreciated! I have attached the xlsform. > >>> > > >>> > Best, > >>> > Mary > >>> > > >>> > -- > >>> > -- > >>> > Post: opend...@googlegroups.com > >>> > Unsubscribe: opendatakit...@googlegroups.com > >>> > Options: http://groups.google.com/group/opendatakit?hl=en > >>> > > >>> > --- > >>> > You received this message because you are subscribed to the Google > >>> > Groups > >>> > "ODK Community" group. > >>> > To unsubscribe from this group and stop receiving emails from it, > send > >>> > an > >>> > email to opendatakit...@googlegroups.com. > >>> > For more options, visit https://groups.google.com/d/optout. > >> > >> -- > >> -- > >> Post: opend...@googlegroups.com > >> Unsubscribe: opendatakit...@googlegroups.com > >> Options: http://groups.google.com/group/opendatakit?hl=en > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "ODK Community" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to opendatakit...@googlegroups.com . > >> For more options, visit https://groups.google.com/d/optout. >