logo       
Bookmark and Share

Upload to camera works, but Kodak CX7430 errors after doing it.: msg#00017

multimedia.gphoto.devel

Subject: Upload to camera works, but Kodak CX7430 errors after doing it.

While trying to upload to my camera, thought it wasn't working cause kept
erroring out. Then booted to another system to see if it was kernel issue
found that the pictures actually did get uploaded.

Using:
libgphoto2-2.1.6-r1
gphoto2-2.1.6
x86_64 system

Error get when uploading to the Kodack CX7430:
******************************
$ gphoto2 -u "100_0597.JPG" --folder "/store_00010001/DCIM/100K7430/"

*** Error ***
preventing buffer overflow
*** Error (-1: 'Unspecified error') ***

*****************************

But you can see that it did upload the file. And as far as can tell it is
good. Comes up with digikam and show the picture:
*****************************
$ gphoto2 -L
There are no files in folder '/'.
There are no files in folder '/store_00010001'.
There are no files in folder '/store_00010001/DCIM'.
There is one file in folder '/store_00010001/DCIM/100K7430':
#1 100_0597.JPG 825 KB 1536x2304 image/jpeg
****************************

DEBUG INFO: (Didn't know if could include attachments, so sniping parts of
debug info to what think is relevant, otherwise is quite large):

Looks like after uploading picture, it errors here and then releases the
camera:
----------------------------------------------------
1.218952 libgphoto2/gphoto2-filesys.c(2): append_file(): strlen(...) = 128 >=
sizeof(buffer) = 12
1.218991 context(0): preventing buffer overflow

*** Error ***
preventing buffer overflow
1.219042 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***
----------------------------------------------------

********************************** DEBUG OUTPUT*****************

0.000026 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG
MESSAGES TO THE MAILING LIST:
0.000172 main(2): gphoto2 2.1.6
0.000197 main(2): gphoto2 has been compiled with the following options:
0.000219 main(2): + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000240 main(2): + popt (for handling command-line parameters)
0.000261 main(2): + exif (for displaying EXIF information)
0.000282 main(2): + cdk (for accessing configuration options)
0.000302 main(2): + aa (for displaying live previews)
0.000323 main(2): + jpeg (for displaying live previews in JPEG format)
0.000344 main(2): + readline (for easy navigation in the shell)
0.000374 main(2): libgphoto2 2.1.6
0.000397 main(2): libgphoto2 has been compiled with the following options:
0.000419 main(2): + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000443 main(2): + no EXIF (for special handling of EXIF files)
0.000464 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.000485 main(2): + /proc/meminfo (adapts cache size to memory available)
0.000511 main(2): libgphoto2_port 0.5.1
0.000534 main(2): libgphoto2_port has been compiled with the following
options:
0.000555 main(2): + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000576 main(2): + USB (for USB cameras)
0.000597 main(2): + serial (for serial cameras)
0.000618 main(2): + no resmgr (serial port access and locking)
0.000638 main(2): + no baudboy (serial port locking)
0.000659 main(2): + no ttylock (serial port locking)
0.000680 main(2): + no lockdev (serial port locking)
0.000701 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.001162 main(2): The user has not specified both a model and a port. Try to
figure them out.
0.001215 gphoto2-port-info-list(2): Loading io-drivers from
'/usr/lib64/gphoto2_port/0.5.1' without ltdl...
0.001569 gphoto2-port-serial(2): Trying to lock '/dev/tts/0'...
....
<snip>
....
0.042613 gphoto2-port-serial(2): Trying to lock '/dev/tts/32'...
0.042658 gphoto2-port-info-list(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so'
0.043592 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:) from
'libgphoto2_port_usb.so'
0.043624 gphoto2-port-info-list(2): Loaded 'Universal Serial
Bus' (usb:003,006) from 'libgphoto2_port_usb.so'
0.043644 gphoto2-port-info-list(2): Loaded 'Universal Serial
Bus' (usb:002,003) from 'libgphoto2_port_usb.so'
0.043662 gphoto2-port-info-list(2): Loaded 'Universal Serial
Bus' (usb:002,002) from 'libgphoto2_port_usb.so'
0.043771 gphoto2-port-info-list(2): Looking for path 'usb:' (5 entries
available)...
0.043809 gphoto2-port-info-list(2): Getting info of entry 0 (5 available)...
0.043837 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus'
at 'usb:'...
0.044608 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.044637 gphoto2-port(2): Setting settings...
0.044655 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.044676 gphoto2-setting(2): Saving 8 setting(s) to file
"/home/david/.gphoto/settings"
0.044948 main(2): Uploading file...
0.047072 gphoto2-camera(2): Uploading file into
'/store_00010001/DCIM/100K7430/'...
0.047118 gphoto2-camera(2): Initializing camera...
0.047154 gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product
0x57b)... found.
0.047175 gphoto2-port-usb(1): Detected defaults: config 1, interface 0,
altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01
0.047195 gphoto2-camera(2): Loading
'/usr/lib64/gphoto2/2.1.6/libgphoto2_ptp2.so'...
0.047459 gphoto2-port(2): Opening USB port...
0.047567 gphoto2-port(0): Could not query kernel driver of device.
0.047627 gphoto2-port(2): Setting timeout to 8000 millisecond(s)...
0.047665 ptp(2): PTP: Opening session
0.047693 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.047756 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................

0.053221 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.061041 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.061065 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-00 00 00 00 ....... ....

0.061096 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.061116 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 01 00 01 10-01 00 00 00 ............

0.062717 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.063717 gphoto2-port(2): Could only read 345 out of 512 byte(s)
0.063742 gphoto2-port(3): Hexdump of 345 = 0x159 bytes follows:
0000 59 01 00 00 02 00 01 10-01 00 00 00 64 00 01 00 Y...........d...
0010 00 00 2c 01 1d 45 00 61-00 73 00 74 00 6d 00 61 ..,..E.a.s.t.m.a
0020 00 6e 00 20 00 4b 00 6f-00 64 00 61 00 6b 00 20 .n. .K.o.d.a.k.
0030 00 50 00 54 00 50 00 20-00 45 00 78 00 74 00 65 .P.T.P. .E.x.t.e
0040 00 6e 00 73 00 69 00 6f-00 6e 00 73 00 00 00 00 .n.s.i.o.n.s....
0050 00 20 00 00 00 01 10 02-10 03 10 04 10 05 10 06 . ..............
0060 10 07 10 08 10 09 10 0a-10 0b 10 0f 10 12 10 13 ................
0070 10 14 10 15 10 16 10 17-10 1b 10 05 90 06 90 07 ................
0080 90 08 90 09 90 0a 90 0b-90 0c 90 0d 90 0e 90 0f ................
0090 90 10 90 11 90 08 00 00-00 01 40 02 40 03 40 04 ..........@.@.@.
00a0 40 05 40 06 40 0e 40 01-c0 07 00 00 00 01 50 11 @.@.@.@.......P.
00b0 50 06 d0 07 d0 08 d0 09-d0 0a d0 00 00 00 00 02 P...............
00c0 00 00 00 0d 30 01 38 16-45 00 61 00 73 00 74 00 ....0.8.E.a.s.t.
00d0 6d 00 61 00 6e 00 20 00-4b 00 6f 00 64 00 61 00 m.a.n. .K.o.d.a.
00e0 6b 00 20 00 43 00 6f 00-6d 00 70 00 61 00 6e 00 k. .C.o.m.p.a.n.
00f0 79 00 00 00 1b 43 00 58-00 37 00 34 00 33 00 30 y....C.X.7.4.3.0
0100 00 20 00 5a 00 6f 00 6f-00 6d 00 20 00 44 00 69 . .Z.o.o.m. .D.i
0110 00 67 00 69 00 74 00 61-00 6c 00 20 00 43 00 61 .g.i.t.a.l. .C.a
0120 00 6d 00 65 00 72 00 61-00 00 00 08 30 00 31 00 .m.e.r.a....0.1.
0130 2e 00 30 00 30 00 30 00-30 00 00 00 0e 4b 00 43 ..0.0.0.0....K.C
0140 00 4b 00 43 00 59 00 34-00 35 00 30 00 32 00 34 .K.C.Y.4.5.0.2.4
0150 00 31 00 33 00 38 00 00-00 .1.3.8...

0.063779 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.069040 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.069061 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-01 00 00 00 ....... ....

0.069098 PTP2/library.c(2): Device info:
0.069115 PTP2/library.c(2): Manufacturer: Eastman Kodak Company
0.069131 PTP2/library.c(2): model: CX7430 Zoom Digital Camera
0.069148 PTP2/library.c(2): device version: 01.0000
0.069164 PTP2/library.c(2): serial number: 'KCKCY45024138'
0.069180 PTP2/library.c(2): Vendor extension ID: 0x00000001
0.069197 PTP2/library.c(2): Vendor extension description: Eastman Kodak PTP
Extensions
0.069214 PTP2/library.c(2): Supported operations:
0.069230 PTP2/library.c(2): 0x1001
0.069246 PTP2/library.c(2): 0x1002
0.069263 PTP2/library.c(2): 0x1003
0.069279 PTP2/library.c(2): 0x1004
0.069295 PTP2/library.c(2): 0x1005
0.069312 PTP2/library.c(2): 0x1006
0.069328 PTP2/library.c(2): 0x1007
0.069344 PTP2/library.c(2): 0x1008
0.069361 PTP2/library.c(2): 0x1009
0.069377 PTP2/library.c(2): 0x100a
0.069394 PTP2/library.c(2): 0x100b
0.069410 PTP2/library.c(2): 0x100f
0.069426 PTP2/library.c(2): 0x1012
0.069443 PTP2/library.c(2): 0x1013
0.069459 PTP2/library.c(2): 0x1014
0.069475 PTP2/library.c(2): 0x1015
0.069492 PTP2/library.c(2): 0x1016
0.069508 PTP2/library.c(2): 0x1017
0.069525 PTP2/library.c(2): 0x101b
0.069541 PTP2/library.c(2): 0x9005
0.069557 PTP2/library.c(2): 0x9006
0.069574 PTP2/library.c(2): 0x9007
0.069590 PTP2/library.c(2): 0x9008
0.069607 PTP2/library.c(2): 0x9009
0.069624 PTP2/library.c(2): 0x900a
0.069640 PTP2/library.c(2): 0x900b
0.069657 PTP2/library.c(2): 0x900c
0.069699 PTP2/library.c(2): 0x900d
0.069715 PTP2/library.c(2): 0x900e
0.069732 PTP2/library.c(2): 0x900f
0.069748 PTP2/library.c(2): 0x9010
0.069764 PTP2/library.c(2): 0x9011
0.069781 PTP2/library.c(2): Events Supported:
0.069797 PTP2/library.c(2): 0x4001
0.069813 PTP2/library.c(2): 0x4002
0.069830 PTP2/library.c(2): 0x4003
0.069846 PTP2/library.c(2): 0x4004
0.069862 PTP2/library.c(2): 0x4005
0.069879 PTP2/library.c(2): 0x4006
0.069895 PTP2/library.c(2): 0x400e
0.069911 PTP2/library.c(2): 0xc001
0.070174 PTP2/library.c(2): Device Properties Supported:
0.070191 PTP2/library.c(2): 0x5001
0.070207 PTP2/library.c(2): 0x5011
0.070223 PTP2/library.c(2): 0xd006
0.070240 PTP2/library.c(2): 0xd007
0.070256 PTP2/library.c(2): 0xd008
0.070272 PTP2/library.c(2): 0xd009
0.070289 PTP2/library.c(2): 0xd00a
0.070333 gphoto2-port(2): Writing 24=0x18 byte(s) to port...
0.070355 gphoto2-port(3): Hexdump of 24 = 0x18 bytes follows:
0000 18 00 00 00 01 00 07 10-02 00 00 00 ff ff ff ff ................
0010 00 00 00 00 00 00 00 00- ........

0.071719 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.072717 gphoto2-port(2): Could only read 24 out of 512 byte(s)
0.072739 gphoto2-port(3): Hexdump of 24 = 0x18 bytes follows:
0000 18 00 00 00 02 00 07 10-02 00 00 00 02 00 00 00 ................
0010 60 00 00 00 90 00 00 00- `.......

0.072760 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.077042 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.077066 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-02 00 00 00 ....... ....

0.077103 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.077124 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 08 10-03 00 00 00 60 00 00 00 ............`...

0.078717 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.085043 gphoto2-port(2): Could only read 78 out of 512 byte(s)
0.085066 gphoto2-port(3): Hexdump of 78 = 0x4e bytes follows:
0000 4e 00 00 00 02 00 08 10-03 00 00 00 01 00 01 00 N...............
0010 01 30 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .0..............
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 01 00-00 00 00 00 00 00 00 00 ................
0040 05 44 00 43 00 49 00 4d-00 00 00 00 00 00 .D.C.I.M......

0.085087 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.086716 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.086738 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-03 00 00 00 ....... ....

0.086763 PTP2/library.c(2): ObjectInfo for 'DCIM':
0.086780 PTP2/library.c(2): Object ID: 0x00000060
0.086797 PTP2/library.c(2): StorageID: 0x00010001
0.086813 PTP2/library.c(2): ObjectFormat: 0x3001
0.086830 PTP2/library.c(2): ProtectionStatus: 0x0000
0.086846 PTP2/library.c(2): ObjectCompressedSize: 0
0.086863 PTP2/library.c(2): ThumbFormat: 0x0000
0.086879 PTP2/library.c(2): ThumbCompressedSize: 0
0.086896 PTP2/library.c(2): ThumbPixWidth: 0
0.086912 PTP2/library.c(2): ThumbPixHeight: 0
0.086929 PTP2/library.c(2): ImagePixWidth: 0
0.086945 PTP2/library.c(2): ImagePixHeight: 0
0.086961 PTP2/library.c(2): ImageBitDepth: 0
0.086978 PTP2/library.c(2): ParentObject: 0x00000000
0.086994 PTP2/library.c(2): AssociationType: 0x0001
0.087011 PTP2/library.c(2): AssociationDesc: 0x00000000
0.087027 PTP2/library.c(2): SequenceNumber: 0x00000000
0.087046 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.087065 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 08 10-04 00 00 00 90 00 00 00 ................

0.087753 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.093041 gphoto2-port(2): Could only read 86 out of 512 byte(s)
0.093064 gphoto2-port(3): Hexdump of 86 = 0x56 bytes follows:
0000 56 00 00 00 02 00 08 10-04 00 00 00 01 00 01 00 V...............
0010 01 30 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .0..............
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 60 00 00 00 01 00-00 00 00 00 00 00 00 00 ..`.............
0040 09 31 00 30 00 30 00 4b-00 37 00 34 00 33 00 30 .1.0.0.K.7.4.3.0
0050 00 00 00 00 00 00 - ......

0.093108 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.095716 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.095737 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-04 00 00 00 ....... ....

0.095758 PTP2/library.c(2): ObjectInfo for '100K7430':
0.095775 PTP2/library.c(2): Object ID: 0x00000090
0.095792 PTP2/library.c(2): StorageID: 0x00010001
0.095808 PTP2/library.c(2): ObjectFormat: 0x3001
0.095825 PTP2/library.c(2): ProtectionStatus: 0x0000
0.095842 PTP2/library.c(2): ObjectCompressedSize: 0
0.095859 PTP2/library.c(2): ThumbFormat: 0x0000
0.095875 PTP2/library.c(2): ThumbCompressedSize: 0
0.095892 PTP2/library.c(2): ThumbPixWidth: 0
0.095908 PTP2/library.c(2): ThumbPixHeight: 0
0.095925 PTP2/library.c(2): ImagePixWidth: 0
0.095941 PTP2/library.c(2): ImagePixHeight: 0
0.095958 PTP2/library.c(2): ImageBitDepth: 0
0.095974 PTP2/library.c(2): ParentObject: 0x00000060
0.095991 PTP2/library.c(2): AssociationType: 0x0001
0.096009 PTP2/library.c(2): AssociationDesc: 0x00000000
0.096026 PTP2/library.c(2): SequenceNumber: 0x00000000
0.096092 gphoto2-filesystem(2): Folder / is dirty. Listing file in there to
make folder clean...
0.096607 gphoto2-filesystem(2): Listing folders in '/'...
0.096653 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.096674 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 01 00 04 10-05 00 00 00 ............

0.101043 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.102717 gphoto2-port(2): Could only read 24 out of 512 byte(s)
0.102739 gphoto2-port(3): Hexdump of 24 = 0x18 bytes follows:
0000 18 00 00 00 02 00 04 10-05 00 00 00 02 00 00 00 ................
0010 01 00 01 00 00 00 02 00- ........

0.102760 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.109044 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.109071 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-05 00 00 00 ....... ....

0.109106 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.109125 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 05 10-06 00 00 00 01 00 01 00 ................

0.110717 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.117047 gphoto2-port(2): Could only read 40 out of 512 byte(s)
0.117069 gphoto2-port(3): Hexdump of 40 = 0x28 bytes follows:
0000 28 00 00 00 02 00 05 10-06 00 00 00 04 00 03 00 (...............
0010 00 00 00 00 3e 0f 00 00-00 00 00 80 3d 0f 00 00 ....>.......=...
0020 00 00 da 00 00 00 00 00- ........

0.117090 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.118717 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.118739 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-06 00 00 00 ....... ....

0.118773 gphoto2-filesystem(2): Internally deleting all folders from '/'...
0.118808 gphoto2-filesystem(2): Internally appending folder /store_00010001...
0.118831 gphoto2-filesystem(2): Folder / contains 0 files.
0.118876 gphoto2-filesystem(2): Folder /store_00010001 is dirty. Listing file
in there to make folder clean...
0.119368 gphoto2-filesystem(2): Listing folders in '/store_00010001'...
0.119423 gphoto2-filesystem(2): Internally deleting all folders from
'/store_00010001'...
0.119442 gphoto2-filesystem(2): Internally appending
folder /store_00010001/DCIM...
0.119463 gphoto2-filesystem(2): Folder /store_00010001 contains 0 files.
0.119497 gphoto2-filesystem(2): Folder /store_00010001/DCIM is dirty. Listing
file in there to make folder clean...
0.119986 gphoto2-filesystem(2): Listing folders in '/store_00010001/DCIM'...
0.120047 gphoto2-filesystem(2): Internally deleting all folders from
'/store_00010001/DCIM'...
0.120067 gphoto2-filesystem(2): Internally appending
folder /store_00010001/DCIM/100K7430...
0.120089 gphoto2-filesystem(2): Folder /store_00010001/DCIM contains 0 files.
0.120170 gphoto2-port(2): Writing 20=0x14 byte(s) to port...
0.120193 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows:
0000 14 00 00 00 01 00 05 90-07 00 00 00 01 00 01 00 ................
0010 90 00 00 00 - ....

0.125078 gphoto2-port(2): Writing 95=0x5f byte(s) to port...
0.125104 gphoto2-port(3): Hexdump of 95 = 0x5f bytes follows:
0000 5f 00 00 00 02 00 05 90-07 00 00 00 00 00 00 00 _...............
0010 01 38 00 00 b5 e2 0c 00-00 00 00 00 00 00 00 00 .8..............
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0040 0d 31 00 30 00 30 00 5f-00 30 00 35 00 39 00 37 .1.0.0._.0.5.9.7
0050 00 2e 00 4a 00 50 00 47-00 00 00 00 00 00 00 ...J.P.G.......

0.126718 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.141046 gphoto2-port(2): Could only read 24 out of 512 byte(s)
0.141072 gphoto2-port(3): Hexdump of 24 = 0x18 bytes follows:
0000 18 00 00 00 03 00 01 20-07 00 00 00 01 00 01 00 ....... ........
0010 90 00 00 00 c0 00 00 00- ........

0.141106 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.141126 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 01 00 06 90-08 00 00 00 ............

0.142717 gphoto2-port(2): Writing 512=0x200 byte(s) to port...
0.142745 gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows:
0000 c1 e2 0c 00 02 00 06 90-08 00 00 00 ff d8 ff e1 ................
0010 1b 9f 45 78 69 66 00 00-4d 4d 00 2a 00 00 00 08 ..Exif..MM.*....
0020 00 08 01 0f 00 02 00 00-00 16 00 00 01 b2 01 10 ................

<snip picture cause way too big, if need still have the full debug
output>
...
...
<snip end>

e0a0 2e 5c 9c ee 25 58 ff 00-9c d6 74 68 7b 8e a5 49 .\..%X....th{..I
e0b0 ab f4 d4 cd 51 af 29 ca-a3 a8 d2 bf ba af d0 ff ....Q.).........
e0c0 d9 - .

1.165118 gphoto2-port(2): Reading 512=0x200 bytes from port...
1.181110 gphoto2-port(2): Could only read 12 out of 512 byte(s)
1.181137 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-08 00 00 00 ....... ....

1.181185 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
1.181207 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 08 10-09 00 00 00 c0 00 00 00 ................

1.182723 gphoto2-port(2): Reading 512=0x200 bytes from port...
1.217115 gphoto2-port(2): Could only read 158 out of 512 byte(s)
1.217147 gphoto2-port(3): Hexdump of 158 = 0x9e bytes follows:
0000 9e 00 00 00 02 00 08 10-09 00 00 00 01 00 01 00 ................
0010 01 38 00 00 b5 e2 0c 00-08 38 df 0f 00 00 a0 00 .8.......8......
0020 00 00 78 00 00 00 00 06-00 00 00 09 00 00 00 00 ..x.............
0030 00 00 90 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0040 0d 31 00 30 00 30 00 5f-00 30 00 35 00 39 00 37 .1.0.0._.0.5.9.7
0050 00 2e 00 4a 00 50 00 47-00 00 00 10 32 00 30 00 ...J.P.G....2.0.
0060 30 00 36 00 30 00 31 00-31 00 32 00 54 00 31 00 0.6.0.1.1.2.T.1.
0070 34 00 30 00 33 00 34 00-30 00 00 00 10 32 00 30 4.0.3.4.0....2.0
0080 00 30 00 36 00 30 00 32-00 31 00 32 00 54 00 31 .0.6.0.2.1.2.T.1
0090 00 32 00 32 00 33 00 31-00 36 00 00 00 00 .2.2.3.1.6....

1.217171 gphoto2-port(2): Reading 512=0x200 bytes from port...
1.218722 gphoto2-port(2): Could only read 12 out of 512 byte(s)
1.218744 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-09 00 00 00 ....... ....

1.218952 libgphoto2/gphoto2-filesys.c(2): append_file(): strlen(...) = 128 >=
sizeof(buffer) = 12
1.218991 context(0): preventing buffer overflow

*** Error ***
preventing buffer overflow
1.219042 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***

1.219401 gp-camera(2): Freeing camera...
1.219426 gphoto2-camera(2): Exiting camera ('Kodak CX7430')...
1.219457 ptp(2): PTP: Closing session
1.219478 gphoto2-port(2): Writing 12=0xc byte(s) to port...
1.219499 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 01 00 03 10-0a 00 00 00 ............

1.219726 gphoto2-port(2): Reading 512=0x200 bytes from port...
1.229670 gphoto2-port(2): Could only read 12 out of 512 byte(s)
1.229699 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-0a 00 00 00 ....... ....

1.229731 gphoto2-port(2): Clear halt...
1.231722 gphoto2-port(2): Clear halt...
1.234720 gphoto2-port(2): Clear halt...
1.237727 gphoto2-port(2): Closing port...
1.240832 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
1.240855 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
1.240872 gphoto2-filesystem(2): Internally deleting all folders from '/'...
1.240904 gphoto2-port(2): Freeing port...
1.240923 gphoto2-port(2): Closing port...
1.240999 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
1.241061 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
1.241078 gphoto2-filesystem(2): Internally deleting all folders from '/'...
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@xxxxxxxxxxxxxxxxxxxxx>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug -u "100_0597.JPG" --folder
"/store_00010001/DCIM/100K7430/"

Please make sure there is sufficient quoting around the arguments.
********************DEBUG OUTPUT END*****************

I also saw another thread about batch uploading and to use multiple -u for
now, but batch upload would be a nice feature to add. :)

Thanks, Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise