ODK crashed when May 01 1990 is selected as date of birth

Hi,

I am using ODK Collect 1.4.3 on ASUS Google Nexus 7.

I have a form where I ask about the date of birth and then I calculate the
age. I am using this formula int((today() - ${dob}) div 365.24) to
calculate the age. It's supposedly correct. However, today (August 14
2014), I inserted the dob May 01 1990, and ODK crashed. Once I changed the
date, it worked fine.

I also tried changing today's date in the settings of the tablet (I used
August 11 2014), and used dob May 01 1990, and ODK still crashed.

I know the above formula is sort of the standard one used to calculate the
age, so can someone help me understand why it's crashing using this
specific date?

Thank you.

Best way to get help is to include a small one question test form that
shows this problem.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali sydney.117@gmail.com wrote:

Hi,

I am using ODK Collect 1.4.3 on ASUS Google Nexus 7.

I have a form where I ask about the date of birth and then I calculate the
age. I am using this formula int((today() - ${dob}) div 365.24) to calculate
the age. It's supposedly correct. However, today (August 14 2014), I
inserted the dob May 01 1990, and ODK crashed. Once I changed the date, it
worked fine.

I also tried changing today's date in the settings of the tablet (I used
August 11 2014), and used dob May 01 1990, and ODK still crashed.

I know the above formula is sort of the standard one used to calculate the
age, so can someone help me understand why it's crashing using this specific
date?

Thank you.

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I just tried that. I created a new form where I only ask about the date of
birth, and then it calculates the age.

It still crashed.

I created another form that just asks for the date of birth, without
calculating the age... ODK crashed.

It's always with May 01 1990

··· On Thursday, August 14, 2014 6:54:26 PM UTC+3, Yaw Anokwa wrote: > > Best way to get help is to include a small one question test form that > shows this problem. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali <sydne...@gmail.com > wrote: > > Hi, > > > > I am using ODK Collect 1.4.3 on ASUS Google Nexus 7. > > > > I have a form where I ask about the date of birth and then I calculate > the > > age. I am using this formula int((today() - ${dob}) div 365.24) to > calculate > > the age. It's supposedly correct. However, today (August 14 2014), I > > inserted the dob May 01 1990, and ODK crashed. Once I changed the date, > it > > worked fine. > > > > I also tried changing today's date in the settings of the tablet (I used > > August 11 2014), and used dob May 01 1990, and ODK still crashed. > > > > I know the above formula is sort of the standard one used to calculate > the > > age, so can someone help me understand why it's crashing using this > specific > > date? > > > > Thank you. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Provide us with that form you created and we can help.

··· On Thu, Aug 14, 2014 at 9:05 AM, Guevara Ali wrote: > I just tried that. I created a new form where I only ask about the date of > birth, and then it calculates the age. > > It still crashed. > > I created another form that just asks for the date of birth, without > calculating the age... ODK crashed. > > It's always with May 01 1990 > > On Thursday, August 14, 2014 6:54:26 PM UTC+3, Yaw Anokwa wrote: >> >> Best way to get help is to include a small one question test form that >> shows this problem. >> >> Yaw >> -- >> Need ODK services? http://nafundi.com provides form design, server >> setup, professional support, and software development for ODK. >> >> On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali wrote: >> > Hi, >> > >> > I am using ODK Collect 1.4.3 on ASUS Google Nexus 7. >> > >> > I have a form where I ask about the date of birth and then I calculate >> > the >> > age. I am using this formula int((today() - ${dob}) div 365.24) to >> > calculate >> > the age. It's supposedly correct. However, today (August 14 2014), I >> > inserted the dob May 01 1990, and ODK crashed. Once I changed the date, >> > it >> > worked fine. >> > >> > I also tried changing today's date in the settings of the tablet (I used >> > August 11 2014), and used dob May 01 1990, and ODK still crashed. >> > >> > I know the above formula is sort of the standard one used to calculate >> > the >> > age, so can someone help me understand why it's crashing using this >> > specific >> > date? >> > >> > Thank you. >> > >> > -- >> > -- >> > Post: opend...@googlegroups.com >> > Unsubscribe: opendatakit...@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> > --- >> > You received this message because you are subscribed to the Google >> > Groups >> > "ODK Community" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to opendatakit...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

Here it is.

Thank you for your help.

Hiba Guevara

test-date.xlsx (9.26 KB)

··· On Thu, Aug 14, 2014 at 7:06 PM, Yaw Anokwa wrote:

Provide us with that form you created and we can help.

On Thu, Aug 14, 2014 at 9:05 AM, Guevara Ali sydney.117@gmail.com wrote:

I just tried that. I created a new form where I only ask about the date
of
birth, and then it calculates the age.

It still crashed.

I created another form that just asks for the date of birth, without
calculating the age... ODK crashed.

It's always with May 01 1990

On Thursday, August 14, 2014 6:54:26 PM UTC+3, Yaw Anokwa wrote:

Best way to get help is to include a small one question test form that
shows this problem.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali sydne...@gmail.com wrote:

Hi,

I am using ODK Collect 1.4.3 on ASUS Google Nexus 7.

I have a form where I ask about the date of birth and then I calculate
the
age. I am using this formula int((today() - ${dob}) div 365.24) to
calculate
the age. It's supposedly correct. However, today (August 14 2014), I
inserted the dob May 01 1990, and ODK crashed. Once I changed the
date,

it
worked fine.

I also tried changing today's date in the settings of the tablet (I
used

August 11 2014), and used dob May 01 1990, and ODK still crashed.

I know the above formula is sort of the standard one used to calculate
the
age, so can someone help me understand why it's crashing using this
specific
date?

Thank you.

--

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


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/NgpoCLcEV1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hiba,

Works great on my Nexus 4 so it's probably something on your device.

Best way to get help now is to file an issue
(https://code.google.com/p/opendatakit/issues/list) with a stack trace
(https://code.google.com/p/opendatakit/wiki/CollectTroubleshooting).

Be sure to include the following:

  1. What version and build number of Android are you running?
    Apps > Settings > About phone or About tablet.

  2. What locale/language are you using?
    Apps > Language and input

  3. Is the device full stock or have you changed anything (e.g., installed
    a ROM) that would cause non-stock behavior with the date?

Thanks,

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 9:10 AM, Guevara Ali sydney.117@gmail.com wrote:

Here it is.

Thank you for your help.

Hiba Guevara

On Thu, Aug 14, 2014 at 7:06 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Provide us with that form you created and we can help.

On Thu, Aug 14, 2014 at 9:05 AM, Guevara Ali sydney.117@gmail.com wrote:

I just tried that. I created a new form where I only ask about the date
of
birth, and then it calculates the age.

It still crashed.

I created another form that just asks for the date of birth, without
calculating the age... ODK crashed.

It's always with May 01 1990

On Thursday, August 14, 2014 6:54:26 PM UTC+3, Yaw Anokwa wrote:

Best way to get help is to include a small one question test form that
shows this problem.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali sydne...@gmail.com wrote:

Hi,

I am using ODK Collect 1.4.3 on ASUS Google Nexus 7.

I have a form where I ask about the date of birth and then I
calculate
the
age. I am using this formula int((today() - ${dob}) div 365.24) to
calculate
the age. It's supposedly correct. However, today (August 14 2014), I
inserted the dob May 01 1990, and ODK crashed. Once I changed the
date,
it
worked fine.

I also tried changing today's date in the settings of the tablet (I
used
August 11 2014), and used dob May 01 1990, and ODK still crashed.

I know the above formula is sort of the standard one used to
calculate
the
age, so can someone help me understand why it's crashing using this
specific
date?

Thank you.

--

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


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/NgpoCLcEV1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thank you, Yaw. I have filed an issue.

Hiba Guevara

··· On Thu, Aug 14, 2014 at 8:02 PM, Yaw Anokwa wrote:

Hiba,

Works great on my Nexus 4 so it's probably something on your device.

Best way to get help now is to file an issue
(https://code.google.com/p/opendatakit/issues/list) with a stack trace
(https://code.google.com/p/opendatakit/wiki/CollectTroubleshooting).

Be sure to include the following:

  1. What version and build number of Android are you running?
    Apps > Settings > About phone or About tablet.

  2. What locale/language are you using?
    Apps > Language and input

  3. Is the device full stock or have you changed anything (e.g., installed
    a ROM) that would cause non-stock behavior with the date?

Thanks,

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 9:10 AM, Guevara Ali sydney.117@gmail.com wrote:

Here it is.

Thank you for your help.

Hiba Guevara

On Thu, Aug 14, 2014 at 7:06 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Provide us with that form you created and we can help.

On Thu, Aug 14, 2014 at 9:05 AM, Guevara Ali sydney.117@gmail.com wrote:

I just tried that. I created a new form where I only ask about the
date

of
birth, and then it calculates the age.

It still crashed.

I created another form that just asks for the date of birth, without
calculating the age... ODK crashed.

It's always with May 01 1990

On Thursday, August 14, 2014 6:54:26 PM UTC+3, Yaw Anokwa wrote:

Best way to get help is to include a small one question test form
that

shows this problem.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Aug 14, 2014 at 3:35 AM, Guevara Ali sydne...@gmail.com wrote:

Hi,

I am using ODK Collect 1.4.3 on ASUS Google Nexus 7.

I have a form where I ask about the date of birth and then I
calculate
the
age. I am using this formula int((today() - ${dob}) div 365.24) to
calculate
the age. It's supposedly correct. However, today (August 14 2014),
I

inserted the dob May 01 1990, and ODK crashed. Once I changed the
date,
it
worked fine.

I also tried changing today's date in the settings of the tablet (I
used
August 11 2014), and used dob May 01 1990, and ODK still crashed.

I know the above formula is sort of the standard one used to
calculate
the
age, so can someone help me understand why it's crashing using this
specific
date?

Thank you.

--

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


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/NgpoCLcEV1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/NgpoCLcEV1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.