Bostwickenator / STGUploader

Upload photos from PMCA cameras to Google Photos
MIT License
30 stars 10 forks source link

java.io.FileNotFoundException: /storage/sdcard0/PRIVATE/STG/SET.JSN #15

Open haakondr opened 6 years ago

haakondr commented 6 years ago

The STGUploader app causes my Sony rx100v to restart during app initialization. The camera goes black for a few seconds, then opens camera shutter.

I see the following in :\PRIVATE\STG\LOG:

[INFO] setting wifi enabled state to true [INFO] Resume org.bostwickenator.googlephotos.LoginActivity [INFO] Credentials obtained [INFO] Pause org.bostwickenator.googlephotos.LoginActivity [ERROR] java.io.FileNotFoundException: /storage/sdcard0/PRIVATE/STG/SET.JSN: open failed: ENOENT (No such file or directory) [INFO] Resume org.bostwickenator.googlephotos.MainActivity

This might be related to #11, but I am not sure. I see that the SET.JSN is read in SettingsStore, but I am not sure why this file is not present on my sdcard. I could do a PR with a fix if I get a brief introduction