From: SourceForge.net <no...@so...> - 2006-03-18 07:31:32
|
Bugs item #1296620, was opened at 2005-09-20 17:27 Message generated for change (Comment added) made by marcusmeissner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1296620&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gphoto2 Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Pav Lucistnik (lucistnik) Assigned to: Nobody/Anonymous (nobody) Summary: Failure to download file from Canon EOS-350D Initial Comment: Sometimes it happens that my camera contains a file that resists downloading with gphoto (using command line utility). Error is: 49.546187 gphoto2-port(2): Reading 512=0x200 bytes from port... 49.546997 gphoto2-port(2): Could only read 0 out of 512 byte(s) 49.547009 gphoto2-port(3): Empty hexdump of empty buffer 49.547018 gphoto2-port(2): Reading 512=0x200 bytes from port... 57.548259 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffde -34 57.548294 context(0): PTP I/O error *** Error *** PTP I/O error 57.548321 libgphoto2/gphoto2-filesys.c(2): Download of 'IMG_0289.JPG' from '/store_00000001/DCIM/202CANON' (type 1) failed. Reason: 'Unspecified error' 57.548331 gphoto2-camera(2): Operation failed! *** Error (-1: 'Unspecified error') *** Output of env LANG=C gphoto2 --debug --get-file "220" is available at http://raven.oook.cz/gphoto-typescript.gz It happens randomly, usually it's single file on 2GB card. The file is retrievable with standard PTP driver in Windows XP. ---------------------------------------------------------------------- >Comment By: Marcus Meissner (marcusmeissner) Date: 2006-03-18 07:31 Message: Logged In: YES user_id=48092 thanks for debugging it :) ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2006-03-18 00:01 Message: Logged In: YES user_id=674065 Figured out this is a bug in FreeBSD EHCI driver. You can probably close this Bug. ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2006-03-16 09:19 Message: Logged In: YES user_id=674065 The failing JPG file is now available at http://raven.oook.cz/gphoto/IMG_5442.JPG ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2006-03-16 00:45 Message: Logged In: YES user_id=674065 I managed to reproduce the bug on another file, with 2.1.6 and 2.1.99. Filesize this time is 1889780 bytes. Debug logs: http://raven.oook.cz/gphoto/debug.2.1.6.gz http://raven.oook.cz/gphoto/debug.2.1.99.gz I can get you the JPG file too, if you need it. ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2006-01-05 12:55 Message: Logged In: YES user_id=674065 I can't, sorry. I don't have saved record of other failing files, and I don't have a failing file on any flashcard at the moment. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2006-01-05 12:45 Message: Logged In: YES user_id=48092 it seems to download the file fine , the last 2 bytes are FF D9. can you check other filesizes? ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2006-01-05 12:35 Message: Logged In: YES user_id=674065 The filesize reported in the typescript is valid: PTP2/library.c(2): ObjectInfo for 'IMG_0289.JPG': PTP2/library.c(2): ObjectCompressedSize: 2272244 ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2006-01-05 12:23 Message: Logged In: YES user_id=48092 sorry for getting back so late. hmm. the transfer log looks fine. :( can you determine the filesizes that are problematic? I think it is dependend on the filesize. ---------------------------------------------------------------------- Comment By: Pav Lucistnik (lucistnik) Date: 2005-09-20 17:28 Message: Logged In: YES user_id=674065 Forgot to mention I'm running 2.1.6 release on FreeBSD 6.0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1296620&group_id=8874 |