[Pkg-phototools-devel] Bug#603384: Cannot trivially download photos from a simple SD card

Enrico Zini enrico at debian.org
Sat Nov 13 16:14:13 UTC 2010


Package: gphoto2
Version: 2.4.5-2+b1
Severity: normal

Hello,

thanks for maintaning gphoto2.

I am trying to reproduce #512883 so I could try to debug it, but I
didn't get as far as the bug reporter did. I have photos on a SD card
put in my laptop SD card reader, and gphoto2 -l and gphoto2 -L correctly
list the contents of the SD card. I can copy file out of it using plain
"cp". However, gphoto2 cannot:

  $ gphoto2 --get-all-files
  Downloading 'P1110588.JPG' from folder '/DCIM/111_PANA'...                     
  *** Error (-1: 'Unspecified error') ***       
  
  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 at lists.sourceforge.net>, please run
  gphoto2 as follows:
  
      env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --get-all-files
  
  Please make sure there is sufficient quoting around the arguments.

I generate the logfile and this seems to be the relevant extract:

  0.280131 context(2): Downloading 'P1110666.JPG' from folder '/DCIM/111_PANA'...
  0.280182 gp_file_open(0): Needs to be initialized with fd=-1 to work
  0.280209 libgphoto2/gphoto2-filesys.c(2): Download of 'P1110666.JPG' from '/DCIM/111_PANA' (type 1) failed. Reason: 'Unspecified error'
  0.280221 gphoto2-camera(2): Operation failed!


I hereby give up in dismay.


Ciao,

Enrico

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gphoto2 depends on:
ii  libaa1                    1.4p5-38       ascii art library
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libcdk5                   5.0.20060507-2 C-based curses widget library
ii  libexif12                 0.6.19-1       library to parse EXIF files
ii  libgphoto2-2              2.4.6-1+b1     gphoto2 digital camera library
ii  libgphoto2-port0          2.4.6-1+b1     gphoto2 digital camera port librar
ii  libjpeg62                 6b1-1          The Independent JPEG Group's JPEG 
ii  libncurses5               5.7+20100313-4 shared libraries for terminal hand
ii  libpopt0                  1.16-1         lib for parsing cmdline parameters
ii  libreadline5              5.2-7          GNU readline and history libraries

gphoto2 recommends no packages.

Versions of packages gphoto2 suggests:
pn  gthumb                        <none>     (no description available)
pn  gtkam                         <none>     (no description available)

-- no debconf information





More information about the Pkg-phototools-devel mailing list