My form constantly CRASHES

Hello,
I am able to load my form onto ODK Collect but it constantly crashes when I
try to fill it out. I am not sure why.
When I open it, it does not display as it should and then continues to
crash with the error message "The application ODK Collect has stopped
unexpectedly. Please Try Again"
Can anyone help? I've attached my files

Thank you!

it_customersatisfaction.xml (31.1 KB)

it_customersatisfaction.xls (24 KB)

This is also happening to another form I am creating. I am curious if it is
because my labels are so long?

sanbi.xml (27.9 KB)

sanbi.xls (32 KB)

··· On Thursday, August 2, 2012 3:01:47 PM UTC+2, Imobi wrote: > > Hello, > I am able to load my form onto ODK Collect but it constantly crashes when > I try to fill it out. I am not sure why. > When I open it, it does not display as it should and then continues to > crash with the error message "The application ODK Collect has stopped > unexpectedly. Please Try Again" > Can anyone help? I've attached my files > > Thank you! >

The problem is that there is no value for your selections.
Whatever tool you are using to create the form should prompt you for the
label for a choice, and the value for the choice. Be sure to specify a
value.

In the sanbi form, you have this selection:

Stores are secure (Stores are closed e.g. by a counter, to
stop unauthorized entry, including personnel)

Yes

      </value>
    </item>
    <item>
      <label>No</label>
      <value>

      </value>
    </item>
  </select1>

The empty fields are what are causing a problem. When this
is parsed, the whitespace is removed, and the value is determined to be
missing, which causes the Forced Close.

Annoyingly, ODK Validate does not catch this omission.

Mitch

··· On Thu, Aug 2, 2012 at 6:32 AM, Imobi wrote:

This is also happening to another form I am creating. I am curious if it
is because my labels are so long?

On Thursday, August 2, 2012 3:01:47 PM UTC+2, Imobi wrote:

Hello,
I am able to load my form onto ODK Collect but it constantly crashes when
I try to fill it out. I am not sure why.
When I open it, it does not display as it should and then continues to
crash with the error message "The application ODK Collect has stopped
unexpectedly. Please Try Again"
Can anyone help? I've attached my files

Thank you!

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

Thanks for the response. Would you be able to look at my excel file please?
I do believe the value is placed properly and can not find the reason why
it continues to crash.

Thank you very much

it_customersatisfaction.xls (24 KB)

··· On Thu, Aug 2, 2012 at 7:52 PM, Mitch S wrote:

The problem is that there is no value for your selections.
Whatever tool you are using to create the form should prompt you for the
label for a choice, and the value for the choice. Be sure to specify a
value.

In the sanbi form, you have this selection:

Stores are secure (Stores are closed e.g. by a counter, to
stop unauthorized entry, including personnel)

Yes

      </value>
    </item>
    <item>
      <label>No</label>
      <value>

      </value>
    </item>
  </select1>

The empty fields are what are causing a problem. When this
is parsed, the whitespace is removed, and the value is determined to be
missing, which causes the Forced Close.

Annoyingly, ODK Validate does not catch this omission.

Mitch

On Thu, Aug 2, 2012 at 6:32 AM, Imobi larisa@imobi.co.za wrote:

This is also happening to another form I am creating. I am curious if it
is because my labels are so long?

On Thursday, August 2, 2012 3:01:47 PM UTC+2, Imobi wrote:

Hello,
I am able to load my form onto ODK Collect but it constantly crashes
when I try to fill it out. I am not sure why.
When I open it, it does not display as it should and then continues to
crash with the error message "The application ODK Collect has stopped
unexpectedly. Please Try Again"
Can anyone help? I've attached my files

Thank you!

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--

Larisa Liepins
O. 021 762 1661
C. 074 284 1688

For some reason, I am not seeing your choices tab on your spreadsheet.
There needs to be a "name" column on that sheet, every row needs to have a
value under this "name" column; the values in the "name" column will be the
"value" field in the form definition file (the XML file produced by
XLSForm). Refer to the sample Excel file on the XLSForm page (
http://opendatakit.org/use/xlsform/ ) for how the choices sheet should
appear.

Download the latest ODK Validate from here:
http://code.google.com/p/opendatakit/downloads/list

Running it will show you where the problems are.

··· On Fri, Aug 3, 2012 at 12:33 AM, Larisa Liepins wrote:

Hi Mitch,

Thanks for the response. Would you be able to look at my excel file
please? I do believe the value is placed properly and can not find the
reason why it continues to crash.

Thank you very much

On Thu, Aug 2, 2012 at 7:52 PM, Mitch S mitchellsundt@gmail.com wrote:

The problem is that there is no value for your selections.
Whatever tool you are using to create the form should prompt you for the
label for a choice, and the value for the choice. Be sure to specify a
value.

In the sanbi form, you have this selection:

Stores are secure (Stores are closed e.g. by a counter, to
stop unauthorized entry, including personnel)

Yes

      </value>
    </item>
    <item>
      <label>No</label>
      <value>

      </value>
    </item>
  </select1>

The empty fields are what are causing a problem. When
this is parsed, the whitespace is removed, and the value is determined to
be missing, which causes the Forced Close.

Annoyingly, ODK Validate does not catch this omission.

Mitch

On Thu, Aug 2, 2012 at 6:32 AM, Imobi larisa@imobi.co.za wrote:

This is also happening to another form I am creating. I am curious if it
is because my labels are so long?

On Thursday, August 2, 2012 3:01:47 PM UTC+2, Imobi wrote:

Hello,
I am able to load my form onto ODK Collect but it constantly crashes
when I try to fill it out. I am not sure why.
When I open it, it does not display as it should and then continues to
crash with the error message "The application ODK Collect has stopped
unexpectedly. Please Try Again"
Can anyone help? I've attached my files

Thank you!

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--

Larisa Liepins
O. 021 762 1661
C. 074 284 1688

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Imobi,
The issue with your forms can be fixed by deleting the space at the end of
the name column header on the choices sheet.
Leading/trailing spaces should be ignored by XLSForm, so thanks for
bringing this bug to my attention. I'll have it fixed sometime today.
Apologies for the inconvenience,
-Nathan

Hi Nathan!

Thank you so much. I know how silly that was but I was frustrated with it
for 3 days!

Thanks for pointing it out.

Regards,

Imobi

··· On Fri, Aug 3, 2012 at 8:03 PM, Nathan wrote:

Hi Imobi,
The issue with your forms can be fixed by deleting the space at the end of
the name column header on the choices sheet.
Leading/trailing spaces should be ignored by XLSForm, so thanks for
bringing this bug to my attention. I'll have it fixed sometime today.
Apologies for the inconvenience,
-Nathan

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--

Larisa Liepins
O. 021 762 1661
C. 074 284 1688