Internal Server Errors when publishing to Aggregate

I tried creating a simple test form (which I attached).

I managed to deploy the aggregate on Google Cloud Platform, but I always get these errors.

If I try to import the XML manually, this error pops up:

Error: Problem with JavaRosa Parsing Form: org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: Javarosa failed to construct a FormDef. Is this an XForm definition?

The XML comes straight out of http://build.opendatakit.org/ so I don't know what can I do… help?

DRUPA CONTACTS.xml (5.06 KB)

When building forms using ODK Build, you should run them through ODK
Validate before uploading.

This yields a number of errors.

These all indicate that you failed to specify a value for all of your
selection choices.

Every choice has two parts, a display string and a value string. The
display string is presented to the user, the value string is what is stored
in the submission file. The value string should not contain spaces.

··· On Wed, May 4, 2016 at 2:58 PM, David G. wrote:

I tried creating a simple test form (which I attached).

I managed to deploy the aggregate on Google Cloud Platform, but I always
get these errors.

If I try to import the XML manually, this error pops up:

Error: Problem with JavaRosa Parsing Form:
org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: Javarosa
failed to construct a FormDef. Is this an XForm definition?

The XML comes straight out of http://build.opendatakit.org/ so I don't
know what can I do… help?

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thank you for your reply, in fact I validated the form and figured out the
mistakes.

Still, when publishing to Aggregate (on GCP) I get an Internal Server
Error, the only way is to load the XML manually. It works, I guess…

Thanks again

··· On Thursday, May 5, 2016 at 12:17:24 AM UTC+2, David Gasperoni wrote: > > I tried creating a simple test form (which I attached). > > I managed to deploy the aggregate on Google Cloud Platform, but I always > get these errors. > > If I try to import the XML manually, this error pops up: > > Error: Problem with JavaRosa Parsing Form: > org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: Javarosa > failed to construct a FormDef. Is this an XForm definition? > > The XML comes straight out of http://build.opendatakit.org/ so I don't > know what can I do… help?

More info on validate is at https://opendatakit.org/use/validate/

··· On Wed, May 4, 2016 at 4:45 PM, Mitch Sundt wrote:

When building forms using ODK Build, you should run them through ODK
Validate before uploading.

https://opendatakit.org/downloads/download-info/odk-validate-2/

This yields a number of errors.

These all indicate that you failed to specify a value for all of your
selection choices.

Every choice has two parts, a display string and a value string. The
display string is presented to the user, the value string is what is stored
in the submission file. The value string should not contain spaces.

On Wed, May 4, 2016 at 2:58 PM, David G. mcdado@gmail.com wrote:

I tried creating a simple test form (which I attached).

I managed to deploy the aggregate on Google Cloud Platform, but I always
get these errors.

If I try to import the XML manually, this error pops up:

Error: Problem with JavaRosa Parsing Form:
org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: Javarosa
failed to construct a FormDef. Is this an XForm definition?

The XML comes straight out of http://build.opendatakit.org/ so I don't
know what can I do… help?

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

David,

Publishing directly won't work because Google deprecated the
technology that connects Build and Aggregate. It's a known issue
(https://github.com/clint-tseng/odkbuild/issues/32) and code
contributions to fix it are welcomed.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Sun, May 8, 2016 at 10:58 AM, David Gasperoni mcdado@gmail.com wrote:

Thank you for your reply, in fact I validated the form and figured out the
mistakes.

Still, when publishing to Aggregate (on GCP) I get an Internal Server Error,
the only way is to load the XML manually. It works, I guess…

Thanks again

On Thursday, May 5, 2016 at 12:17:24 AM UTC+2, David Gasperoni wrote:

I tried creating a simple test form (which I attached).

I managed to deploy the aggregate on Google Cloud Platform, but I always
get these errors.

If I try to import the XML manually, this error pops up:

Error: Problem with JavaRosa Parsing Form:
org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: Javarosa
failed to construct a FormDef. Is this an XForm definition?

The XML comes straight out of http://build.opendatakit.org/ so I don't
know what can I do… help?

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.