[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gphoto2 debug message



I'm using gphoto2 for a Canon A510 (PTP). It seems to be seen OK on
the usb bus. I have a directory /opt/tmp/camera/ into which to dump
downloaded photos.

I find that I can't use gphoto as user, and so as root I do:

  # env LANG=C gphoto2 --debug -f "/opt/tmp/camera" -P

and get: 

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

11.857811 gphoto2-filesystem(2): Internally deleting all folders from '/'...
11.857831 gphoto2-filesystem(2): Internally appending folder /store_00010001...
11.857842 gphoto2-filesystem(2): Internally appending folder /store_80000001...
11.857853 gphoto2-filesystem(2): Folder / contains 0 files.
11.857889 context(0): Folder '/' does not contain a folder 'opt'.

*** Error ***              
Folder '/' does not contain a folder 'opt'.
11.857905 gphoto2-camera(2): Operation failed!
*** Error (-107: 'Directory not found') ***       

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 -f "/opt/tmp/camera" -P

Please make sure there is sufficient quoting around the arguments.

11.858029 gp-camera(2): Freeing camera...
11.858040 gphoto2-camera(2): Exiting camera ('USB PTP Class Camera')...
11.858058 ptp(2): PTP: Closing session
11.858067 gphoto2-port(2): Writing 12=0xc byte(s) to port...
11.858076 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 03 10-65 00 00 00              ........e...    

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

11.861854 gphoto2-port(2): Clear halt...
11.862278 gphoto2-port(2): Clear halt...
11.862650 gphoto2-port(2): Clear halt...
11.863153 gphoto2-port(2): Closing port...
11.863681 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
11.863692 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
11.863701 gphoto2-filesystem(2): Internally deleting all folders from '/'...
11.863716 gphoto2-port(2): Freeing port...
11.863724 gphoto2-port(2): Closing port...
11.863754 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
11.863764 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
11.863783 gphoto2-filesystem(2): Internally deleting all folders from '/'...


Nothing shows up in /opt/tmp/camera. What does "Folder '/' does not
contain a folder 'opt'." mean? In fact I do have /opt. 

-- 
 
       Haines Brown
       KB1GRM       



Reply to: