Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera crashes at start of upload #4

Open
nikiosna opened this issue Apr 23, 2018 · 2 comments
Open

Camera crashes at start of upload #4

nikiosna opened this issue Apr 23, 2018 · 2 comments

Comments

@nikiosna
Copy link

nikiosna commented Apr 23, 2018

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
Copy link
Owner

LubikR commented May 21, 2018

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

@danielh1989
Copy link

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:
/** * Returns the full image. Returns null for RAW images. */ public abstract InputStream getFullImage();

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants