[ODK Community] Crash "Unfortunately ODK Collect has stopped"

Hi Joe,

I filed the issue at
https://github.com/opendatakit/opendatakit/issues/1249. Can you try on
other non OneTouch phones and see if that changes the behavior? Can
you also try all WAVS instead of MP3s and see if that helps?

Thanks,

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Sun, Aug 21, 2016 at 12:24 PM, jhillsey@gmail.com wrote:

Dear ODK'ers:

I am getting the dreaded crash message "Unfortunately, ODK Collect" has stopped and I don't see an existing thread that helps.

I'm attaching my xlsform and a log of the crash I got from Android Studio when the phone was connected to my laptop (first time doing this, hope it is what folks need).

I do not believe the crash is a simple error in the form and it is not replicable at any specific place in the survey. Instead it seems to happen at various places when playing embedded audio files.

A quick note on our application: we are doing an Experience Sampling Method where rural Kenyan respondents hold the phones and complete four short surveys per day when the phone buzzes. Because of low literacy rates, every question in the survey has an mp3 of someone reading the question in the local language. There are also a fair number of images.

The phones are Alcatel OneTouch Sleeks, bought from AirTel in Kenya, running Android Kitkat 4.1.

The crash rarely (if ever as far as we can tell) happens when the user just clicks through answering questions. If the audio files are only quickly clicked and not allowed to play through, it doesn't seem to happen. It happens most frequently (but not always) when one clicks on every single audio file and allows to play.

I included in the text file a log of what I see when I click an audio button to play a file but ODK does NOT crash. I included a second where the phone seems to be displaying about the buffer. And then after that are two separate crash incidents.

Any help would be most appreciated. We found these issues with 25 phones in the field, and another 225 are on the way in the next two days, so solving any problem before we send them out (and avoiding updating the form where service is weaker). In the interim, I'm going to try to decoding the mp3s at a lower rate; they are currently saved at 160 bits and the average file size is around 100KB with the longer ones up to 450KB. Grand total of all media is 8.6 MB).

One last thing that may or may not be relevant. I need to randomize the order in which the categories are shown to respondents. I learned from an earlier post that this isn't possible in ODK at the moment,so I did a workaround by creating 18 random orders for each of the 18 choices, and use a random number generator to choose which the respondent will see. This makes the form a bit complicated to read, but I don't think this is the issue since, again, it rarely (if ever) crashes when only clicking through and answering.

Also posting to ODK Developers - sorry I'm not sure which is the right one.

Thanks,
Joe
University of Washington

--

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.

Hi Yaw,

Thanks for the reply. Yes, the problem also occurs on my Nexus 5 so it
seems unlikely it's related to a phone-specific issue. I used mp3s decoded
at 32 rather than 160 and the problems in the field yesterday seem to have
been fewer but definitely still recurring. I will try to get a version
with .wavs ready before we start today. Thanks for the suggestion.

Best,
Joe

··· On Monday, August 22, 2016 at 5:01:34 PM UTC+3, Yaw Anokwa wrote: > > Hi Joe, > > I filed the issue at > https://github.com/opendatakit/opendatakit/issues/1249. Can you try on > other non OneTouch phones and see if that changes the behavior? Can > you also try all WAVS instead of MP3s and see if that helps? > > Thanks, > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > > On Sun, Aug 21, 2016 at 12:24 PM, <jhil...@gmail.com > wrote: > > Dear ODK'ers: > > > > I am getting the dreaded crash message "Unfortunately, ODK Collect" has > stopped and I don't see an existing thread that helps. > > > > I'm attaching my xlsform and a log of the crash I got from Android > Studio when the phone was connected to my laptop (first time doing this, > hope it is what folks need). > > > > I do not believe the crash is a simple error in the form and it is not > replicable at any specific place in the survey. Instead it seems to happen > at various places when playing embedded audio files. > > > > A quick note on our application: we are doing an Experience Sampling > Method where rural Kenyan respondents hold the phones and complete four > short surveys per day when the phone buzzes. Because of low literacy > rates, every question in the survey has an mp3 of someone reading the > question in the local language. There are also a fair number of images. > > > > The phones are Alcatel OneTouch Sleeks, bought from AirTel in Kenya, > running Android Kitkat 4.1. > > > > The crash rarely (if ever as far as we can tell) happens when the user > just clicks through answering questions. If the audio files are only > quickly clicked and not allowed to play through, it doesn't seem to happen. > It happens most frequently (but not always) when one clicks on every > single audio file and allows to play. > > > > I included in the text file a log of what I see when I click an audio > button to play a file but ODK does NOT crash. I included a second where > the phone seems to be displaying about the buffer. And then after that are > two separate crash incidents. > > > > Any help would be most appreciated. We found these issues with 25 > phones in the field, and another 225 are on the way in the next two days, > so solving any problem before we send them out (and avoiding updating the > form where service is weaker). In the interim, I'm going to try to decoding > the mp3s at a lower rate; they are currently saved at 160 bits and the > average file size is around 100KB with the longer ones up to 450KB. Grand > total of all media is 8.6 MB). > > > > One last thing that may or may not be relevant. I need to randomize the > order in which the categories are shown to respondents. I learned from an > earlier post that this isn't possible in ODK at the moment,so I did a > workaround by creating 18 random orders for each of the 18 choices, and use > a random number generator to choose which the respondent will see. This > makes the form a bit complicated to read, but I don't think this is the > issue since, again, it rarely (if ever) crashes when only clicking through > and answering. > > > > Also posting to ODK Developers - sorry I'm not sure which is the right > one. > > > > Thanks, > > Joe > > University of Washington > > > > -- > > -- > > 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. >

Hi Joe,

Were you able to get this issue resolved?

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Tue, Aug 23, 2016 at 3:32 AM, jhcook@uw.edu wrote:

Hi Yaw,

Thanks for the reply. Yes, the problem also occurs on my Nexus 5 so it
seems unlikely it's related to a phone-specific issue. I used mp3s decoded
at 32 rather than 160 and the problems in the field yesterday seem to have
been fewer but definitely still recurring. I will try to get a version with
.wavs ready before we start today. Thanks for the suggestion.

Best,
Joe

On Monday, August 22, 2016 at 5:01:34 PM UTC+3, Yaw Anokwa wrote:

Hi Joe,

I filed the issue at
https://github.com/opendatakit/opendatakit/issues/1249. Can you try on
other non OneTouch phones and see if that changes the behavior? Can
you also try all WAVS instead of MP3s and see if that helps?

Thanks,

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Sun, Aug 21, 2016 at 12:24 PM, jhil...@gmail.com wrote:

Dear ODK'ers:

I am getting the dreaded crash message "Unfortunately, ODK Collect" has
stopped and I don't see an existing thread that helps.

I'm attaching my xlsform and a log of the crash I got from Android
Studio when the phone was connected to my laptop (first time doing this,
hope it is what folks need).

I do not believe the crash is a simple error in the form and it is not
replicable at any specific place in the survey. Instead it seems to happen
at various places when playing embedded audio files.

A quick note on our application: we are doing an Experience Sampling
Method where rural Kenyan respondents hold the phones and complete four
short surveys per day when the phone buzzes. Because of low literacy rates,
every question in the survey has an mp3 of someone reading the question in
the local language. There are also a fair number of images.

The phones are Alcatel OneTouch Sleeks, bought from AirTel in Kenya,
running Android Kitkat 4.1.

The crash rarely (if ever as far as we can tell) happens when the user
just clicks through answering questions. If the audio files are only
quickly clicked and not allowed to play through, it doesn't seem to happen.
It happens most frequently (but not always) when one clicks on every single
audio file and allows to play.

I included in the text file a log of what I see when I click an audio
button to play a file but ODK does NOT crash. I included a second where the
phone seems to be displaying about the buffer. And then after that are two
separate crash incidents.

Any help would be most appreciated. We found these issues with 25
phones in the field, and another 225 are on the way in the next two days, so
solving any problem before we send them out (and avoiding updating the form
where service is weaker). In the interim, I'm going to try to decoding the
mp3s at a lower rate; they are currently saved at 160 bits and the average
file size is around 100KB with the longer ones up to 450KB. Grand total of
all media is 8.6 MB).

One last thing that may or may not be relevant. I need to randomize the
order in which the categories are shown to respondents. I learned from an
earlier post that this isn't possible in ODK at the moment,so I did a
workaround by creating 18 random orders for each of the 18 choices, and use
a random number generator to choose which the respondent will see. This
makes the form a bit complicated to read, but I don't think this is the
issue since, again, it rarely (if ever) crashes when only clicking through
and answering.

Also posting to ODK Developers - sorry I'm not sure which is the right
one.

Thanks,
Joe
University of Washington

--

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.

Hi Yaw,

No resolution. We have all 250 now programmed and in the field and are
working through a number of issues, and the crash is actually lower on
the list for now (people resetting time settings, deleting ODK, etc!).
The lower-size mp3s seem to have helped to lower but not eliminate the
crash (about 25% crash, when one clicks through all the sound files). I
quickly tried to get a wav version up and running but then I hit a
different error when uploading to Aggregate - something about a maximum
file size reached (all the media files together were about 10MB). It's
been on my to do list to try to create lower-res wavs and try again. We
will test it pretty extensively before we switch versions, since getting
them onto the 250 in the field will not be easy and something we only
want to do once if we need to.

Thanks for following up -

Best,
Joe

··· On 8/29/2016 11:53 AM, Yaw Anokwa wrote: > Hi Joe, > > Were you able to get this issue resolved? > > Yaw

If you are using MySQL, see the configuration notes for ODK Aggregate at:

You might need to adjust your max allowed packet size.

··· On Mon, Aug 29, 2016 at 1:32 PM, Joe Cook wrote:

Hi Yaw,

No resolution. We have all 250 now programmed and in the field and are
working through a number of issues, and the crash is actually lower on the
list for now (people resetting time settings, deleting ODK, etc!). The
lower-size mp3s seem to have helped to lower but not eliminate the crash
(about 25% crash, when one clicks through all the sound files). I quickly
tried to get a wav version up and running but then I hit a different error
when uploading to Aggregate - something about a maximum file size reached
(all the media files together were about 10MB). It's been on my to do list
to try to create lower-res wavs and try again. We will test it pretty
extensively before we switch versions, since getting them onto the 250 in
the field will not be easy and something we only want to do once if we need
to.

Thanks for following up -

Best,
Joe

On 8/29/2016 11:53 AM, Yaw Anokwa wrote:

Hi Joe,

Were you able to get this issue resolved?

Yaw

--

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.

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

Mitch,

Thanks for the reply. I am pretty sure I am not using MySQL; I set up
Aggregate using the instructions at
https://opendatakit.org/use/aggregate/ for "Installing on App Engine".
I currently have v 1.4.9. Is there a way to increase max allowed packet
size if I am hosting this on Google App engine?

Thanks,
Joe

··· On 9/7/16 12:05 PM, Mitch Sundt wrote: > If you are using MySQL, see the configuration notes for ODK Aggregate > at: > https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes > > You might need to adjust your max allowed packet size. > > > On Mon, Aug 29, 2016 at 1:32 PM, Joe Cook <jhcook@uw.edu > wrote: > > Hi Yaw, > > No resolution. We have all 250 now programmed and in the field > and are working through a number of issues, and the crash is > actually lower on the list for now (people resetting time > settings, deleting ODK, etc!). The lower-size mp3s seem to have > helped to lower but not eliminate the crash (about 25% crash, when > one clicks through all the sound files). I quickly tried to get a > wav version up and running but then I hit a different error when > uploading to Aggregate - something about a maximum file size > reached (all the media files together were about 10MB). It's been > on my to do list to try to create lower-res wavs and try again. > We will test it pretty extensively before we switch versions, > since getting them onto the 250 in the field will not be easy and > something we only want to do once if we need to. > > Thanks for following up - > > Best, > Joe > > On 8/29/2016 11:53 AM, Yaw Anokwa wrote: > > Hi Joe, > > Were you able to get this issue resolved? > > Yaw > > > -- > -- > 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 > . > > > > > -- > 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 > > --- > 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/ax1-PrnwegA/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.

You are not using MySQL.

Note that there are 2 issues in this thread -- the original one, and the
one concerning uploading of the data to ODK Aggregate.

For a given submission, what is the biggest of all of the images / videos /
audio attached to that one submission (e.g., in bytes -- 10 MB, 500 MB,
etc.)?

By default, the Google App Engine installation uses a small server. If you
are capturing large media attachments, you need to increase this to allow
the larger attachments to reside in memory during the processing of the
submission. To increase this, first upgrade to the latest ODK Aggregate
version (e.g., 1.4.12)
https://opendatakit.org/downloads/download-category/aggregate/ See
https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes for
upgrade instructions.

Then see https://opendatakit.org/use/aggregate/#Changing_Server_Size for
how to change the size of the Google App Engine server.

··· On Fri, Sep 9, 2016 at 12:08 PM, Joe Cook wrote:

Mitch,

Thanks for the reply. I am pretty sure I am not using MySQL; I set up
Aggregate using the instructions at https://opendatakit.org/use/aggregate/
for "Installing on App Engine". I currently have v 1.4.9. Is there a way
to increase max allowed packet size if I am hosting this on Google App
engine?

Thanks,
Joe

On 9/7/16 12:05 PM, Mitch Sundt wrote:

If you are using MySQL, see the configuration notes for ODK Aggregate at:
https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes

You might need to adjust your max allowed packet size.

On Mon, Aug 29, 2016 at 1:32 PM, Joe Cook jhcook@uw.edu wrote:

Hi Yaw,

No resolution. We have all 250 now programmed and in the field and are
working through a number of issues, and the crash is actually lower on the
list for now (people resetting time settings, deleting ODK, etc!). The
lower-size mp3s seem to have helped to lower but not eliminate the crash
(about 25% crash, when one clicks through all the sound files). I quickly
tried to get a wav version up and running but then I hit a different error
when uploading to Aggregate - something about a maximum file size reached
(all the media files together were about 10MB). It's been on my to do list
to try to create lower-res wavs and try again. We will test it pretty
extensively before we switch versions, since getting them onto the 250 in
the field will not be easy and something we only want to do once if we need
to.

Thanks for following up -

Best,
Joe

On 8/29/2016 11:53 AM, Yaw Anokwa wrote:

Hi Joe,

Were you able to get this issue resolved?

Yaw

--

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.

--
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


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/ax1-PrnwegA/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.

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

Mitch,

Thanks for the follow up. Just to clarify, the upload issue was for me
in uploading the media files associated with the form (the spoken mp3 of
text for illiterate respondents). The submissions of data from users
have no media files at all and are just text. The largest media file I
am trying to upload as part of the form is 1.9MB. I am risk averse
about trying to upgrade the Aggregate version while the data is coming
in, but would be willing to give it a try if you thought it might have a
reasonable chance of solving the ODK crashing problem.

Best,
Joe

··· On 9/12/16 12:08 PM, Mitch Sundt wrote: > You are not using MySQL. > > Note that there are 2 issues in this thread -- the original one, and > the one concerning uploading of the data to ODK Aggregate. > > For a given submission, what is the biggest of all of the images / > videos / audio attached to that one submission (e.g., in bytes -- 10 > MB, 500 MB, etc.)? > > By default, the Google App Engine installation uses a small server. If > you are capturing large media attachments, you need to increase this > to allow the larger attachments to reside in memory during the > processing of the submission. To increase this, first upgrade to the > latest ODK Aggregate version (e.g., 1.4.12) > https://opendatakit.org/downloads/download-category/aggregate/ See > https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes > for upgrade instructions. > > Then see https://opendatakit.org/use/aggregate/#Changing_Server_Size > for how to change the size of the Google App Engine server. > > > On Fri, Sep 9, 2016 at 12:08 PM, Joe Cook <jhcook@uw.edu > wrote: > > Mitch, > > Thanks for the reply. I am pretty sure I am not using MySQL; I > set up Aggregate using the instructions at > https://opendatakit.org/use/aggregate/ > for "Installing on App > Engine". I currently have v 1.4.9. Is there a way to increase > max allowed packet size if I am hosting this on Google App engine? > > Thanks, > Joe > > > On 9/7/16 12:05 PM, Mitch Sundt wrote: >> If you are using MySQL, see the configuration notes for ODK >> Aggregate at: >> https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes >> >> >> >> You might need to adjust your max allowed packet size. >> >> >> On Mon, Aug 29, 2016 at 1:32 PM, Joe Cook <jhcook@uw.edu > wrote: >> >> Hi Yaw, >> >> No resolution. We have all 250 now programmed and in the >> field and are working through a number of issues, and the >> crash is actually lower on the list for now (people resetting >> time settings, deleting ODK, etc!). The lower-size mp3s seem >> to have helped to lower but not eliminate the crash (about >> 25% crash, when one clicks through all the sound files). I >> quickly tried to get a wav version up and running but then I >> hit a different error when uploading to Aggregate - something >> about a maximum file size reached (all the media files >> together were about 10MB). It's been on my to do list to try >> to create lower-res wavs and try again. We will test it >> pretty extensively before we switch versions, since getting >> them onto the 250 in the field will not be easy and something >> we only want to do once if we need to. >> >> Thanks for following up - >> >> Best, >> Joe >> >> On 8/29/2016 11:53 AM, Yaw Anokwa wrote: >> >> Hi Joe, >> >> Were you able to get this issue resolved? >> >> Yaw >> >> >> -- >> -- >> 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 >> . >> >> >> >> >> -- >> 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 >> >> >> --- >> 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/ax1-PrnwegA/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 > . > > > > > -- > 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 > > --- > 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/ax1-PrnwegA/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.

Were you using the FormUploader to upload form definitions to ODK Aggregate?

I am confused as to what was failing when uploading and what errors you
saw. Screen shots would be useful.

··· On Mon, Sep 12, 2016 at 7:46 PM, Joe Cook wrote:

Mitch,

Thanks for the follow up. Just to clarify, the upload issue was for me in
uploading the media files associated with the form (the spoken mp3 of text
for illiterate respondents). The submissions of data from users have no
media files at all and are just text. The largest media file I am trying
to upload as part of the form is 1.9MB. I am risk averse about trying to
upgrade the Aggregate version while the data is coming in, but would be
willing to give it a try if you thought it might have a reasonable chance
of solving the ODK crashing problem.

Best,
Joe

On 9/12/16 12:08 PM, Mitch Sundt wrote:

You are not using MySQL.

Note that there are 2 issues in this thread -- the original one, and the
one concerning uploading of the data to ODK Aggregate.

For a given submission, what is the biggest of all of the images / videos
/ audio attached to that one submission (e.g., in bytes -- 10 MB, 500 MB,
etc.)?

By default, the Google App Engine installation uses a small server. If you
are capturing large media attachments, you need to increase this to allow
the larger attachments to reside in memory during the processing of the
submission. To increase this, first upgrade to the latest ODK Aggregate
version (e.g., 1.4.12) https://opendatakit.org/
downloads/download-category/aggregate/ See https://github.com/
opendatakit/opendatakit/wiki/Aggregate-Release-Notes for upgrade
instructions.

Then see https://opendatakit.org/use/aggregate/#Changing_Server_Size for
how to change the size of the Google App Engine server.

On Fri, Sep 9, 2016 at 12:08 PM, Joe Cook jhcook@uw.edu wrote:

Mitch,

Thanks for the reply. I am pretty sure I am not using MySQL; I set up
Aggregate using the instructions at https://opendatakit.org/use/ag
gregate/ for "Installing on App Engine". I currently have v 1.4.9. Is
there a way to increase max allowed packet size if I am hosting this on
Google App engine?

Thanks,
Joe

On 9/7/16 12:05 PM, Mitch Sundt wrote:

If you are using MySQL, see the configuration notes for ODK Aggregate at:
https://github.com/opendatakit/opendatakit/wiki/Aggregate-Release-Notes

You might need to adjust your max allowed packet size.

On Mon, Aug 29, 2016 at 1:32 PM, Joe Cook jhcook@uw.edu wrote:

Hi Yaw,

No resolution. We have all 250 now programmed and in the field and are
working through a number of issues, and the crash is actually lower on the
list for now (people resetting time settings, deleting ODK, etc!). The
lower-size mp3s seem to have helped to lower but not eliminate the crash
(about 25% crash, when one clicks through all the sound files). I quickly
tried to get a wav version up and running but then I hit a different error
when uploading to Aggregate - something about a maximum file size reached
(all the media files together were about 10MB). It's been on my to do list
to try to create lower-res wavs and try again. We will test it pretty
extensively before we switch versions, since getting them onto the 250 in
the field will not be easy and something we only want to do once if we need
to.

Thanks for following up -

Best,
Joe

On 8/29/2016 11:53 AM, Yaw Anokwa wrote:

Hi Joe,

Were you able to get this issue resolved?

Yaw

--

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.

--
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


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/to
pic/opendatakit/ax1-PrnwegA/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.

--
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


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/ax1-PrnwegA/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.

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