Debugging app in the field

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

···

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

I believe I am using ODK collect, but where do I check this?

···

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

···

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

···

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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/d6_svT6Fo5c/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 Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

···

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

···

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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/d6_svT6Fo5c/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 Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

···

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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+unsu...@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/d6_svT6Fo5c/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
kobo-users+unsu...@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
.

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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/d6_svT6Fo5c/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
kobo-users+unsu...@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
.

Thank you Patrick. We will try that.

In this case, the surveyor only tried to open the form and the error message started appearing. He had not yet started filling in the form.

However, we have another device in the field which shows the same message. This time the error started appearing during the household roster (q2b_ part) which was being repeated for different family members.

Best regards,

Tamara.

···

On Wed, Jul 22, 2015 at 11:05 AM, Vinck, Patrick pvi...@hsph.harvard.edu wrote:

Hi Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

Sent from Windows Mail

From: Moya Chin

Sent: ‎Wednesday‎, ‎July‎ ‎22‎, ‎2015 ‎12‎:‎06‎ ‎AM

To: kobo-...@googlegroups.com

Cc: Tamara Mathai

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

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
.

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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

Kind regards

Tamara

Patrick,

Deleting the ODK folder seems to have fixed the error. However, what should we do in the cases where some previous forms have been saved? We don’t want to be deleting data that has been collected. Is there any way to identify which forms are the ones with data in it, and delete everything but those?

Moya

···

2015-07-22 7:23 GMT-04:00 Tamara Mathai tamara...@gmail.com:

Thank you Patrick. We will try that.

In this case, the surveyor only tried to open the form and the error message started appearing. He had not yet started filling in the form.

However, we have another device in the field which shows the same message. This time the error started appearing during the household roster (q2b_ part) which was being repeated for different family members.

Best regards,

Tamara.

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

On Wed, Jul 22, 2015 at 11:05 AM, Vinck, Patrick pvi...@hsph.harvard.edu wrote:

Hi Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

Sent from Windows Mail

From: Moya Chin

Sent: ‎Wednesday‎, ‎July‎ ‎22‎, ‎2015 ‎12‎:‎06‎ ‎AM

To: kobo-...@googlegroups.com

Cc: Tamara Mathai

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

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
.

Kind regards

Tamara

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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/d6_svT6Fo5c/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 Moya,

I had a look at your complex validation condition for q3_0d. The issue is due to the fact that you are checking the response to the individual repeat groups based on a dynamic lookup of question ${q3_0id}. The calculation in Collect is failing when this value is not yet specified.

Removing the complex and / or statements, your condition looks like this:

indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id})

If your condition was as follows you wouldn’t have any issues:

indexed-repeat(${q2b_14}, ${group_hhroster}, 1)

But because you want a dynamic lookup based on the response to ${q3_0id}, you have to wrap the conditions in an if statement:

if( ${q3_0id} > 0, indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) , ‘unknown’ )

You can probably leave the conditions in the relevant field as you had before, though I’d recommend for testing to move them into a calculation question and output the result of the calculation in a note question.

I’ve attached a form that wraps indexed-repeat() the way you implemented it using a dynamic lookup (but much shorter for simplicity).

The reason your users were getting “stuck” with the problematic form is that the indexed-repeat() formula Patrick pointed out earlier is crashing Collect. Whenever you try to start a new form it then attempts to continue with the previous form draft, which then crashes over. To get out of this issue you can delete the /odk/metadata folder instead of the entire /odk folder. But since the form is the root problem, this will only be a temporary fix. In general, you should never have to delete the /odk folder from your device to get the form working. If you’re going to do this though I would suggest first uploading the collected data before proceeding to remove the folder. For reference, the data you collect is saved within the /odk/instances folder.

Finally, the reason this only appeared to show “on some devices” is because it only happened when you have added more than one repeat group of household members, which is when the above-mentioned calculation no longer knew which group to refer to.

Best,

Tino

index-repeat-safeguard.xls (5.5 KB)

···

On Wed, Jul 22, 2015 at 10:54 AM, Moya Chin moyaa...@gmail.com wrote:

Patrick,

Deleting the ODK folder seems to have fixed the error. However, what should we do in the cases where some previous forms have been saved? We don’t want to be deleting data that has been collected. Is there any way to identify which forms are the ones with data in it, and delete everything but those?

Moya

2015-07-22 7:23 GMT-04:00 Tamara Mathai tamara...@gmail.com:

Thank you Patrick. We will try that.

In this case, the surveyor only tried to open the form and the error message started appearing. He had not yet started filling in the form.

However, we have another device in the field which shows the same message. This time the error started appearing during the household roster (q2b_ part) which was being repeated for different family members.

Best regards,

Tamara.

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

On Wed, Jul 22, 2015 at 11:05 AM, Vinck, Patrick pvi...@hsph.harvard.edu wrote:

Hi Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

Sent from Windows Mail

From: Moya Chin

Sent: ‎Wednesday‎, ‎July‎ ‎22‎, ‎2015 ‎12‎:‎06‎ ‎AM

To: kobo-...@googlegroups.com

Cc: Tamara Mathai

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

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
.

Kind regards

Tamara

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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

Thanks so much Tino! We’ll try and push out another version so hopefully the forms stop crashing.

···

2015-07-28 12:53 GMT-04:00 Tino Kreutzer tino.k...@kobotoolbox.org:

Hi Moya,

I had a look at your complex validation condition for q3_0d. The issue is due to the fact that you are checking the response to the individual repeat groups based on a dynamic lookup of question ${q3_0id}. The calculation in Collect is failing when this value is not yet specified.

Removing the complex and / or statements, your condition looks like this:

indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id})

If your condition was as follows you wouldn’t have any issues:

indexed-repeat(${q2b_14}, ${group_hhroster}, 1)

But because you want a dynamic lookup based on the response to ${q3_0id}, you have to wrap the conditions in an if statement:

if( ${q3_0id} > 0, indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) , ‘unknown’ )

You can probably leave the conditions in the relevant field as you had before, though I’d recommend for testing to move them into a calculation question and output the result of the calculation in a note question.

I’ve attached a form that wraps indexed-repeat() the way you implemented it using a dynamic lookup (but much shorter for simplicity).

The reason your users were getting “stuck” with the problematic form is that the indexed-repeat() formula Patrick pointed out earlier is crashing Collect. Whenever you try to start a new form it then attempts to continue with the previous form draft, which then crashes over. To get out of this issue you can delete the /odk/metadata folder instead of the entire /odk folder. But since the form is the root problem, this will only be a temporary fix. In general, you should never have to delete the /odk folder from your device to get the form working. If you’re going to do this though I would suggest first uploading the collected data before proceeding to remove the folder. For reference, the data you collect is saved within the /odk/instances folder.

Finally, the reason this only appeared to show “on some devices” is because it only happened when you have added more than one repeat group of household members, which is when the above-mentioned calculation no longer knew which group to refer to.

Best,

Tino

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

On Wed, Jul 22, 2015 at 10:54 AM, Moya Chin moyaa...@gmail.com wrote:

Patrick,

Deleting the ODK folder seems to have fixed the error. However, what should we do in the cases where some previous forms have been saved? We don’t want to be deleting data that has been collected. Is there any way to identify which forms are the ones with data in it, and delete everything but those?

Moya

2015-07-22 7:23 GMT-04:00 Tamara Mathai tamara...@gmail.com:

Thank you Patrick. We will try that.

In this case, the surveyor only tried to open the form and the error message started appearing. He had not yet started filling in the form.

However, we have another device in the field which shows the same message. This time the error started appearing during the household roster (q2b_ part) which was being repeated for different family members.

Best regards,

Tamara.

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

On Wed, Jul 22, 2015 at 11:05 AM, Vinck, Patrick pvi...@hsph.harvard.edu wrote:

Hi Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

Sent from Windows Mail

From: Moya Chin

Sent: ‎Wednesday‎, ‎July‎ ‎22‎, ‎2015 ‎12‎:‎06‎ ‎AM

To: kobo-...@googlegroups.com

Cc: Tamara Mathai

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

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
.

Kind regards

Tamara

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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/d6_svT6Fo5c/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 Everyone

Anyone with a solution to this.

Within a repeat a group I have a Question eg. Q1 which has a list of items. I want to restrict such that you can only select a response once i.e. you can not select the same response for different repeats e.g. if QA what is the fruit? and response in 1. Banana and 2. Oranges, you can only select Banana once. How do I code with indexed repeat to have a constraint that response for QA is not repeated in the next repeat :smile:I am sure this is confusing

Regards

Stephane

···

On Wed, Jul 29, 2015 at 9:22 PM, Moya Chin moyaa...@gmail.com wrote:

Thanks so much Tino! We’ll try and push out another version so hopefully the forms stop crashing.

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.

Aloo Stephen Onuong’a
Research and Data Specialist

2015-07-28 12:53 GMT-04:00 Tino Kreutzer tino.k...@kobotoolbox.org:

Hi Moya,

I had a look at your complex validation condition for q3_0d. The issue is due to the fact that you are checking the response to the individual repeat groups based on a dynamic lookup of question ${q3_0id}. The calculation in Collect is failing when this value is not yet specified.

Removing the complex and / or statements, your condition looks like this:

indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id})

If your condition was as follows you wouldn’t have any issues:

indexed-repeat(${q2b_14}, ${group_hhroster}, 1)

But because you want a dynamic lookup based on the response to ${q3_0id}, you have to wrap the conditions in an if statement:

if( ${q3_0id} > 0, indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) , ‘unknown’ )

You can probably leave the conditions in the relevant field as you had before, though I’d recommend for testing to move them into a calculation question and output the result of the calculation in a note question.

I’ve attached a form that wraps indexed-repeat() the way you implemented it using a dynamic lookup (but much shorter for simplicity).

The reason your users were getting “stuck” with the problematic form is that the indexed-repeat() formula Patrick pointed out earlier is crashing Collect. Whenever you try to start a new form it then attempts to continue with the previous form draft, which then crashes over. To get out of this issue you can delete the /odk/metadata folder instead of the entire /odk folder. But since the form is the root problem, this will only be a temporary fix. In general, you should never have to delete the /odk folder from your device to get the form working. If you’re going to do this though I would suggest first uploading the collected data before proceeding to remove the folder. For reference, the data you collect is saved within the /odk/instances folder.

Finally, the reason this only appeared to show “on some devices” is because it only happened when you have added more than one repeat group of household members, which is when the above-mentioned calculation no longer knew which group to refer to.

Best,

Tino

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

On Wed, Jul 22, 2015 at 10:54 AM, Moya Chin moyaa...@gmail.com wrote:

Patrick,

Deleting the ODK folder seems to have fixed the error. However, what should we do in the cases where some previous forms have been saved? We don’t want to be deleting data that has been collected. Is there any way to identify which forms are the ones with data in it, and delete everything but those?

Moya

2015-07-22 7:23 GMT-04:00 Tamara Mathai tamara...@gmail.com:

Thank you Patrick. We will try that.

In this case, the surveyor only tried to open the form and the error message started appearing. He had not yet started filling in the form.

However, we have another device in the field which shows the same message. This time the error started appearing during the household roster (q2b_ part) which was being repeated for different family members.

Best regards,

Tamara.

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

On Wed, Jul 22, 2015 at 11:05 AM, Vinck, Patrick pvi...@hsph.harvard.edu wrote:

Hi Moya,

This error is not related to the installation of Kobo or the form in general.

Rather it points to a specific error associated with the relevance statement for question q3_0d which is complex and was I suppose added by hand. The relevance statement is as follow:

not( ((indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘2’ or indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘4’) and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 40) or indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60 or indexed-repeat(${q2b_6}, ${group_hhroster}, ${q3_0id}) = ‘1’ or (indexed-repeat(${q2b_5}, ${group_hhroster}, ${q3_0id}) = ‘5’ and indexed-repeat(${q2b_4}, ${group_hhroster}, ${q3_0id}) = ‘2’ and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 50) or ((indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘1’ or indexed-repeat(${q2b_10}, ${group_hhroster}, ${q3_0id}) = ‘5’) and indexed-repeat(${q2b_3}, ${group_hhroster}, ${q3_0id}) >= 60) or indexed-repeat(${q2b_14}, ${group_hhroster}, ${q3_0id}) = ‘1’ )

This relevance statement links to responses in a repeat section for the household roster. Since this error does not occur all the time, it would be good to see if this is caused any time q3_Od is asked or whether it occurs when specific answers are given to q2b_5 in the roster section. I cannot validate the relevance statement now, but hopefully someone else can look at it and see where an error may exist - it may be useful to test the form without the statement.

I hope this helps,

Best,

Patrick

Sent from Windows Mail

From: Moya Chin

Sent: ‎Wednesday‎, ‎July‎ ‎22‎, ‎2015 ‎12‎:‎06‎ ‎AM

To: kobo-...@googlegroups.com

Cc: Tamara Mathai

Tino, this is related to my earlier issue - I’ve sent an update on it. It may be better to reply to this thread, as Tamara (who is dealing with issues in the field) is cc’ed on this thread.

I’ve uploaded the specific error we are getting.

Thanks,

Moya

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
.

Kind regards

Tamara

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

Hi Moya,

Can you send more specifics about the exact errors you’re seeing, and when? If it’s an error while trying to “Get Blank Form” or “Send Finalized Form” it’s very likely that this is due to a connection error. That’s relatively common if you’re working in an area with very poor connectivity. In this case just repeat the process until the new form has been downloaded or the submitted data was uploaded. There should be no need to re-install the app.

If your problem is loading the form then we’ll need to check the form. If this is related to your earlier issue please let me know.

For the record, all files pertaining to KoBoCollect are on the phone/tablet’s internal memory inside a directory called ‘odk’. There should be no need to copy these files to your computer, even if you’re reinstalling the app (you’ll have to re-enter the unique URL, though).

Tino

On Fri, Jul 17, 2015 at 4:10 PM Moya Chin moyaa...@gmail.com wrote:

Unfortunately it’s ODK - we’re using the KoBo Collect app for our data collection.

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

2015-07-17 16:09 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

ODK Collect is the app you install on an Android Device. Enketo is what KoBo (quite un-exoticly) calls ‘webform’ and works in the browser. It requires no installation (and still works offline like ODK Collect).

(If it’s indeed ODK Collect, I hope somebody else can help you with your question as I don’t know much about that application).

On Friday, July 17, 2015 at 1:59:00 PM UTC-6, Moya Chin wrote:

I believe I am using ODK collect, but where do I check this?

2015-07-17 15:53 GMT-04:00 Martijn van de Rijdt
mar...@enketo.org:

Our survey is being deployed in the field soon, and we’ve encountered bugs that we don’t know how to deal with. For example, sometimes a user will not be able to get the survey form - whenever it’s loaded, it’ll always throw an error (despite others using the same form not getting the error and accessing the form without a problem). As of now, we are suggesting that they uninstall and re-install the app. In one case, that did not work. I am also wondering if it’ll help to delete all the files that are on the tablet (ideally after transferring it to a computer). Where is all the app data being stored, so that we can direct the interviewers what folders to delete? Also, if you have other suggestions on how the interviewers can troubleshoot in the field, that’d be great.

Are you using ODK Collect or Enketo on your tablets?

On Thursday, July 16, 2015 at 1:18:34 PM UTC-6, Moya Chin wrote:

Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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


Revolutionizing data collection since 2012.

Enketo | LinkedIn | GitHub | Twitter | Blog

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