Problem with indexed-repeat()

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

kerala_social_security.xls (94 KB)

Hi Moya,

I tried loading your form on different devices and never had an issue like the one you described. If you’re still experiencing it I’d suggest deleting all blank forms from your device in Collect, or re-installing KoBoCollect. It appears like this is an issue with a cached version of your form.

Tino

···

On Wed, Jul 8, 2015 at 5:57 AM Moya Chin moyaa...@gmail.com wrote:

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi Tino,

Someone else has gotten this same error today. They managed to take a picture of the screen.

I have already tried deleting all forms and reinstalling KoBo toolbox in the earlier instance that this happened, but this didn’t solve the problem. Do you have any other suggestions?

Moya

···

2015-07-21 14:52 GMT-04:00 Tino Kreutzer tino.k...@kobotoolbox.org:

Hi Moya,

I tried loading your form on different devices and never had an issue like the one you described. If you’re still experiencing it I’d suggest deleting all blank forms from your device in Collect, or re-installing KoBoCollect. It appears like this is an issue with a cached version of your form.

Tino

On Wed, Jul 8, 2015 at 5:57 AM Moya Chin moyaa...@gmail.com wrote:

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/jDjdGANq5mI/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi all,

I am having a similar issue with a picture question and don’t really have any clue about how to fix it. I have tried to cancel older forms, also reinstalled Kobotoolbox but this got worse. Now I receive the error message at the beginning of the questionnaire and not anymore at the specific question.

Thanks a lot for your support

Marcello

···

On Wednesday, July 22, 2015 at 6:04:49 AM UTC+2, Moya Chin wrote:

Hi Tino,

Someone else has gotten this same error today. They managed to take a picture of the screen.

I have already tried deleting all forms and reinstalling KoBo toolbox in the earlier instance that this happened, but this didn’t solve the problem. Do you have any other suggestions?

Moya

2015-07-21 14:52 GMT-04:00 Tino Kreutzer tino...@kobotoolbox.org:

Hi Moya,

I tried loading your form on different devices and never had an issue like the one you described. If you’re still experiencing it I’d suggest deleting all blank forms from your device in Collect, or re-installing KoBoCollect. It appears like this is an issue with a cached version of your form.

Tino

On Wed, Jul 8, 2015 at 5:57 AM Moya Chin moya...@gmail.com wrote:

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/jDjdGANq5mI/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi Marcello,
Can you describe your issue in more detail please? Exact steps you’re taking to reproduce it, a link to your form or as an attachment here, and any screenshots showing the error would be great. Without those it’s impossible to troubleshoot unfortunately.

Best,

Tino

···

On Wed, Apr 13, 2016 at 2:42 AM, marcello....@gmail.com wrote:

Hi all,

I am having a similar issue with a picture question and don’t really have any clue about how to fix it. I have tried to cancel older forms, also reinstalled Kobotoolbox but this got worse. Now I receive the error message at the beginning of the questionnaire and not anymore at the specific question.

Thanks a lot for your support

Marcello

On Wednesday, July 22, 2015 at 6:04:49 AM UTC+2, Moya Chin wrote:

Hi Tino,

Someone else has gotten this same error today. They managed to take a picture of the screen.

I have already tried deleting all forms and reinstalling KoBo toolbox in the earlier instance that this happened, but this didn’t solve the problem. Do you have any other suggestions?

Moya

2015-07-21 14:52 GMT-04:00 Tino Kreutzer tino...@kobotoolbox.org:

Hi Moya,

I tried loading your form on different devices and never had an issue like the one you described. If you’re still experiencing it I’d suggest deleting all blank forms from your device in Collect, or re-installing KoBoCollect. It appears like this is an issue with a cached version of your form.

Tino

On Wed, Jul 8, 2015 at 5:57 AM Moya Chin moya...@gmail.com wrote:

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-us...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/jDjdGANq5mI/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-us...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi everyone,

I am also experiencing the same issue. I already posted my questions in another group and also to KoBo customer support. Could anyone help me in resolving such issues.

thanks a ton in advance!

Jusca.

···

On Wednesday, April 13, 2016 at 7:33:46 PM UTC+2, Tino Kreutzer wrote:

Hi Marcello,
Can you describe your issue in more detail please? Exact steps you’re taking to reproduce it, a link to your form or as an attachment here, and any screenshots showing the error would be great. Without those it’s impossible to troubleshoot unfortunately.

Best,

Tino

On Wed, Apr 13, 2016 at 2:42 AM, marcel...@gmail.com wrote:

Hi all,

I am having a similar issue with a picture question and don’t really have any clue about how to fix it. I have tried to cancel older forms, also reinstalled Kobotoolbox but this got worse. Now I receive the error message at the beginning of the questionnaire and not anymore at the specific question.

Thanks a lot for your support

Marcello

On Wednesday, July 22, 2015 at 6:04:49 AM UTC+2, Moya Chin wrote:

Hi Tino,

Someone else has gotten this same error today. They managed to take a picture of the screen.

I have already tried deleting all forms and reinstalling KoBo toolbox in the earlier instance that this happened, but this didn’t solve the problem. Do you have any other suggestions?

Moya

2015-07-21 14:52 GMT-04:00 Tino Kreutzer tino...@kobotoolbox.org:

Hi Moya,

I tried loading your form on different devices and never had an issue like the one you described. If you’re still experiencing it I’d suggest deleting all blank forms from your device in Collect, or re-installing KoBoCollect. It appears like this is an issue with a cached version of your form.

Tino

On Wed, Jul 8, 2015 at 5:57 AM Moya Chin moya...@gmail.com wrote:

I’m having trouble with the function indexed-repeat() that is not making sense to me. In my file, it is row 85. Essentially, the second part of the form asks the interviewer to cycle through the household members who are considered eligible. To do this, I have added a prompt that checks what individual the interviewer inputs, and checks if the household member is eligible based on the information inputted into a previous repeated group. When I “grab” the form from my tablet, it comes up with an error “error evaluating field ‘q3_0d’ the problem was located in relevant expression. Xpath evaluation: type mismatch. This field is repeated: (and it lists the instance of the field I am referencing). You may need to use the indexed-repeat function to specify which value you want”

However, I get this error on MY tablet, but a colleague is NOT getting the error on her tablet. This form has also been working previously on MY tablet, except I uploaded one update (unrelated to this field) and am getting this error now. Any ideas? Thanks!

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Kobo Users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/jDjdGANq5mI/unsubscribe.

To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi everyone,

I am also experiencing the same issue, a few days before a survey in diferent regions. Did anyone ever managed to bypass this issue?
I think that it can be linked to the capacity of the tablet being used, i’m not an expert in that but this tablet is pretty old and there are some complicate formulas in my survey (3 page of word for one formula) is it possible that it’s too heavy for the tablet?
Thanks a lot

Quentin

I’m also having the same issue. I’m trying to develop a form for the baseline study. we have separate repeated questions for families (parents and children for joint of nuclear


family). I cannot fill forms for children more than once.

do we have solution for this problem, I am having the same problem as well

@amritshakya, @Comstat have you validated your XLSForm through this online validator? It should also help you identify syntax issues if present in your XLSForm.

We have now started receiving these errors very suddenly after no issues at all with over one hundred responses. We did not make any changes at all to the form so have no idea what is causing this problem and no issue found on the validator. Any solution to this issue? It is critical as the exercise is currently active.

@barcar, could you also share a screenshot of the issue so that the community could troubleshoot?

Is this in the context if a dynamic attachment? Similar problem, reported here today: Error in Dynamic data linking for repeated variables