Akylas / oss-weather

An OSS weather app for iOS/Android
MIT License
188 stars 13 forks source link

Crash on start #105

Closed rlucassen2 closed 6 months ago

rlucassen2 commented 7 months ago

The app crashes on start. This has begun a week ago (or two weeks) and most of the time insisting to start the app made it work again. Yesterday I tried to use another data provider in 1.9.1.95 and now it crashes after 1 second. Even the latest version 1.9.2.96 has the same problem. I run a:

adb logcat -d | grep -i akylas

akylas.txt

I'm not a programmer, so if I can do some more tests I'm at your service. LineageOS 20 on a OnePlus A5001

HTH,

farfromrefug commented 7 months ago

@rlucassen2 really sorry to hear that. willake you a test build tomorrow so that I can get a bug report

rlucassen2 commented 7 months ago

Ok, no prob. I'm quite busy tomorrow but I will try to find some time.

R.

farfromrefug commented 7 months ago

@rlucassen2 here is the test build https://github.com/Akylas/oss-weather/releases/tag/android%2Fsentry Take your time to test. no rush!

rlucassen2 commented 7 months ago

Nope, immediate crash:

akylas.txt

Do you need the whole logcat or is the grepped one ok?

farfromrefug commented 7 months ago

@rlucassen2 so it crashes with the test build? Did you try to restart the app just after. It should send me a bug report (if the crash does not happen too soon). EDIT: sadly i dont see anything in the logcat EDIT2: your phone is a ONEPLUS A5010 ?

rlucassen2 commented 7 months ago

Yes, it's an A5010 indeed. When I start the app I see a black screen with the sun for approx 1 second. Here is the full log of minute 09:50 CET:

akylas.txt

R.

farfromrefug commented 7 months ago

@rlucassen2 ok i got your log and i know what the error is. Just do not know where. Making a new test build for you. Thanks a lot for testing this!

rlucassen2 commented 7 months ago

I have another OnePlus A5000, LineageOS 20. OSS Weather 1.8.11.93 (IzzyOnDroid). This one works. I updated to 1.9.2.96 and this one works as well. I rebooted the A5010 to be sure I have a clean system, but it crashes immediately. I removed the app and reinstalled the version 1.9.2.96 and now it works. Must be some config issue I fear. I changed the data source to Meteo France and Opoenweather but it still works.

rlucassen2 commented 7 months ago

Now that I'm talking to you, if you have a rainy Sunday afternoon, it would be nice if the three data source could be viewed in one screen because I noticed there is sometimes a big difference between the three sources.

rlucassen2 commented 7 months ago

I altered a few times the data sources and it keeps working. Maybe the new version is ok but is not able to work with a corrupted config?

farfromrefug commented 7 months ago

@rlucassen2 ok glad it works again. I think you were in a strange state. If it happens again with the next build i ll get a report. as for comparing data sources yes it is somehting i want to do (we have an issue about this). Though it is a lot of work and will require a new design. Will mostly do it as a graph view, not as you see it in the app today.

rlucassen2 commented 7 months ago

Ok,thnx, I will get back to work now :-(

farfromrefug commented 6 months ago

@rlucassen2 will close this for now. hope it won't happen again