LubikR / SynologyUploader

Upload photos from Sony cameras directly to Synology server
The Unlicense
22 stars 5 forks source link

Camera crashes at start of upload #4

Open nikiosna opened 6 years ago

nikiosna commented 6 years ago

I tried the app today on a Sony alpha 6000. My first problem was that the OpenMemories - Appstore on the camera couldn't download the app. I fixed this via downloading the apk here and installed it. But my camery restarts directly after the upload begins:

/android/mnt/sdcard # cat SYNOUPLD.LOG [INFO][SettingsActivity] Getting address : :5000 https:false [INFO][SettingsActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.CheckPermission=3 [INFO][SettingsActivity] Logged-in OK, sid=dsmYxf7ZOjqTY1390M8N011686 [INFO][SettingsActivity] Check permission OK. Directory=home/Bilder/upload [INFO][SettingsActivity] Logged-out [INFO][SettingsActivity] Saved and Go to MainActivity [INFO][MainActivity] Publish progress: Connecting to the server... [INFO][MainActivity] Getting address : :5000 https:false [INFO][MainActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.Upload=3 [INFO][MainActivity] Logged-in OK, sid=waWYR2j9U6wo61390M8N011686 [INFO][MainActivity] Publish progress: Uploading 1 / 227 [INFO][MainActivity] UploadVersion=3

LubikR commented 6 years ago

It seems that camera model is not recognized. I will add more loggin

danielh1989 commented 4 years ago

It seems that camera model is not recognized. I will add more loggin

I just checked this issue with my A6300 camera. I added some more debug output an found out, that following call crashs the app:

multipart.addFilePart("file", (FileInputStream) info.getFullImage(), filename, getApplicationContext());

Doku of Open-Memories Framework has following comment: ` /**

Do you know if there is another class etc for RAW images?