gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
703 stars 116 forks source link

PTP I/O Error on Nikon D800 #284

Open thebino opened 4 years ago

thebino commented 4 years ago

Describe the bug After a successful capture two images, the third attempt results in an error: PTP I/O Error

Name the camera Nikon DSC D800 usb:001,004

libgphoto2 and gphoto2 version gphoto2 2.5.23 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline libgphoto2 2.5.23 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

To Reproduce Set JPG Fine & RAW on the camera

env LANG=C gphoto2 --capture-image-and-download env LANG=C gphoto2 --capture-image-and-download env LANG=C gphoto2 --capture-image-and-download --debug --debug-logfile=io_error.txt

io_error.txt

msmeissn commented 4 years ago

the errorlog only shows the camera no longer accepting commands :/

The tail end of logfile of the call before that would be interesting, (can start after the big images has been downloaded)

thebino commented 4 years ago

It always appears when using reuterbal/photobooth with preview enabled. Which is using the python-gphoto2 I couldn't reproduce it with gphoto2 on the cli yet, but perhaps it can be helpful for debugging.