Uploading to appspot from Briefcase, "partially successful upload" error message

Hi,

One of my data collectors is unable to submit one of two forms through
Briefcase. The first form is submitted successfully, but the second form
gets an error message of "partially successful upload".

Clicking on details outputs the following:

Preparing for upload of form definition with 1 media attachments
Uploading form definition and 1 media attachments
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://projectname.appspot.com/formUploadhttps://tnsgane.appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions are
all correct.
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
Preparing for upload of submission (1 of 32) with 0 media attachments
Uploading submission (1 of 32) with no media attachments
Preparing for upload of submission (2 of 32) with 0 media attachments
Uploading submission (2 of 32) with no media attachments
Preparing for upload of submission (3 of 32) with 0 media attachments
Uploading submission (3 of 32) with no media attachments
Preparing for upload of submission (4 of 32) with 0 media attachments
Uploading submission (4 of 32) with no media attachments
Preparing for upload of submission (5 of 32) with 0 media attachments
Uploading submission (5 of 32) with no media attachments
Preparing for upload of submission (6 of 32) with 0 media attachments
Uploading submission (6 of 32) with no media attachments

There was more to the details message but unfortunately that's all he sent
me. Any advice on what could be causing the conflict?

Many thanks,

Kate

Kate,

It'd help if you could provide the detailed error message. It'd also
help to know what version of Briefcase and Aggregate you are using. If
you are using old versions, might be a good idea to upgrade.

If you are just looking for things to try...

  1. Try removing and re-adding the enumerator's account. Make sure they
    have a Form Manager account.

  2. Compare the XML of the form with the form in /sdcard/odk/forms. Are
    they the exact same? Use a diff tool to make sure.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Fri, Mar 21, 2014 at 1:26 PM, kdiaz@tns.org wrote:

Hi,

One of my data collectors is unable to submit one of two forms through
Briefcase. The first form is submitted successfully, but the second form
gets an error message of "partially successful upload".

Clicking on details outputs the following:

Preparing for upload of form definition with 1 media attachments
Uploading form definition and 1 media attachments
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://projectname.appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions are
all correct.
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
Preparing for upload of submission (1 of 32) with 0 media attachments
Uploading submission (1 of 32) with no media attachments
Preparing for upload of submission (2 of 32) with 0 media attachments
Uploading submission (2 of 32) with no media attachments
Preparing for upload of submission (3 of 32) with 0 media attachments
Uploading submission (3 of 32) with no media attachments
Preparing for upload of submission (4 of 32) with 0 media attachments
Uploading submission (4 of 32) with no media attachments
Preparing for upload of submission (5 of 32) with 0 media attachments
Uploading submission (5 of 32) with no media attachments
Preparing for upload of submission (6 of 32) with 0 media attachments
Uploading submission (6 of 32) with no media attachments

There was more to the details message but unfortunately that's all he sent
me. Any advice on what could be causing the conflict?

Many thanks,

Kate

--

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.

Searching the app, the usage of the CONFLICTS (409) error is related to
attempting to upload a form when that same form_id is still being deleted
on the server.

Is this a form that had a lot of data uploaded to the server? It can take
quite some time for the data table to be deleted on AppEngine (we have to
delete each row individually). ODK Aggregate suppresses the display of the
form on the forms screen, but it can still be in the process of being
deleted for several minutes or hours afterward, depending upon how much
data was in the table.

A quick way to confirm this is to try to upload the form definition via the
Form Management's Add Form button. It should return an error like:

"This form and its data have not yet been fully deleted from the server.
Please wait a few minutes and retry."

If this does not resolve, you can invite me ( mitchellsundt@gmail.com ) as
a developer and I will take a look
http://code.google.com/p/opendatakit/wiki/AppEngineTroubleshooting

··· ----------- Mitch

On Fri, Mar 21, 2014 at 2:20 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Kate,

It'd help if you could provide the detailed error message. It'd also
help to know what version of Briefcase and Aggregate you are using. If
you are using old versions, might be a good idea to upgrade.

If you are just looking for things to try...

  1. Try removing and re-adding the enumerator's account. Make sure they
    have a Form Manager account.

  2. Compare the XML of the form with the form in /sdcard/odk/forms. Are
    they the exact same? Use a diff tool to make sure.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Mar 21, 2014 at 1:26 PM, kdiaz@tns.org wrote:

Hi,

One of my data collectors is unable to submit one of two forms through
Briefcase. The first form is submitted successfully, but the second form
gets an error message of "partially successful upload".

Clicking on details outputs the following:

Preparing for upload of form definition with 1 media attachments
Uploading form definition and 1 media attachments
UPLOAD FAILED: Form definition upload failed. Detailed error: Conflict
(409) while accessing: https://projectname.appspot.com/formUpload
Please verify that the URL, your user credentials and your permissions
are
all correct.
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
retrieving next chunk of instanceIds from server...
Preparing for upload of submission (1 of 32) with 0 media attachments
Uploading submission (1 of 32) with no media attachments
Preparing for upload of submission (2 of 32) with 0 media attachments
Uploading submission (2 of 32) with no media attachments
Preparing for upload of submission (3 of 32) with 0 media attachments
Uploading submission (3 of 32) with no media attachments
Preparing for upload of submission (4 of 32) with 0 media attachments
Uploading submission (4 of 32) with no media attachments
Preparing for upload of submission (5 of 32) with 0 media attachments
Uploading submission (5 of 32) with no media attachments
Preparing for upload of submission (6 of 32) with 0 media attachments
Uploading submission (6 of 32) with no media attachments

There was more to the details message but unfortunately that's all he
sent
me. Any advice on what could be causing the conflict?

Many thanks,

Kate

--

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.

--

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