1. What is the issue? Please be detailed.
Only one of my enumerators managed to submit the form successfully, which generated both an audit.csv file and an XML file. However, the other enumerators completed their forms, but they couldn’t upload them. As a result, only the audit.csv files were generated without the corresponding XML files, and I need the XML to extract the survey answers.
After investigating, I found that ODK Collect was dropping some photos, even though they were part of a required question. The successfully submitted form is located in the instances folder, while the incomplete ones are in folders containing only the photos and audit.csv files, with no other files or subfolders.
2. What steps can we take to reproduce this issue?
I believe you can try deleting a photo from the ODK Collect directory of one of the answers on your mobile device after saving the form as a draft, then attempt to send it afterward.
3. What have you tried to fix the issue?
I’ve tried to construct the XML files (which I need) from the audit.csv files using Python, but I haven’t been able to build them perfectly, as some elements are still being misplaced. Only one enumerator managed to generate both an audit.csv file and the corresponding XML file. So, I wrote a script to generate an XML file, which I then compare with the one created by ODK Collect to check if the construction was successful.
4. Upload any forms or screenshots you can share publicly below.