Hello all. Long time fan, first time poster. I am also having this problem, on a very small file (1.5MB) but with a ton of lookups. Let me explain:
I have developed a process in R through which a registry on one of our online (Azure SQL) project's database can have all it's schema exported to ODK for offline collection. The challenge has always been ensuring we are working with an updated list of villages, districts, regions etc, as well as any local organizations etc. In reality, we need a full offline relational system, but I've managed to flatten out all the references and make them work using choose_one
options lookuping into the choices
tab. (making sure to export hierarchies from the schema so that if we have the same village in different districts people don't select the wrong one! ).
The output then becomes a 3 sheet excel workbook (46 questions, about 50,000 select-one choices) which we feed into your form validator, but that's where I'm having the bug... your form-validator (http://opendatakit.org/xlsform/) give me the 413 error referenced above.
EDIT: The offline file works, as does the python autoconverter (even tho it does spit a bunch of errors:
Traceback (most recent call last):
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/xls2xform.py", line 146, in <module>
main_cli()
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/xls2xform.py", line 137, in main_cli
enketo=args.enketo_validate)
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/xls2xform.py", line 27, in xls2xform_convert
warnings=warnings, enketo=enketo)
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/survey.py", line 720, in print_xform_to_file
warnings.extend(odk_validate.check_xform(path))
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/validators/odk_validate/__init__.py", line 56, in check_xform
if not _java_installed():
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/validators/odk_validate/__init__.py", line 45, in _java_installed
stderr = run_popen_with_timeout(["java", "-version"], 100)[3]
File "/home/amit/.local/lib/python2.7/site-packages/pyxform/validators/util.py", line 53, in run_popen_with_timeout
startupinfo=startup_info)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Is the error on the webform expected?
Thanks for a great product!