[Pkg-phototools-devel] Bug#745393: libgphoto2-6: Nokia Lumia 1020: 'There is no file in folder' error

Massis Sirapian msirapian at free.fr
Mon Nov 17 17:55:20 UTC 2014


Hi

As this patch isn't yet integrated to the source, I've tested the 2.5.5 
release (17th of Aug 2014) and I can confirm it works directly without a 
patch. The same for 2.5.5.1 of course (released on the 30th of August).

I'll wait patiently for the new package; in the meanwhile, I use my own 
packaged librairies as this bug virtually breaks gphoto for my use 
(can't get my pictures from my main device).

regards

Massis

On Mon, 21 Apr 2014 14:04:21 +0300 Andrei POPESCU 
<andreimpopescu at gmail.com> wrote:
> Control: reassign -1 src:libgphoto2 2.5.4-1
>
> On Lu, 21 apr 14, 12:03:43, Massis Sirapian wrote:
> > Source: libgphoto2-6
> > Severity: normal
> > Tags: patch
> >
> > Hi,
> >
> > When updating libgphoto2-6 to 2.5.4, I'm running into a new bug, which is known upstream.
> >
> > I get:
> >
> > # /usr/local/bin/gphoto2 --list-files
> > There is no file in folder '/'.
> > There is no file in folder '/store_00010001'.
> >
> > Upstream states 'One of my 2.5.4 fixes for a different camera was too eager and broke this due to slight incorrect protocol interpretation by the nokia.'
> >
> > Patch is attached and reportedly fixed this bug.
> >
> > Source: http://sourceforge.net/p/gphoto/bugs/975/#dcb3
> >
> > Thank you
> >
> > regards
> >
> > Massis
> >
> >
> > -- System Information:
> > Debian Release: jessie/sid
> >   APT prefers unstable
> >   APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
> > Architecture: amd64 (x86_64)
> > Foreign Architectures: i386
> >
> > Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
> > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
>
> > Index: camlibs/ptp2/library.c
> > ===================================================================
> > --- camlibs/ptp2/library.c	(revision 14883)
> > +++ camlibs/ptp2/library.c	(working copy)
> > @@ -7179,9 +7179,12 @@
> >  		ptp_getfilesystemmanifest (params, 0x00010001, 0, 0, &data);
> >  	}
> >  #endif
> > -	/* hmm ...
> > -	ptp_list_folder (params, PTP_HANDLER_SPECIAL, PTP_HANDLER_SPECIAL);
> > -	 */
> > +
> > +	/* avoid doing this on the Sonys DSLRs in control mode, they hang. :( */
> > +
> > +	if (params->deviceinfo.VendorExtensionID != PTP_VENDOR_SONY)
> > +		ptp_list_folder (params, PTP_HANDLER_SPECIAL, PTP_HANDLER_SPECIAL);
> > +
> >  	/* read the root directory to avoid the "DCIM WRONG ROOT" bugs */
> >  	CR (gp_filesystem_set_funcs (camera->fs, &fsfuncs, camera));



More information about the Pkg-phototools-devel mailing list