[Bug 1206534] New: openSUSE 15.4 gphoto2 Iphone10X - Error (-7: 'I/O problem') after 397 files downloaded (repeatable on file 398)

http://bugzilla.opensuse.org/show_bug.cgi?id=1206534 Bug ID: 1206534 Summary: openSUSE 15.4 gphoto2 Iphone10X - Error (-7: 'I/O problem') after 397 files downloaded (repeatable on file 398) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: drankinatty@suddenlinkmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 863585 --> http://bugzilla.opensuse.org/attachment.cgi?id=863585&action=edit --debug file of error Send this bug to Marcus Meissner (text also sent to gphoto-devel@lists.sourceforge.net) $ gphoto2 --version gphoto2 2.5.27 Copyright (c) 2000-2021 Marcus Meissner and others gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of gphoto2 under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING. This version of gphoto2 is using the following software versions and options: gphoto2 2.5.27 gcc, popt(m), exif, cdk, no aa, jpeg, readline libgphoto2 2.5.27 standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial lockdev locking Marcus, all, I was trying to download all files from my iphone for backup using: $ gphoto2 --get-all-files Everything worked perfectly for the first 396 files, but then on file 398 (IMG_0363.JPG) I get the error: Saving file as IMG_0362.PNG *** Error *** PTP I/O Error *** Error (-7: 'I/O problem') *** For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list <gphoto-devel@lists.sourceforge.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --force-overwrite --get-file 396-766 Please make sure there is sufficient quoting around the arguments. zstd compressed debug file attached The short version of the log surrounding where the error occurs is: ... 11.012609 frontend/foreach.c (2): ID 397 is in folder '/store_00010001/DCIM/202207__'. 11.012699 save_file_to_file (2): using handler method 11.012707 gp_camera_file_get (2): Getting file 'IMG_0363.JPG' in folder '/store_00010001/DCIM/202207__'... 11.012714 gp_filesystem_get_file_impl (2): Getting file 'IMG_0363.JPG' from folder '/store_00010001/DCIM/202207__' (type 1)... 11.012719 lookup_folder_file (2): Lookup folder /store_00010001/DCIM/202207__ file IMG_0363.JPG 11.012724 lookup_folder (2): Lookup folder '/store_00010001/DCIM/202207__'... 11.012729 gp_filesystem_get_file_impl (2): Downloading 'IMG_0363.JPG' from folder '/store_00010001/DCIM/202207__'... 11.012738 ptp (2): (storage=0x00010001, handle=0x00000000) 11.012744 ptp (2): (storage=0x00010001, handle=0x00000001) 11.012753 ptp (2): (storage=0x00010001, handle=0x000000c7) 11.012760 get_file_func (2): Getting file 'IMG_0363.JPG'. 11.012775 ptp_usb_sendreq (2): Sending PTP_OC 0x1009 (Get object) (0xd7) request... 11.012781 gp_port_write (3): Writing 16 = 0x10 bytes to port... 11.012855 gp_port_write (3): Wrote 16 = 0x10 bytes to port: (hexdump of 16 bytes) 0000 10 00 00 00 01 00 09 10-cd 01 00 00 d7 00 00 00 ................ 11.012866 ptp_usb_getdata (2): Reading PTP_OC 0x1009 (Get object) data... 11.012872 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 11.127589 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 54 32 01 00 02 00 09 10-cd 01 00 00 T2.......... 11.127613 x_write (2): (0x5638bba9d540,0x7ffcaa6f970c,0) 11.127926 gp_port_read (3): Reading 78336 = 0x13200 bytes from port... 11.128019 gp_port_read (3): Read 12 = 0xc out of 78336 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 07 20-cd 01 00 00 ....... .... 11.128029 x_write (2): (0x5638bba9d540,0x7f2d77b50010,12) 11.128078 gp_port_read (3): Reading 78336 = 0x13200 bytes from port... 31.128710 gp_libusb1_read [libusb1.c:609](0): 'libusb_bulk_transfer (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, &curread, port->timeout)' failed: Operation timed out (-7) 31.128740 gp_port_read [gphoto2-port.c:441](0): Reading 78336 = 0x13200 bytes from port failed: Timeout reading from or writing to the port (-10) 31.128813 ptp_usb_getdata [usb.c:480] (0): PTP_OC 0x1009 receiving data failed: PTP Timeout (0x02fa) 31.128824 get_file_func [library.c:8683](0): 'ret' failed: 'PTP I/O Error' (0x02ff) 31.128835 gp_context_error (0): PTP I/O Error *** Error *** PTP I/O Error 31.128859 gp_filesystem_get_file (2): Download of 'IMG_0363.JPG' from '/store_00010001/DCIM/202207__' (type 1) failed. Reason: 'I/O problem' 31.128868 gp_camera_file_get [gphoto2-camera.c:1693](0): 'gp_filesystem_get_file (camera->fs, folder, file, type, camera_file, context)' failed: -7 *** Error (-7: 'I/O problem') *** 31.129492 gp_camera_free (2): Freeing camera... 31.129503 gp_camera_exit (2): Exiting camera ('Apple iPhone 5 (PTP mode)')... 31.129514 ptp_usb_sendreq (2): Sending PTP_OC 0x1003 (Close session) request... 31.129520 gp_port_write (3): Writing 12 = 0xc bytes to port... 31.129598 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes) 0000 0c 00 00 00 01 00 03 10-ce 01 00 00 ............ 31.129612 ptp_usb_getresp (2): Reading PTP_OC 0x1003 (Close session) response... 31.129627 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 31.132086 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-ce 01 00 00 ....... .... 31.132158 gp_port_close (2): Closing port... 31.133284 _close_async_interrupts (2): canceling transfer 0:0x5638bba64408 (status 0) 31.133683 _close_async_interrupts (2): canceling transfer 1:0x5638bba64608 (status 0) 31.133817 _close_async_interrupts (2): canceling transfer 2:0x5638bba69a28 (status 0) 31.133962 _close_async_interrupts (2): canceling transfer 3:0x5638bba69c78 (status 0) 31.134206 _close_async_interrupts (2): canceling transfer 4:0x5638bba69ec8 (status 0) 31.134509 _close_async_interrupts (2): canceling transfer 5:0x5638bba6a118 (status 0) 31.134798 _close_async_interrupts (2): canceling transfer 6:0x5638bba6a368 (status 0) 31.135066 _close_async_interrupts (2): canceling transfer 7:0x5638bba6a5b8 (status 0) 31.135333 _close_async_interrupts (2): canceling transfer 8:0x5638bba6a808 (status 0) 31.135632 _close_async_interrupts (2): canceling transfer 9:0x5638bba6aa58 (status 0) 31.135928 _cb_irq (2): 0x5638bba64408 with status 3 31.135939 _cb_irq (2): Transfer 0x5638bba64408 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 31.135950 _cb_irq (2): 0x5638bba64608 with status 3 31.135955 _cb_irq (2): Transfer 0x5638bba64608 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 31.135962 _cb_irq (2): 0x5638bba69a28 with status 3 ... Not sure what to make of the error. Also not sure if there is a numbering problem in the code. It looks like it is complaining about file 397, but: $ gphoto2 --force-overwrite --get-file 397-397 Saving file as IMG_0362.PNG (file saves just fine) So it is actually file 398 where the error is occurring despite the 397 listed in the log (or I may just be reading the log wrong). Further, all files after this fail to download as well. Attempting file 398 or 399 or 400 all fail with the same error. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1206534 http://bugzilla.opensuse.org/show_bug.cgi?id=1206534#c1 --- Comment #1 from David Rankin <drankinatty@suddenlinkmail.com> --- IOS Version : 15.7.1 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1206534 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |meissner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com