Skip to content

Instantly share code, notes, and snippets.

@xseignard
Created April 28, 2013 17:47
Show Gist options
  • Save xseignard/5477705 to your computer and use it in GitHub Desktop.
Save xseignard/5477705 to your computer and use it in GitHub Desktop.
log from node-gphoto2 tests
> [email protected] test /home/pi/projects/node-gphoto2
> node_modules/mocha/bin/mocha
gphoto2-port-info-list: Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.10.0'...
gphoto2-port-info-list: Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
gphoto2-port-info-list: Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
gphoto2-port-info-list: Loaded 'Universal Serial Bus' ('usb:001,006') from '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
gphoto2-port-info-list: Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
gphoto2-port-info-list: Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usb1'.
gphoto2-port-info-list: '/usr/local/lib/libgphoto2_port/0.10.0/usb1' already loaded
gphoto2-port-info-list: Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usbdiskdirect'.
gphoto2-port-info-list: Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usbscsi'.
gphoto2-port-info-list: Counting entries (7 available)...
gphoto2-port-info-list: 3 regular entries available.
gphoto2-abilities-list: Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.1.1'...
gphoto2-abilities-list: Found '/usr/local/lib/libgphoto2/2.5.1.1/adc65'.
gphoto2-abilities-list: Found '/usr/local/lib/libgphoto2/2.5.1.1/agfa_cl20'.
gphoto2-abilities-list: Found '/usr/local/lib/libgphoto2/2.5.1.1/aox'.
gphoto2-abilities-list: Found '/usr/local/lib/libgphoto2/2.5.1.1/ax203'.
gp-abilities-list: Found 64 camera drivers.
gphoto2-port-info-list: Counting entries (7 available)...
gphoto2-port-info-list: 3 regular entries available.
gphoto2-port: Creating new device...
gphoto2-port-info-list: Getting info of entry 0 (7 available)...
gphoto2-port: Setting settings...
gphoto2-port-info-list: Getting info of entry 1 (7 available)...
gphoto2-port: Setting timeout to 5000 millisecond(s)...
gphoto2-port: Setting settings...
libusb: gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
gphoto2-abilities-list.c: Auto-detecting USB cameras...
libusb: Looking for USB device (vendor 0x4a9, product 0x31ea)... found.
gphoto2-port-usb: Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
gphoto2-port-usb: Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
gphoto2-port: Freeing port...
gphoto2-port: Closing port...
node-gphoto2 should find attached cameras:  ․ node-gphoto2 should find attached cameras: 5ms
node-gphoto2 should provide a list of settings: libusb: claiming interface 0
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
ptp_list_folder: (storage=0xffffffff, handle=0xffffffff)
ptp: ptp_object_want: querying handle 0?
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 24=0x18 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 3072=0xc00 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp: event 33: EOS prop d161 info record, datasize is 32
ptp: event 33: Unknown EOS property d161, datasize is 32
ptp: 0: 20
ptp: 1: 00
ptp: 2: 00
ptp: 13: 12
ptp: 14: 60
ptp: 15: 0c
ptp: 16: 40
ptp: 17: 14
ptp: event 109: propdesc d172, default value not found.
ptp: event 110: EOS prop d11c desc record, datasize 8, propxtype 3
ptp: event 110: propxtype is 3, prop is 0xd11c, data type is 0x0006, propxcnt is 2.
ptp: event 110: suppval[0] of d11c is 0x2.
ptp: event 110: suppval[1] of d11c is 0x4.
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 20 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 24=0x18 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-widget: Setting value of widget 'Bracket Mode' to '0'...
camera_get_config: Getting property 'Auto Exposure Bracketing' / 0xd1d9
ptp/get_generic16: no enumeration/range in 16bit table code
camera_get_config: Failed to parse value of property 'Auto Exposure Bracketing' / 0xd1d9: ret -1
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
 ․ node-gphoto2 should provide a list of settings: 311ms
gphoto2-widget: Setting value of widget 'Battery Level' to '100'...
node-gphoto2 should allow saving camera settings: gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 80 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 20 out of 512 byte(s)
ptp2/ptp_usb_getresp: reading response
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 80 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
 1) node-gphoto2 should allow saving camera settings
gphoto2-camera: Operation failed!
node-gphoto2 should return a proper error code when something goes wrong: gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 16 out of 512 byte(s)
ptp2/canon_eos_capture: result is 0
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 48 out of 512 byte(s)
ptp2/ptp_usb_getresp: reading response
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0000
ptp2/canon_eos_capture: entry type 0000
ptp2/canon_eos_capture: entry type 0000
ptp2/canon_eos_capture: entry type 0000
ptp2/canon_eos_capture: entry type 0000
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getresp: reading response
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
 2) node-gphoto2 should return a proper error code when something goes wrong
node-gphoto2 should be able to take a picture without downloading: gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 5632=0x1600 bytes from port...
gphoto2-port: Reading 428=0x1ac bytes from port...
ptp2/ptp_usb_getresp: reading response
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 16 out of 512 byte(s)
gphoto2-port: Writing 16=0x10 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 16 out of 512 byte(s)
ptp2/canon_eos_capture: result is 0
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 48 out of 512 byte(s)
ptp2/ptp_usb_getresp: reading response
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
 3) node-gphoto2 should be able to take a picture without downloading
node-gphoto2 should be able to take a picture and download it to a buffer: gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 24=0x18 byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
 4) node-gphoto2 should be able to take a picture and download it to a buffer
node-gphoto2 should be able to take a picture and download it to the file system: gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 5632=0x1600 bytes from port...
gphoto2-port: Reading 310=0x136 bytes from port...
ptp2/ptp_usb_getresp: reading response
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 16 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 16 out of 512 byte(s)
ptp2/canon_eos_capture: result is 0
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
ptp2/ptp_usb_getdata: reading data
ptp2/ptp_usb_getpacket: getting next ptp packet
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 48 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
ptp2/canon_eos_capture: entry type 0003
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Could only read 12 out of 512 byte(s)
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Writing 12=0xc byte(s) to port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 512=0x200 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
 5) node-gphoto2 should be able to take a picture and download it to the file system
node-gphoto2 should be able to take a picture and download it later: gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
gphoto2-port: Reading 65536=0x10000 bytes from port...
 6) node-gphoto2 should be able to take a picture and download it later
Segmentation fault
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment