Android 8 Samsung Galaxy cellphone using MTP mode, denies access to shotwell after thumbnails preview is done
First mentioned in gphoto2 issue tracker, re-submitted here as shotwell loses the capability to import any photos at all!
gphoto2 issue: https://github.com/gphoto/gphoto2/issues/144
I am using Shotwell and trying to import photos from a new Samsung Galaxy phone with Android 8, in MTP mode. The moment I connect the phone previewing starts, and I have to wait until it's done. Then I hit the "import all" button but it fails with message "Unable to lock camera: Unspecified error (-1)" Reproduced easily with gphoto2 command-line, basically I run gphoto2 --summary
twice and the 2nd gets denied, see link above for details.
Possible workarounds I can think of in Shotwell:
- retain the same gphoto2 connection for both fetching thumbnails and doing "import all"
- skip fetching thumbnails completely and allow the user to immediately do "import all", as described in #3
I'm quite curious, is this an issue with latest Android versions, regardless of the cellphone brand? Anybody with Android 7 or 8 had any success importing photos in MTP mode using shotwell?
EDITed once to add the precise message shown by shotwell.