luethi / Discharge_Optical_Measurement

1 stars 0 forks source link

Sites created an hour ago have no measurments #20

Closed phanosh closed 6 years ago

phanosh commented 8 years ago

On he organization Mubuku, 3 sites created this afternoon, the measurments which were taken are not visible suddenly on the app. They were not uploaded and now they're simply not there. The sites are:

luethi commented 8 years ago

ups, this is not good. I copy this ticket to the internal channel directly to Ranko.

rmunk commented 8 years ago

Hmm, that is indeed strange. Are you sure you are logged in as the same user and have picked right organization in the sliding menu? Or did you maybe move this sites to different organization or did anything else unordinary.

Can you please send me discharge.db file from your phone. It is located in: /Android/data/ch.photrack.discharge/files

You can also check if recorded movies are still present in the Movies folder there.

phanosh commented 8 years ago

Yes, user was still logged in. The sites and their geometry info is still there, in the correct organizations but the videos are no longer on the phone. Something important: we had no connection on the field so i tried to upload a measurement when i got access to wifi. I got a notification that the site has to be uppoded first. Then, after clicking on te upload button i went to the "examine data" window, which said there are no measurements. So basically, it seems that uploading the site seems to overwrite the measurments

phanosh commented 8 years ago

I will send the discharge.db file tonight

phanosh commented 8 years ago

Ok so here's an update. It seems to be a problem of the prticular phone (oppo). Sometimes it bugs and the application crushes. Then you are asked to login again, and measurments are lost again. It usually crushes while processing videos.

rmunk commented 8 years ago

Can you tell me which phone exactly it is and which username. Maybe I have crash reports on our server if he managed to get online afterwards.

phanosh commented 8 years ago

The phone is Oppo A33f. The user is Phanos Hadjikyriakou

phanosh commented 8 years ago

discharge.zip

rmunk commented 8 years ago

I can see only two measurements for site Division 12 Lateral in the database. Did you make this two measurements on Division 12 after the incident? I am really puzzled here as I tried to reproduce this issue on my phone but with no luck. Also I can't find anything in the code that could delete those measurements.

I also cannot find any crash logs from your account on this phone (I have some reports from other users for this phone model). Which means that they somehow got lost. I presume that on this phone somehow when the app crashes all app data gets deleted by the Android system. That would explain why you have to log in again afterwards and why I don't see any crash reports here. And also the database with all measurements would be gone too as well as recorded movies.

bosnjak commented 8 years ago

Hi @phanosh! Can you please see if you can consistently reproduce this issue? If you can write down the exact steps which will reproduce this in most cases on this phone, we will be able to debug it on our side. Thanks!

phanosh commented 8 years ago

hi @bosnj , I unfortunately cannot do this now as we gave Beat the phones with measurements. From the field experience, we had this issue several times so I'm not sure there is a procedure to reproduce the issue. I will nevertheless try to find an android phone lying around and try it again.

bosnjak commented 8 years ago

@phanosh thank you for the quick answer! @luethi maybe you can try to reproduce this consistently on the Oppo phone?

bosnjak commented 8 years ago

@phanosh did you talk internally with @luethi about this? I wonder why you are closing it, is the issue not reproducible, or?

phanosh commented 8 years ago

@bosnj : Sorry, I thought this was transferred to Asana

bosnjak commented 8 years ago

@phanosh: I don't think if it is, but I might be wrong. In any case, we should refer to the new tickets before closing here, so we can trace the steps to the latest ticket. Just provide a link to the new ticket and close. On topic, I'd like to verify this behavior and try to reproduce on the same phone. So either @luethi or whoever has access to the phone model in question.

phanosh commented 8 years ago

Noted. we don't have any of the phones at hydrosolutions

bosnjak commented 8 years ago

I thought you brought the phones back with you to CH. They are all at Photrack then?

phanosh commented 8 years ago

yes, we gave them to @luethi

bosnjak commented 7 years ago

Since there was no activity on this for a few months, can we close? cc @luethi @phanosh

bosnjak commented 7 years ago

ping @luethi