StudioPetrikas / Saulala

Issue tracker for Saulala
https://www.saulala.com
13 stars 1 forks source link

App crashing after splash screen #1

Closed shombando closed 11 months ago

shombando commented 1 year ago

Hi @StudioPetrikas, I'm running into app crashes and I have tried to document the scenario and provided log snapshots. Please let me know if you need any more information or for me to try something else.

Android 13: android

I've granted Saulala permission: permissions

When I select a DNG from the camera it does not load the photo. The log shows that the app is trying to open /storage which is not possible to open in Android /storage/emulated/0 is accessible to apps: logs1

Saulala is able to create a settings file in /storage/emulated/0/Documents/Saulala/ proving that file access permission is working: settings json

I uninstalled and reinstalled the app to recreate the issue. At first it was crashing on load and the log showed that it was trying to write to the settings file and failing, since it is not removed with the uninstall. I manually deleted the file and then was able to recreate the scenario above with the same error log. This is probably a separate issue, I'm happy to file it separately if it's helpful: logs

StudioPetrikas commented 1 year ago

Thank you for such a detailed report!

Are you able to run it at all? Does it crash every time, or just on first launch?

What's interesting, that it's trying to access my "build" folder. I'd love to know wha file it's trying to access.

"File "/home/gus/agx_app... "

It's weird, because I use Linux just for building, so there can't be any hard-coded directories.

shombando commented 1 year ago

Are you able to run it at all? Does it crash every time, or just on first launch?

I'm able to launch it and get the file select screen every time. saulala

What's interesting, that it's trying to access my "build" folder. I'd love to know wha file it's trying to access.

"File "/home/gus/agx_app... "

Here's the expanded log, sorry I can't seem to export the text. But this log captures output from me pressing select file until the error. fulllog

StudioPetrikas commented 1 year ago

Thank you. I'm sorry you're having this issue. I hope this doesn't discourage you from testing.

A quick google search returns a legacy storage permission problem, even though you're running Android 13.

I will either come up with a temp workaround or a fix, but it's rather difficult when I can't replicate the issue.

Meanwhile, can you try opening Saulala via a dng file? Using a file manager or a gallery? Some of them provide "Open As" option. I wonder if the issue is with the module that opens Android file selector.

Thank you once again!

shombando commented 1 year ago

Thank you. I'm sorry you're having this issue. I hope this doesn't discourage you from testing.

Not at all, this is what testing is all about. I'm happy to help, sometimes I'll just be a bit delayed.

A quick google search returns a legacy storage permission problem, even though you're running Android 13.

That's strange!

I will either come up with a temp workaround or a fix, but it's rather difficult when I can't replicate the issue.

Yeah, that's a bummer. Sorry my logs aren't comprehensive, I'll look into a better logger that you suggested.

Meanwhile, can you try opening Saulala via a dng file? Using a file manager or a gallery? Some of them provide "Open As" option. I wonder if the issue is with the module that opens Android file selector.

This is from a clean install where I didn't launch Saulala at all. I went to native Files app and opened DNG file with Saulala. Here's the log: openwithsaulala

Thank you once again!

My pleasure!

StudioPetrikas commented 11 months ago

Fixed in v0.1.5 Alpha, by force-updating "Plyer"