Problem with indexed-repeat()

500 views
Skip to first unread message

Moya Chin

unread,
Jul 8, 2015, 5:57:48 AM7/8/15
to kobo-...@googlegroups.com
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

Tino Kreutzer

unread,
Jul 21, 2015, 2:52:25 PM7/21/15
to kobo-...@googlegroups.com
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.

Moya Chin

unread,
Jul 22, 2015, 12:04:49 AM7/22/15
to kobo-...@googlegroups.com
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

Images intégrées 1

--
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.

marcello....@gmail.com

unread,
Apr 13, 2016, 2:42:25 AM4/13/16
to Kobo Users
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

Tino Kreutzer

unread,
Apr 13, 2016, 1:33:46 PM4/13/16
to kobo-...@googlegroups.com
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

Jusca

unread,
Apr 25, 2016, 2:54:35 AM4/25/16
to Kobo Users
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.
Reply all
Reply to author
Forward
0 new messages