anupmishra20 / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

exporting form to aggregate crashes #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a form in the ODK Collect
2. Export to Aggregage, where Aggregate is an appengine instance
3.

What is the expected output? What do you see instead?
I expect it to export the form to Aggregate. Instead, I see {"error":"Something 
went wrong when trying to post to Aggregate."}

What version of the product are you using? On what operating system?
I am using ODK Aggregate v.0.9.6

Please provide any additional information below.
I also saved the form as an xml file to my computer and then logged in to my 
appspot.com application and tried to upload the form, but instead of uploading 
the form, it give me the following error:
"Internal Server Error" although I grant access to it.

Original issue reported on code.google.com by mkhan1...@gmail.com on 25 May 2011 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 26 May 2011 at 5:57

GoogleCodeExporter commented 9 years ago
Could you please attach the exported form, or tell me what your username and 
form name are?

Original comment by clint%do...@gtempaccount.com on 26 May 2011 at 6:17

GoogleCodeExporter commented 9 years ago
I am attaching the exported XML form. Please note that I did not create the 
form manually. The form was generated by "ODK build"

It is a very simple form, I just used it to test ODK for potential use at my 
organization.

Original comment by mkhan1...@gmail.com on 26 May 2011 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
I looked at the ToDo.xml. javarosa could not parse the form. I have tweaked the 
xml and updating here.

Original comment by baidyan...@google.com on 8 Jun 2011 at 7:30

Attachments:

GoogleCodeExporter commented 9 years ago
I have encountered the same "Internal Server Error" when publishing my form to 
aggregate. What is the current status on this issue? 

Original comment by maya.hao...@gmail.com on 15 Nov 2011 at 12:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same problem. I was following 
http://www.google.com/earth/outreach/tutorials/odk_gettingstarted.html

I created the form using http://build.opendatakit.org/ and I created the app 
engine instance using 
http://code.google.com/p/opendatakit/downloads/detail?name=ODK%20Aggregate%20v1.
2.0%20osx-installer.app.zip&can=2&q= 

Also, if I try to download the XML file and upload it I get an error "AppEngine 
Application Problem"
In the log there seems to be an error parsing the XML 
http://pastebin.com/2Gs9iaQP

Some forms seem to work fine, and others don't. I have not pinpointed the 
problem yet.

Original comment by chr...@gmail.com on 27 Aug 2012 at 11:17

Attachments:

GoogleCodeExporter commented 9 years ago
The internal error is almost always caused by a problem with your form. In this 
case, the Owner(s) node needs to have its instance name renamed to not have 
parentheses. Ideally, ODK Build should catch all these cases, but there are 
quite a few of them and even ODK Validate doesn't know about them all.

Original comment by clint%do...@gtempaccount.com on 28 Aug 2012 at 4:54

GoogleCodeExporter commented 9 years ago
I guess I uploaded the wrong file. I had already fixed that issue. Here is the 
current version with that issue fixed. This is the file that was causing the 
reported problem for me, not the other file I uploaded before.

Original comment by chr...@gmail.com on 28 Aug 2012 at 6:58

Attachments:

GoogleCodeExporter commented 9 years ago
Looks in this one like you have some select options that have only been given 
labels, not values.

Original comment by clint%do...@gtempaccount.com on 28 Aug 2012 at 7:03

GoogleCodeExporter commented 9 years ago
Yup, that did it. Any reason why http://build.opendatakit.org/ does not flag 
that as an issue?

Original comment by chr...@gmail.com on 28 Aug 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Many error cases, very little time. :)

Original comment by clint%do...@gtempaccount.com on 28 Aug 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Using 'build' I have created a form and when I attempt to 'publish to 
aggregate' I get the internal server error. I've validated the form with 
success. I've also tried created test forms with only one input and they're 
also generated the same error. I am using Aggregate v1.2.0. I want to run the 
form disconnected on a Nexus 7. I would welcome work-arounds. Attached is the 
build file.  

Original comment by ejglo...@gmail.com on 31 Oct 2012 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,
I'm using 1.3.0 and ODK Aggregate me the same error occurred. If I try to 
export the form from ODK Building directly, I get the following error: 
{"error": "Something went wrong trying to post to when to Aggregate."}

And if I try to export from and import into ODK ODK Building aggregate, I get 
the following error: Error: Problem with Parsing JavaRosa Form: Javarosa failed 
to construct a FormDef. Is this an XForm definition?

Could anyone help? Home form I created to test to see where is the error.

Thanks in advance

Original comment by jccastro...@gmail.com on 6 Mar 2013 at 12:59

Attachments:

GoogleCodeExporter commented 9 years ago
I'm having the same issue.

How can I repair my form? What are the errors in it so I can repair next forms 
by myself?

Thanks in advance

Original comment by abe...@gmail.com on 29 Jan 2014 at 8:57

Attachments:

GoogleCodeExporter commented 9 years ago
I've solved. 

I've read:
http://opendatakit.org/use/validate/
http://opendatakit.org/downloads/download-category/validate/

Hope it helps

Original comment by abe...@gmail.com on 13 Feb 2014 at 12:57