Debug Sending From ODK Collect to ODK Aggregate

Hi.

We've developed a survey using ODK Build. It's loaded to ODK Aggregate
(running on Google App Engine) and we're using ODK Collect on an
Android phone and tablet for collecting and sending in data.

I've tested a few basic forms and they work fine.

We are having problems with the larger survey we created. We can fill
out the survey and mark it completed. But we go to send it in, we get
"Sorry, 1 of 1 item(s) failed to send!"

Versions:
ODK Collect v1.1.5
ODK Aggregate v0.9.2.1

I should note that we did have several issues related to building the
form and getting it to load properly:

  • space's etc. in underlying values strings
  • missing options for select/multiselect
  • incorrect syntax for skip logic.

We seem to have resolved those, as we can now load it into Aggregate,
onto Collect and actually fill out the form. But we can't send it in.

On the Google App Engine Dashboard, I can see some errors for /
submission "Uncaught exception from servlet
java.io.IOException: org.odk.aggregate.exception.ODKParseException"

I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly
appreciate some help on this. Any idea what could cause this, or how
to figure out the issue?

I'm getting a bit worried as we have a surveying team planning to use
this in the field next week. I can supply the full exception traceback
and/or the full XML export of the form if that would be helpful.

Thanks,
Matt

Definitely upgrade to 0.9.6; while it is unlikely, there was a javarosa
library update last summer that may resolve your issue.

If the problem continues to exist in 0.9.6, post your form to dpaste.com and
also the filled-out submission
(this is in /sdcard/odk/instances/ ; it will be a .xml file within a
directory with form name and datestamp).

Send us the dpaste link, and we'll take a look.

Mitch

··· On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman wrote:

Hi.

We've developed a survey using ODK Build. It's loaded to ODK Aggregate
(running on Google App Engine) and we're using ODK Collect on an
Android phone and tablet for collecting and sending in data.

I've tested a few basic forms and they work fine.

We are having problems with the larger survey we created. We can fill
out the survey and mark it completed. But we go to send it in, we get
"Sorry, 1 of 1 item(s) failed to send!"

Versions:
ODK Collect v1.1.5
ODK Aggregate v0.9.2.1

I should note that we did have several issues related to building the
form and getting it to load properly:

  • space's etc. in underlying values strings
  • missing options for select/multiselect
  • incorrect syntax for skip logic.

We seem to have resolved those, as we can now load it into Aggregate,
onto Collect and actually fill out the form. But we can't send it in.

On the Google App Engine Dashboard, I can see some errors for /
submission "Uncaught exception from servlet
java.io.IOException: org.odk.aggregate.exception.ODKParseException"

I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly
appreciate some help on this. Any idea what could cause this, or how
to figure out the issue?

I'm getting a bit worried as we have a surveying team planning to use
this in the field next week. I can supply the full exception traceback
and/or the full XML export of the form if that would be helpful.

Thanks,
Matt

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Hey Mitch,

Thanks for the quick reply.

Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste
because the form XML is too long. So I've uploaded it to dropbox
http://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml

As for the submission, I'm trying to track something down a cord or
card reader to get it off the phone.

I should note, this is actually only part of the form. The whole thing
includes some intro questions, and then 4 sections. When I removed
everything but the intro questions, it worked. When I added section 1
it stopped working.

Any help would be greatly appreciated.

Thanks,
Matt

··· On Apr 29, 12:55 pm, Mitch Sundt wrote: > Definitely upgrade to 0.9.6; while it is unlikely, there was a javarosa > library update last summer that may resolve your issue. > > If the problem continues to exist in 0.9.6, post your form to dpaste.com and > also the filled-out submission > (this is in /sdcard/odk/instances/ ; it will be a .xml file within a > directory with form name and datestamp). > > Send us the dpaste link, and we'll take a look. > > Mitch > > > > > > > > > > On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman wrote: > > Hi. > > > We've developed a survey using ODK Build. It's loaded to ODK Aggregate > > (running on Google App Engine) and we're using ODK Collect on an > > Android phone and tablet for collecting and sending in data. > > > I've tested a few basic forms and they work fine. > > > We are having problems with the larger survey we created. We can fill > > out the survey and mark it completed. But we go to send it in, we get > > "Sorry, 1 of 1 item(s) failed to send!" > > > Versions: > > ODK Collect v1.1.5 > > ODK Aggregate v0.9.2.1 > > > I should note that we did have several issues related to building the > > form and getting it to load properly: > > - space's etc. in underlying values strings > > - missing options for select/multiselect > > - incorrect syntax for skip logic. > > > We seem to have resolved those, as we can now load it into Aggregate, > > onto Collect and actually fill out the form. But we can't send it in. > > > On the Google App Engine Dashboard, I can see some errors for / > > submission "Uncaught exception from servlet > > java.io.IOException: org.odk.aggregate.exception.ODKParseException" > > > I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly > > appreciate some help on this. Any idea what could cause this, or how > > to figure out the issue? > > > I'm getting a bit worried as we have a surveying team planning to use > > this in the field next week. I can supply the full exception traceback > > and/or the full XML export of the form if that would be helpful. > > > Thanks, > > Matt > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en > > -- > Mitch Sundt > Software Engineerhttp://www.OpenDataKit.org > University of Washington > mitchellsu...@gmail.com

I'm not finding the xml file inside of /sdcard/odk/instances/

All of the directories are there (for each instance created) but no
xml file. Even for the instances for valid surveys that I can send in
successfully. Is there another location these could saving?

Note: I have also noticed that even after successfully sending, the
survey instance sticks around on the device. If there are no other
instances yet to, it doesn't show in "Continue Saved Form", but if
there is one yet to send it will show "Continue Saved Form (1)" and
then show 2 instances, one being the one already sent.

Thanks,
Matt

··· On Apr 29, 1:35 pm, Matt Langeman wrote: > Hey Mitch, > > Thanks for the quick reply. > > Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste > because the form XML is too long. So I've uploaded it to dropboxhttp://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml > > As for the submission, I'm trying to track something down a cord or > card reader to get it off the phone. > > I should note, this is actually only part of the form. The whole thing > includes some intro questions, and then 4 sections. When I removed > everything but the intro questions, it worked. When I added section 1 > it stopped working. > > Any help would be greatly appreciated. > > Thanks, > Matt > > On Apr 29, 12:55 pm, Mitch Sundt wrote: > > > > > > > > > Definitely upgrade to 0.9.6; while it is unlikely, there was a javarosa > > library update last summer that may resolve your issue. > > > If the problem continues to exist in 0.9.6, post your form to dpaste.com and > > also the filled-out submission > > (this is in /sdcard/odk/instances/ ; it will be a .xml file within a > > directory with form name and datestamp). > > > Send us the dpaste link, and we'll take a look. > > > Mitch > > > On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman wrote: > > > Hi. > > > > We've developed a survey using ODK Build. It's loaded to ODK Aggregate > > > (running on Google App Engine) and we're using ODK Collect on an > > > Android phone and tablet for collecting and sending in data. > > > > I've tested a few basic forms and they work fine. > > > > We are having problems with the larger survey we created. We can fill > > > out the survey and mark it completed. But we go to send it in, we get > > > "Sorry, 1 of 1 item(s) failed to send!" > > > > Versions: > > > ODK Collect v1.1.5 > > > ODK Aggregate v0.9.2.1 > > > > I should note that we did have several issues related to building the > > > form and getting it to load properly: > > > - space's etc. in underlying values strings > > > - missing options for select/multiselect > > > - incorrect syntax for skip logic. > > > > We seem to have resolved those, as we can now load it into Aggregate, > > > onto Collect and actually fill out the form. But we can't send it in. > > > > On the Google App Engine Dashboard, I can see some errors for / > > > submission "Uncaught exception from servlet > > > java.io.IOException: org.odk.aggregate.exception.ODKParseException" > > > > I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly > > > appreciate some help on this. Any idea what could cause this, or how > > > to figure out the issue? > > > > I'm getting a bit worried as we have a surveying team planning to use > > > this in the field next week. I can supply the full exception traceback > > > and/or the full XML export of the form if that would be helpful. > > > > Thanks, > > > Matt > > > > -- > > > Post: opendatakit@googlegroups.com > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > > Options:http://groups.google.com/group/opendatakit?hl=en > > > -- > > Mitch Sundt > > Software Engineerhttp://www.OpenDataKit.org > > University of Washington > > mitchellsu...@gmail.com

Hi Mitch,

I've gotten a submission file based on the entire form (all sections/
groups).

The form XML that is on ODK Aggregate:
http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed.xml
The submission XML from ODK Collect:
http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed_2011-04-29_18-35-36.xml

Don't be tricked by the term "Fixed". This gives an error both when
sending in ODK and when uploading directly into ODK Aggregate.

Any help would be greatly appreciated.

Thanks,
Matt

··· On Apr 29, 2:11 pm, Matt Langeman wrote: > I'm not finding the xml file inside of /sdcard/odk/instances/ > > All of the directories are there (for each instance created) but no > xml file. Even for the instances for valid surveys that I can send in > successfully. Is there another location these could saving? > > Note: I have also noticed that even after successfully sending, the > survey instance sticks around on the device. If there are no other > instances yet to, it doesn't show in "Continue Saved Form", but if > there is one yet to send it will show "Continue Saved Form (1)" and > then show 2 instances, one being the one already sent. > > Thanks, > Matt > > On Apr 29, 1:35 pm, Matt Langeman wrote: > > > > > > > > > Hey Mitch, > > > Thanks for the quick reply. > > > Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste > > because the form XML is too long. So I've uploaded it to dropboxhttp://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml > > > As for the submission, I'm trying to track something down a cord or > > card reader to get it off the phone. > > > I should note, this is actually only part of the form. The whole thing > > includes some intro questions, and then 4 sections. When I removed > > everything but the intro questions, it worked. When I added section 1 > > it stopped working. > > > Any help would be greatly appreciated. > > > Thanks, > > Matt > > > On Apr 29, 12:55 pm, Mitch Sundt wrote: > > > > Definitely upgrade to 0.9.6; while it is unlikely, there was a javarosa > > > library update last summer that may resolve your issue. > > > > If the problem continues to exist in 0.9.6, post your form to dpaste.com and > > > also the filled-out submission > > > (this is in /sdcard/odk/instances/ ; it will be a .xml file within a > > > directory with form name and datestamp). > > > > Send us the dpaste link, and we'll take a look. > > > > Mitch > > > > On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman wrote: > > > > Hi. > > > > > We've developed a survey using ODK Build. It's loaded to ODK Aggregate > > > > (running on Google App Engine) and we're using ODK Collect on an > > > > Android phone and tablet for collecting and sending in data. > > > > > I've tested a few basic forms and they work fine. > > > > > We are having problems with the larger survey we created. We can fill > > > > out the survey and mark it completed. But we go to send it in, we get > > > > "Sorry, 1 of 1 item(s) failed to send!" > > > > > Versions: > > > > ODK Collect v1.1.5 > > > > ODK Aggregate v0.9.2.1 > > > > > I should note that we did have several issues related to building the > > > > form and getting it to load properly: > > > > - space's etc. in underlying values strings > > > > - missing options for select/multiselect > > > > - incorrect syntax for skip logic. > > > > > We seem to have resolved those, as we can now load it into Aggregate, > > > > onto Collect and actually fill out the form. But we can't send it in. > > > > > On the Google App Engine Dashboard, I can see some errors for / > > > > submission "Uncaught exception from servlet > > > > java.io.IOException: org.odk.aggregate.exception.ODKParseException" > > > > > I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly > > > > appreciate some help on this. Any idea what could cause this, or how > > > > to figure out the issue? > > > > > I'm getting a bit worried as we have a surveying team planning to use > > > > this in the field next week. I can supply the full exception traceback > > > > and/or the full XML export of the form if that would be helpful. > > > > > Thanks, > > > > Matt > > > > > -- > > > > Post: opendatakit@googlegroups.com > > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > > > Options:http://groups.google.com/group/opendatakit?hl=en > > > > -- > > > Mitch Sundt > > > Software Engineerhttp://www.OpenDataKit.org > > > University of Washington > > > mitchellsu...@gmail.com

Great. Thanks.

··· On Fri, Apr 29, 2011 at 11:53 AM, Matt Langeman wrote:

Hi Mitch,

I've gotten a submission file based on the entire form (all sections/
groups).

The form XML that is on ODK Aggregate:
http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed.xml
The submission XML from ODK Collect:

http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed_2011-04-29_18-35-36.xml

Don't be tricked by the term "Fixed". This gives an error both when
sending in ODK and when uploading directly into ODK Aggregate.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 2:11 pm, Matt Langeman mklange...@gmail.com wrote:

I'm not finding the xml file inside of /sdcard/odk/instances/

All of the directories are there (for each instance created) but no
xml file. Even for the instances for valid surveys that I can send in
successfully. Is there another location these could saving?

Note: I have also noticed that even after successfully sending, the
survey instance sticks around on the device. If there are no other
instances yet to, it doesn't show in "Continue Saved Form", but if
there is one yet to send it will show "Continue Saved Form (1)" and
then show 2 instances, one being the one already sent.

Thanks,
Matt

On Apr 29, 1:35 pm, Matt Langeman mklange...@gmail.com wrote:

Hey Mitch,

Thanks for the quick reply.

Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste
because the form XML is too long. So I've uploaded it to dropboxhttp://
dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml

As for the submission, I'm trying to track something down a cord or
card reader to get it off the phone.

I should note, this is actually only part of the form. The whole thing
includes some intro questions, and then 4 sections. When I removed
everything but the intro questions, it worked. When I added section 1
it stopped working.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 12:55 pm, Mitch Sundt msu...@cs.washington.edu wrote:

Definitely upgrade to 0.9.6; while it is unlikely, there was a
javarosa

library update last summer that may resolve your issue.

If the problem continues to exist in 0.9.6, post your form to
dpaste.com and

also the filled-out submission
(this is in /sdcard/odk/instances/ ; it will be a .xml file within a
directory with form name and datestamp).

Send us the dpaste link, and we'll take a look.

Mitch

On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman mklange...@gmail.com wrote:

Hi.

We've developed a survey using ODK Build. It's loaded to ODK
Aggregate

(running on Google App Engine) and we're using ODK Collect on an
Android phone and tablet for collecting and sending in data.

I've tested a few basic forms and they work fine.

We are having problems with the larger survey we created. We can
fill

out the survey and mark it completed. But we go to send it in, we
get

"Sorry, 1 of 1 item(s) failed to send!"

Versions:
ODK Collect v1.1.5
ODK Aggregate v0.9.2.1

I should note that we did have several issues related to building
the

form and getting it to load properly:

  • space's etc. in underlying values strings
  • missing options for select/multiselect
  • incorrect syntax for skip logic.

We seem to have resolved those, as we can now load it into
Aggregate,

onto Collect and actually fill out the form. But we can't send it
in.

On the Google App Engine Dashboard, I can see some errors for /
submission "Uncaught exception from servlet
java.io.IOException: org.odk.aggregate.exception.ODKParseException"

I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly
appreciate some help on this. Any idea what could cause this, or
how

to figure out the issue?

I'm getting a bit worried as we have a surveying team planning to
use

this in the field next week. I can supply the full exception
traceback

and/or the full XML export of the form if that would be helpful.

Thanks,
Matt

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineerhttp://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Aggregate 0.9.x has a limitation in the structure of the xforms it accepts.

Basically, if you have:

Where and are non-repeating groups.

The form will upload into aggregate 0.9.x, but you won't be able to upload
submissions.
This is because the non-repeating group names don't factor into how 0.9.x
names columns. So it gets to the second and determines that
it already has a value for , and it throws the exception you're
seeing. Unfortunately, there isn't an easy way from the error to determine
exactly what fields are problematic.

In your form, the first three such fields are:

education
three_four
three_six

Note that three_four is a problem because it is used as both a value name
and a non-repeating group.

Mitch

··· On Fri, Apr 29, 2011 at 12:05 PM, Mitch Sundt wrote:

Great. Thanks.

On Fri, Apr 29, 2011 at 11:53 AM, Matt Langeman mklangeman@gmail.comwrote:

Hi Mitch,

I've gotten a submission file based on the entire form (all sections/
groups).

The form XML that is on ODK Aggregate:
http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed.xml
The submission XML from ODK Collect:

http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed_2011-04-29_18-35-36.xml

Don't be tricked by the term "Fixed". This gives an error both when
sending in ODK and when uploading directly into ODK Aggregate.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 2:11 pm, Matt Langeman mklange...@gmail.com wrote:

I'm not finding the xml file inside of /sdcard/odk/instances/

All of the directories are there (for each instance created) but no
xml file. Even for the instances for valid surveys that I can send in
successfully. Is there another location these could saving?

Note: I have also noticed that even after successfully sending, the
survey instance sticks around on the device. If there are no other
instances yet to, it doesn't show in "Continue Saved Form", but if
there is one yet to send it will show "Continue Saved Form (1)" and
then show 2 instances, one being the one already sent.

Thanks,
Matt

On Apr 29, 1:35 pm, Matt Langeman mklange...@gmail.com wrote:

Hey Mitch,

Thanks for the quick reply.

Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste
because the form XML is too long. So I've uploaded it to
dropboxhttp://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml

As for the submission, I'm trying to track something down a cord or
card reader to get it off the phone.

I should note, this is actually only part of the form. The whole thing
includes some intro questions, and then 4 sections. When I removed
everything but the intro questions, it worked. When I added section 1
it stopped working.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 12:55 pm, Mitch Sundt msu...@cs.washington.edu wrote:

Definitely upgrade to 0.9.6; while it is unlikely, there was a
javarosa

library update last summer that may resolve your issue.

If the problem continues to exist in 0.9.6, post your form to
dpaste.com and

also the filled-out submission
(this is in /sdcard/odk/instances/ ; it will be a .xml file within a
directory with form name and datestamp).

Send us the dpaste link, and we'll take a look.

Mitch

On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman < mklange...@gmail.com> wrote:

Hi.

We've developed a survey using ODK Build. It's loaded to ODK
Aggregate

(running on Google App Engine) and we're using ODK Collect on an
Android phone and tablet for collecting and sending in data.

I've tested a few basic forms and they work fine.

We are having problems with the larger survey we created. We can
fill

out the survey and mark it completed. But we go to send it in, we
get

"Sorry, 1 of 1 item(s) failed to send!"

Versions:
ODK Collect v1.1.5
ODK Aggregate v0.9.2.1

I should note that we did have several issues related to building
the

form and getting it to load properly:

  • space's etc. in underlying values strings
  • missing options for select/multiselect
  • incorrect syntax for skip logic.

We seem to have resolved those, as we can now load it into
Aggregate,

onto Collect and actually fill out the form. But we can't send it
in.

On the Google App Engine Dashboard, I can see some errors for /
submission "Uncaught exception from servlet
java.io.IOException:
org.odk.aggregate.exception.ODKParseException"

I'm planning on upgrade ODK Aggregate to v0.9.6, but would greatly
appreciate some help on this. Any idea what could cause this, or
how

to figure out the issue?

I'm getting a bit worried as we have a surveying team planning to
use

this in the field next week. I can supply the full exception
traceback

and/or the full XML export of the form if that would be helpful.

Thanks,
Matt

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineerhttp://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer

http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Oh, and with respect to deleting instances...

In the interest of minimizing data loss, ODK Collect does not automatically
delete submitted data. You need to go to "Manage Forms and Data", the Data
tab, and delete the submitted data manually.

Displaying the submitted data on the open saved forms page is either a bug
or a feature :wink:

Mitch

··· On Fri, Apr 29, 2011 at 12:40 PM, Mitch Sundt wrote:

Aggregate 0.9.x has a limitation in the structure of the xforms it accepts.

Basically, if you have:

Where and are non-repeating groups.

The form will upload into aggregate 0.9.x, but you won't be able to upload
submissions.
This is because the non-repeating group names don't factor into how 0.9.x
names columns. So it gets to the second and determines that
it already has a value for , and it throws the exception you're
seeing. Unfortunately, there isn't an easy way from the error to determine
exactly what fields are problematic.

In your form, the first three such fields are:

education
three_four
three_six

Note that three_four is a problem because it is used as both a value name
and a non-repeating group.

Mitch

On Fri, Apr 29, 2011 at 12:05 PM, Mitch Sundt msundt@cs.washington.eduwrote:

Great. Thanks.

On Fri, Apr 29, 2011 at 11:53 AM, Matt Langeman mklangeman@gmail.comwrote:

Hi Mitch,

I've gotten a submission file based on the entire form (all sections/
groups).

The form XML that is on ODK Aggregate:
http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed.xml
The submission XML from ODK Collect:

http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed_2011-04-29_18-35-36.xml

Don't be tricked by the term "Fixed". This gives an error both when
sending in ODK and when uploading directly into ODK Aggregate.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 2:11 pm, Matt Langeman mklange...@gmail.com wrote:

I'm not finding the xml file inside of /sdcard/odk/instances/

All of the directories are there (for each instance created) but no
xml file. Even for the instances for valid surveys that I can send in
successfully. Is there another location these could saving?

Note: I have also noticed that even after successfully sending, the
survey instance sticks around on the device. If there are no other
instances yet to, it doesn't show in "Continue Saved Form", but if
there is one yet to send it will show "Continue Saved Form (1)" and
then show 2 instances, one being the one already sent.

Thanks,
Matt

On Apr 29, 1:35 pm, Matt Langeman mklange...@gmail.com wrote:

Hey Mitch,

Thanks for the quick reply.

Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste
because the form XML is too long. So I've uploaded it to
dropboxhttp://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml

As for the submission, I'm trying to track something down a cord or
card reader to get it off the phone.

I should note, this is actually only part of the form. The whole
thing

includes some intro questions, and then 4 sections. When I removed
everything but the intro questions, it worked. When I added section 1
it stopped working.

Any help would be greatly appreciated.

Thanks,
Matt

On Apr 29, 12:55 pm, Mitch Sundt msu...@cs.washington.edu wrote:

Definitely upgrade to 0.9.6; while it is unlikely, there was a
javarosa

library update last summer that may resolve your issue.

If the problem continues to exist in 0.9.6, post your form to
dpaste.com and

also the filled-out submission
(this is in /sdcard/odk/instances/ ; it will be a .xml file within
a

directory with form name and datestamp).

Send us the dpaste link, and we'll take a look.

Mitch

On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman < mklange...@gmail.com> wrote:

Hi.

We've developed a survey using ODK Build. It's loaded to ODK
Aggregate

(running on Google App Engine) and we're using ODK Collect on an
Android phone and tablet for collecting and sending in data.

I've tested a few basic forms and they work fine.

We are having problems with the larger survey we created. We can
fill

out the survey and mark it completed. But we go to send it in, we
get

"Sorry, 1 of 1 item(s) failed to send!"

Versions:
ODK Collect v1.1.5
ODK Aggregate v0.9.2.1

I should note that we did have several issues related to building
the

form and getting it to load properly:

  • space's etc. in underlying values strings
  • missing options for select/multiselect
  • incorrect syntax for skip logic.

We seem to have resolved those, as we can now load it into
Aggregate,

onto Collect and actually fill out the form. But we can't send it
in.

On the Google App Engine Dashboard, I can see some errors for /
submission "Uncaught exception from servlet
java.io.IOException:
org.odk.aggregate.exception.ODKParseException"

I'm planning on upgrade ODK Aggregate to v0.9.6, but would
greatly

appreciate some help on this. Any idea what could cause this, or
how

to figure out the issue?

I'm getting a bit worried as we have a surveying team planning to
use

this in the field next week. I can supply the full exception
traceback

and/or the full XML export of the form if that would be helpful.

Thanks,
Matt

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineerhttp://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer

http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer

University of Washington
mitchellsundt@gmail.com

Thanks Mitch!!

We've fixed up the form and are now able to submit successfully.

Matt

··· On Apr 29, 3:45 pm, Mitch Sundt wrote: > Oh, and with respect to deleting instances... > > In the interest of minimizing data loss, ODK Collect does not automatically > delete submitted data. You need to go to "Manage Forms and Data", the Data > tab, and delete the submitted data manually. > > Displaying the submitted data on the open saved forms page is either a bug > or a feature ;-) > > Mitch > > On Fri, Apr 29, 2011 at 12:40 PM, Mitch Sundt wrote: > > > > > > > > > > > Aggregate 0.9.x has a limitation in the structure of the xforms it accepts. > > > Basically, if you have: > > > > > > > > > > > > > > > > > > > > Where and are non-repeating groups. > > > The form will upload into aggregate 0.9.x, but you won't be able to upload > > submissions. > > This is because the non-repeating group names don't factor into how 0.9.x > > names columns. So it gets to the second and determines that > > it already has a value for , and it throws the exception you're > > seeing. Unfortunately, there isn't an easy way from the error to determine > > exactly what fields are problematic. > > > In your form, the first three such fields are: > > > education > > three_four > > three_six > > > Note that three_four is a problem because it is used as both a value name > > and a non-repeating group. > > > Mitch > > > On Fri, Apr 29, 2011 at 12:05 PM, Mitch Sundt wrote: > > >> Great. Thanks. > > >> On Fri, Apr 29, 2011 at 11:53 AM, Matt Langeman wrote: > > >>> Hi Mitch, > > >>> I've gotten a submission file based on the entire form (all sections/ > >>> groups). > > >>> The form XML that is on ODK Aggregate: > >>>http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed.xml > >>> The submission XML from ODK Collect: > > >>>http://dl.dropbox.com/u/4612050/Savings%20Questionnaire%20Fixed_2011-... > > >>> Don't be tricked by the term "Fixed". This gives an error both when > >>> sending in ODK and when uploading directly into ODK Aggregate. > > >>> Any help would be greatly appreciated. > > >>> Thanks, > >>> Matt > > >>> On Apr 29, 2:11 pm, Matt Langeman wrote: > >>> > I'm not finding the xml file inside of /sdcard/odk/instances/ > > >>> > All of the directories are there (for each instance created) but no > >>> > xml file. Even for the instances for valid surveys that I can send in > >>> > successfully. Is there another location these could saving? > > >>> > Note: I have also noticed that even after successfully sending, the > >>> > survey instance sticks around on the device. If there are no other > >>> > instances yet to, it doesn't show in "Continue Saved Form", but if > >>> > there is one yet to send it will show "Continue Saved Form (1)" and > >>> > then show 2 instances, one being the one already sent. > > >>> > Thanks, > >>> > Matt > > >>> > On Apr 29, 1:35 pm, Matt Langeman wrote: > > >>> > > Hey Mitch, > > >>> > > Thanks for the quick reply. > > >>> > > Upgrading to 0.9.6 did not help. I wasn't able to upload to dpaste > >>> > > because the form XML is too long. So I've uploaded it to > >>> dropboxhttp://dl.dropbox.com/u/4612050/ODK%20Form%20upto%20sect%201.xml > > >>> > > As for the submission, I'm trying to track something down a cord or > >>> > > card reader to get it off the phone. > > >>> > > I should note, this is actually only part of the form. The whole > >>> thing > >>> > > includes some intro questions, and then 4 sections. When I removed > >>> > > everything but the intro questions, it worked. When I added section 1 > >>> > > it stopped working. > > >>> > > Any help would be greatly appreciated. > > >>> > > Thanks, > >>> > > Matt > > >>> > > On Apr 29, 12:55 pm, Mitch Sundt wrote: > > >>> > > > Definitely upgrade to 0.9.6; while it is unlikely, there was a > >>> javarosa > >>> > > > library update last summer that may resolve your issue. > > >>> > > > If the problem continues to exist in 0.9.6, post your form to > >>> dpaste.com and > >>> > > > also the filled-out submission > >>> > > > (this is in /sdcard/odk/instances/ ; it will be a .xml file within > >>> a > >>> > > > directory with form name and datestamp). > > >>> > > > Send us the dpaste link, and we'll take a look. > > >>> > > > Mitch > > >>> > > > On Fri, Apr 29, 2011 at 9:02 AM, Matt Langeman < mklange...@gmail.com> wrote: > >>> > > > > Hi. > > >>> > > > > We've developed a survey using ODK Build. It's loaded to ODK > >>> Aggregate > >>> > > > > (running on Google App Engine) and we're using ODK Collect on an > >>> > > > > Android phone and tablet for collecting and sending in data. > > >>> > > > > I've tested a few basic forms and they work fine. > > >>> > > > > We are having problems with the larger survey we created. We can > >>> fill > >>> > > > > out the survey and mark it completed. But we go to send it in, we > >>> get > >>> > > > > "Sorry, 1 of 1 item(s) failed to send!" > > >>> > > > > Versions: > >>> > > > > ODK Collect v1.1.5 > >>> > > > > ODK Aggregate v0.9.2.1 > > >>> > > > > I should note that we did have several issues related to building > >>> the > >>> > > > > form and getting it to load properly: > >>> > > > > - space's etc. in underlying values strings > >>> > > > > - missing options for select/multiselect > >>> > > > > - incorrect syntax for skip logic. > > >>> > > > > We seem to have resolved those, as we can now load it into > >>> Aggregate, > >>> > > > > onto Collect and actually fill out the form. But we can't send it > >>> in. > > >>> > > > > On the Google App Engine Dashboard, I can see some errors for / > >>> > > > > submission "Uncaught exception from servlet > >>> > > > > java.io.IOException: > >>> org.odk.aggregate.exception.ODKParseException" > > >>> > > > > I'm planning on upgrade ODK Aggregate to v0.9.6, but would > >>> greatly > >>> > > > > appreciate some help on this. Any idea what could cause this, or > >>> how > >>> > > > > to figure out the issue? > > >>> > > > > I'm getting a bit worried as we have a surveying team planning to > >>> use > >>> > > > > this in the field next week. I can supply the full exception > >>> traceback > >>> > > > > and/or the full XML export of the form if that would be helpful. > > >>> > > > > Thanks, > >>> > > > > Matt > > >>> > > > > -- > >>> > > > > Post: opendatakit@googlegroups.com > >>> > > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >>> > > > > Options:http://groups.google.com/group/opendatakit?hl=en > > >>> > > > -- > >>> > > > Mitch Sundt > >>> > > > Software Engineerhttp://www.OpenDataKit.org > >>> > > > University of Washington > >>> > > > mitchellsu...@gmail.com > > >>> -- > >>> Post: opendatakit@googlegroups.com > >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >>> Options:http://groups.google.com/group/opendatakit?hl=en > > >> -- > >> Mitch Sundt > >> Software Engineer > > >>http://www.OpenDataKit.org > >> University of Washington > >> mitchellsu...@gmail.com > > > -- > > Mitch Sundt > > Software Engineer > >http://www.OpenDataKit.org > > University of Washington > > mitchellsu...@gmail.com > > -- > Mitch Sundt > Software Engineerhttp://www.OpenDataKit.org > University of Washington > mitchellsu...@gmail.com