It's a good question. I was able to found reports only for v1.15.0 and 1.15.1, not for any previous version (we have used Crashlytics since v1.15.0 but it shouldn't matter). So It looks like a regression if you take into account only this fact.
@Greg_Pommen did you use the same (affected) device with an older version like v1.14.0?
In v1.15.0 we added Storage Permissions@joeldean is it possible that your pr has anything to do with this issue?
I am gonna check to see if the code interacted with this functionality in any way. I am searching for the crash in Firebase but I haven't seen it as yet. Could you send me a link to it?
I've added links to logs going back to Feb 2017 showing the error state in the issue at https://github.com/opendatakit/collect/issues/2357. Please note that we have no way of telling the difference between a case where a user truly has forgotten to attach a CSV and @Greg_Pommen's case where it's there but not being recognized by exists.
@Grzesiek2010 We only started using the Samsung S9 in late May to June, so if we used v.1.14 it was briefly. I'm sorry I can't be more precise about it. All the phones are set to automatically update Google Play apps. Usually it's a good idea, usually.
@Greg_Pommen the latest beta removes the exists check and tries opening the database anyway. If Collect truly can't open it, there'll be a dialog with an SQL error. If you are able to reproduce the problem pretty quickly and consistently with your devices, you could try this on a test device and see if there are any improvements. I don't recommend using the beta with production devices though so you can also wait until the production is ready some time next week.
@LN I would like to help out, but all our affected phones are being used constantly. I'll have to wait till the production version comes out. I provide feedback as soon as possible. Thank you!
It had all the required form files we've already discussed. I uninstalled the form, deleted the odk folder off the phone, and reinstalled. I'll let you know if this fixes it.
The original error that I started this thread on seems to be gone though!
@Grzesiek2010@LN@yanokwa, I happy to report that since we've been using ODK Collect 1.16.1 our problems with loading CSV files appear to have stopped! The error in my previous post also appears to be fixed by either just reinstalling the affected form, or reinstalling ODK at the worst.
That's good to hear though I'm puzzled that you're still getting the latest error. It indicates that in fact Collect is not able to read the table that is supposed to be created. Please keep us posted on how frequently it occurs and we'll keep exploring whether we can reproduce it and provide a deeper fix.
Hi, I'm not sure why you're getting that issue. We haven't had that issue since we all upgraded to version 1.16.1 (we are up to 1.22.4 now). Once I COMPLETELY reinstalled all of ODK, as in going into the phone's file system and erasing the ODK folder too, then loading the form with a fresh CSV file, the latest versions of ODK seem to work fine. I would suggest completely removing your current ODK, and reinstalling with the latest version. If you still get that error, maybe recreate your CSV files too. I hope that helps.