Database not cleared when all forms have been deleted in ODK Collect on android emulator

Hi,

I have installed ODK Collect on an emulator (Android Virtual Device Manager
in Android Studio) to test my forms and it works well.
I pull ODK directory, using adb pull /sdcard/odk/
C:\Users\souir\Documents\ODKexports to import the filled forms with
Briefcase then I export them as a csv file to examine the data.
However, although I delete all filled and blank forms of previous tests
before loading new ones, I am getting a mixture of new and old forms.
It seems that ODK directory is not properly cleaned and database purged
when forms are deleted using ODK Collect.

Does anyone know how clear all traces of previous deleted forms from ODK
directory?

Any help would be greatly appreciated!

Hi,

Sorry; I have just found out that the problem was in ODK Briefcase that
keeps previous forms having the same name of blank form and mixes them on
export. Ijust deleted all previous forms stored in ODK Briefcase directory.

I hope this may be useful to someone else.

··· Le samedi 13 mai 2017 17:38:46 UTC+2, Souirji Abdelghani a écrit : > > Hi, > > I have installed ODK Collect on an emulator (Android Virtual Device > Manager in Android Studio) to test my forms and it works well. > I pull ODK directory, using adb pull /sdcard/odk/ > C:\Users\souir\Documents\ODKexports to import the filled forms with > Briefcase then I export them as a csv file to examine the data. > However, although I delete all filled and blank forms of previous tests > before loading new ones, I am getting a mixture of new and old forms. > It seems that ODK directory is not properly cleaned and database purged > when forms are deleted using ODK Collect. > > Does anyone know how clear all traces of previous deleted forms from ODK > directory? > > Any help would be greatly appreciated! >

Hi Souirji,

Glad you found a solution! Briefcase should probably have a feature in
the UI that lets users delete forms. I've filed this as an issue at
https://github.com/opendatakit/briefcase/issues/122.

Yaw

··· On Sat, May 13, 2017 at 11:32 AM, Souirji Abdelghani wrote: > Hi, > > Sorry; I have just found out that the problem was in ODK Briefcase that > keeps previous forms having the same name of blank form and mixes them on > export. Ijust deleted all previous forms stored in ODK Briefcase directory. > > I hope this may be useful to someone else. > > > > > Le samedi 13 mai 2017 17:38:46 UTC+2, Souirji Abdelghani a écrit : >> >> Hi, >> >> I have installed ODK Collect on an emulator (Android Virtual Device >> Manager in Android Studio) to test my forms and it works well. >> I pull ODK directory, using adb pull /sdcard/odk/ >> C:\Users\souir\Documents\ODKexports to import the filled forms with >> Briefcase then I export them as a csv file to examine the data. >> However, although I delete all filled and blank forms of previous tests >> before loading new ones, I am getting a mixture of new and old forms. >> It seems that ODK directory is not properly cleaned and database purged >> when forms are deleted using ODK Collect. >> >> Does anyone know how clear all traces of previous deleted forms from ODK >> directory? >> >> Any help would be greatly appreciated! > > -- > -- > 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,

You're right. Thanks for filing an issue in Briefcase.

By the way I have published in this forum another issue with Briefcase
offline that nobody has commented: the device id (deviceid) is not exported
by briefcase in XLSFORM (Excel). It remains blank and one has to fill it
manually otherwise it causes an error upon validation. This is a bug.

Another improvement in Briefcase offline could be also to a save locally
(in computer) multiple choice lists for later reuse. That would save a lot
of time to users.

Lastly; I'm a very new member in this forum so I'd like to know if it only
to ask questions or one can also publish tips for solving certain types of
issues whitout answering a specific question?

Thanks yaw

··· Le dimanche 14 mai 2017 15:13:01 UTC+2, Yaw Anokwa a écrit : > > Hi Souirji, > > Glad you found a solution! Briefcase should probably have a feature in > the UI that lets users delete forms. I've filed this as an issue at > https://github.com/opendatakit/briefcase/issues/122. > > Yaw > > On Sat, May 13, 2017 at 11:32 AM, Souirji Abdelghani <ghani...@gmail.com > wrote: > > Hi, > > > > Sorry; I have just found out that the problem was in ODK Briefcase that > > keeps previous forms having the same name of blank form and mixes them > on > > export. Ijust deleted all previous forms stored in ODK Briefcase > directory. > > > > I hope this may be useful to someone else. > > > > > > > > > > Le samedi 13 mai 2017 17:38:46 UTC+2, Souirji Abdelghani a écrit : > >> > >> Hi, > >> > >> I have installed ODK Collect on an emulator (Android Virtual Device > >> Manager in Android Studio) to test my forms and it works well. > >> I pull ODK directory, using adb pull /sdcard/odk/ > >> C:\Users\souir\Documents\ODKexports to import the filled forms with > >> Briefcase then I export them as a csv file to examine the data. > >> However, although I delete all filled and blank forms of previous tests > >> before loading new ones, I am getting a mixture of new and old forms. > >> It seems that ODK directory is not properly cleaned and database purged > >> when forms are deleted using ODK Collect. > >> > >> Does anyone know how clear all traces of previous deleted forms from > ODK > >> directory? > >> > >> Any help would be greatly appreciated! > > > > -- > > -- > > 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 Souirji,

I filed the device ID issue at
https://github.com/opendatakit/build/issues/148. I believe it's an
issue with Build not Briefcase.

Please file your feature request for choice lists at
https://github.com/opendatakit/build/issues/new.

And yes, you can and should share whatever you think would be helpful
to the community on the list.

Thanks,

Yaw

··· On Mon, May 15, 2017 at 2:07 AM, Souirji Abdelghani wrote: > Hi Yaw, > > You're right. Thanks for filing an issue in Briefcase. > > By the way I have published in this forum another issue with Briefcase > offline that nobody has commented: the device id (deviceid) is not exported > by briefcase in XLSFORM (Excel). It remains blank and one has to fill it > manually otherwise it causes an error upon validation. This is a bug. > > Another improvement in Briefcase offline could be also to a save locally (in > computer) multiple choice lists for later reuse. That would save a lot of > time to users. > > Lastly; I'm a very new member in this forum so I'd like to know if it only > to ask questions or one can also publish tips for solving certain types of > issues whitout answering a specific question? > > Thanks yaw > > Le dimanche 14 mai 2017 15:13:01 UTC+2, Yaw Anokwa a écrit : >> >> Hi Souirji, >> >> Glad you found a solution! Briefcase should probably have a feature in >> the UI that lets users delete forms. I've filed this as an issue at >> https://github.com/opendatakit/briefcase/issues/122. >> >> Yaw >> >> On Sat, May 13, 2017 at 11:32 AM, Souirji Abdelghani wrote: >> > Hi, >> > >> > Sorry; I have just found out that the problem was in ODK Briefcase that >> > keeps previous forms having the same name of blank form and mixes them >> > on >> > export. Ijust deleted all previous forms stored in ODK Briefcase >> > directory. >> > >> > I hope this may be useful to someone else. >> > >> > >> > >> > >> > Le samedi 13 mai 2017 17:38:46 UTC+2, Souirji Abdelghani a écrit : >> >> >> >> Hi, >> >> >> >> I have installed ODK Collect on an emulator (Android Virtual Device >> >> Manager in Android Studio) to test my forms and it works well. >> >> I pull ODK directory, using adb pull /sdcard/odk/ >> >> C:\Users\souir\Documents\ODKexports to import the filled forms with >> >> Briefcase then I export them as a csv file to examine the data. >> >> However, although I delete all filled and blank forms of previous tests >> >> before loading new ones, I am getting a mixture of new and old forms. >> >> It seems that ODK directory is not properly cleaned and database purged >> >> when forms are deleted using ODK Collect. >> >> >> >> Does anyone know how clear all traces of previous deleted forms from >> >> ODK >> >> directory? >> >> >> >> Any help would be greatly appreciated! >> > >> > -- >> > -- >> > 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,

Thanks for all the answers and actions taken.

Souirji

··· Le lundi 15 mai 2017 15:49:55 UTC+2, Yaw Anokwa a écrit : > > Hi Souirji, > > I filed the device ID issue at > https://github.com/opendatakit/build/issues/148. I believe it's an > issue with Build not Briefcase. > > Please file your feature request for choice lists at > https://github.com/opendatakit/build/issues/new. > > And yes, you can and should share whatever you think would be helpful > to the community on the list. > > Thanks, > > Yaw > > On Mon, May 15, 2017 at 2:07 AM, Souirji Abdelghani <ghani...@gmail.com > wrote: > > Hi Yaw, > > > > You're right. Thanks for filing an issue in Briefcase. > > > > By the way I have published in this forum another issue with Briefcase > > offline that nobody has commented: the device id (deviceid) is not > exported > > by briefcase in XLSFORM (Excel). It remains blank and one has to fill it > > manually otherwise it causes an error upon validation. This is a bug. > > > > Another improvement in Briefcase offline could be also to a save locally > (in > > computer) multiple choice lists for later reuse. That would save a lot > of > > time to users. > > > > Lastly; I'm a very new member in this forum so I'd like to know if it > only > > to ask questions or one can also publish tips for solving certain types > of > > issues whitout answering a specific question? > > > > Thanks yaw > > > > Le dimanche 14 mai 2017 15:13:01 UTC+2, Yaw Anokwa a écrit : > >> > >> Hi Souirji, > >> > >> Glad you found a solution! Briefcase should probably have a feature in > >> the UI that lets users delete forms. I've filed this as an issue at > >> https://github.com/opendatakit/briefcase/issues/122. > >> > >> Yaw > >> > >> On Sat, May 13, 2017 at 11:32 AM, Souirji Abdelghani wrote: > >> > Hi, > >> > > >> > Sorry; I have just found out that the problem was in ODK Briefcase > that > >> > keeps previous forms having the same name of blank form and mixes > them > >> > on > >> > export. Ijust deleted all previous forms stored in ODK Briefcase > >> > directory. > >> > > >> > I hope this may be useful to someone else. > >> > > >> > > >> > > >> > > >> > Le samedi 13 mai 2017 17:38:46 UTC+2, Souirji Abdelghani a écrit : > >> >> > >> >> Hi, > >> >> > >> >> I have installed ODK Collect on an emulator (Android Virtual Device > >> >> Manager in Android Studio) to test my forms and it works well. > >> >> I pull ODK directory, using adb pull /sdcard/odk/ > >> >> C:\Users\souir\Documents\ODKexports to import the filled forms with > >> >> Briefcase then I export them as a csv file to examine the data. > >> >> However, although I delete all filled and blank forms of previous > tests > >> >> before loading new ones, I am getting a mixture of new and old > forms. > >> >> It seems that ODK directory is not properly cleaned and database > purged > >> >> when forms are deleted using ODK Collect. > >> >> > >> >> Does anyone know how clear all traces of previous deleted forms from > >> >> ODK > >> >> directory? > >> >> > >> >> Any help would be greatly appreciated! > >> > > >> > -- > >> > -- > >> > 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: 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. >