gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Windows fails to transfer file when using --capture-image-and-download or --wait-event-and-download

Open dustinkerstein opened this issue 1 year ago • 0 comments

Both of the following commands work correctly (capture and transfer to host) when using my Panasonic GH5 and Windows 11 computer:

gphoto2 --capture-preview
gphoto2 --capture-movie=5

However the following commands behave differently on Windows compared to MacOS/Linux:

gphoto2 --capture-image-and-download
gphoto2 --set-config movie=1 --wait-event=3s --set-config movie=0 --wait-event-and-download=5s

With the commands above, the capture portion works correctly (ie. file exists on camera memory card), but both commands fail to transfer the files to the host. Here is the debug output for both commands: capture-image-and-download.txt and wait-event-and-download.txt

Do those logs show anything interesting? Any ideas on possible workarounds (primarily interested in the wait-event-and-download command)? Thanks!

gPhoto2 version:

gphoto2         2.5.28         gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2      2.5.30         standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip usb1, gcc, no ltdl, EXIF, USB, no serial

dustinkerstein avatar Jul 28 '22 00:07 dustinkerstein