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

Andrei POPESCU andreimpopescu at gmail.com
Mon Apr 21 11:04:21 UTC 2014


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));
>  	{


-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20140421/184f85ad/attachment.sig>


More information about the Pkg-phototools-devel mailing list