kobotoolbox / kpi

kpi is the (frontend) server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
https://www.kobotoolbox.org
GNU Affero General Public License v3.0
126 stars 170 forks source link

Form won't upload; message "Your upload is being processed. This may take a few moments" hangs indefinitely #1981

Open joeflack4 opened 5 years ago

joeflack4 commented 5 years ago

Description

Form won't upload; message "Your upload is being processed. This may take a few moments" hangs indefinitely

Steps to Reproduce

  1. Download either of the attachments (1) or (2).
  2. Attempt to upload into the KoBo Toolbox library.

Expected behavior

When uploading any XlsForm, the upload process should result either in success with a corresponding success notification, or failure with a corresponding failure notification.

Actual behavior

In some instances, the form upload process does not appear to complete in either a definite failure or success; at least not to the user.

upload processing indefinitely

Additional information

I've uploaded over 250 of my organizations forms to KoBo Toolbox. These are the only two where I had this issue. They are not our most complicated forms, by my definition, but they are some of the longest forms in terms of number of rows.


Attachments

  1. KIS-Abortion-Standalone-v12-jef.xlsx
  2. CBS-Abortion-Standalone-v11-jef.xlsx
jnm commented 5 years ago

Importing forms is an asynchronous task on the server. I'm guessing the proper resolution to this will be implementing https://github.com/kobotoolbox/kpi/issues/476

joshuaberetta commented 2 years ago

The importing UX has changed since the original post to give more useful feedback, but can definitely still be improved.