Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exporting form to aggregate crashes #219

Open
GoogleCodeExporter opened this issue Jul 23, 2015 · 16 comments
Open

exporting form to aggregate crashes #219

GoogleCodeExporter opened this issue Jul 23, 2015 · 16 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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 [email protected] on 25 May 2011 at 6:37

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by [email protected] on 26 May 2011 at 5:57

  • Added labels: Build

@GoogleCodeExporter
Copy link
Contributor Author

Could you please attach the exported form, or tell me what your username and 
form name are?

Original comment by clint%[email protected] on 26 May 2011 at 6:17

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 26 May 2011 at 8:11

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

I looked at the ToDo.xml. javarosa could not parse the form. I have tweaked the 
xml and updating here.

Original comment by [email protected] on 8 Jun 2011 at 7:30

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 15 Nov 2011 at 12:31

@GoogleCodeExporter
Copy link
Contributor Author

[deleted comment]

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 27 Aug 2012 at 11:17

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

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%[email protected] on 28 Aug 2012 at 4:54

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 28 Aug 2012 at 6:58

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

Looks in this one like you have some select options that have only been given 
labels, not values.

Original comment by clint%[email protected] on 28 Aug 2012 at 7:03

@GoogleCodeExporter
Copy link
Contributor Author

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

Original comment by [email protected] on 28 Aug 2012 at 7:18

@GoogleCodeExporter
Copy link
Contributor Author

Many error cases, very little time. :)

Original comment by clint%[email protected] on 28 Aug 2012 at 8:38

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 31 Oct 2012 at 1:19

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 6 Mar 2013 at 12:59

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 29 Jan 2014 at 8:57

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

I've solved. 

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

Hope it helps

Original comment by [email protected] on 13 Feb 2014 at 12:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant