tags 398814 + pending
thanks


Oops, sorry about that. I broke this by changing the way convert is
called in 0.13.8. I will try to upload soon. In the meantime, the
following patch (to apply to /usr/bin/llgal) should fix it.

Thanks,
Brice




Florian Schlichting wrote:
> Package: llgal
> Version: 0.13.8-1
> Severity: normal
>
> when using llgal to recourse through subdirectories, creation of
> thumbnails fails in some directories with the following output:
>
> Entering subdirectory 'Auf nach Leipzig'...
>   Listing entries in . :  100.00%
>   Preparing entries:  100.00%
> !! Failed to create 'Auf nach Leipzig/01.JPG' thumbnail.
> !! convert: unable to open image `nach': No such file or directory.
> !! Failed to create 'Auf nach Leipzig/02.JPG' thumbnail.
> !! convert: unable to open image `nach': No such file or directory.
> !! Failed to create 'Auf nach Leipzig/03.JPG' thumbnail.
> !! convert: unable to open image `nach': No such file or directory.
>
> ...
>
> I suppose there are quotes missing somewhere when calling 'convert';
> renaming the directory in question to 'Auf_nach_Leipzig' (without
> spaces) is a workaround.
>
> Florian
>
> -- System Information:
> Debian Release: 4.0
>   APT prefers unstable
>   APT policy: (700, 'unstable'), (650, 'testing'), (350, 'experimental')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/dash
> Kernel: Linux 2.6.18-1-686
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
>
> Versions of packages llgal depends on:
> ii  imagemagick         7:6.2.4.5.dfsg1-0.11 Image manipulation programs
> ii  libimage-size-perl  3.0-1                determine the size of images in 
> se
> ii  liblocale-gettext-p 1.05-1               Using libc functions for 
> internati
> ii  liburi-perl         1.35-2               Manipulates and accesses URI 
> strin
> ii  perl                5.8.8-6.1            Larry Wall's Practical 
> Extraction 
>
> Versions of packages llgal recommends:
> ii  libimage-exiftool-perl        6.42-1     Library and program to read and 
> wr
>
> -- no debconf information
>
>   

--- llgal	(revision 532)
+++ llgal	(working copy)
@@ -596,8 +596,8 @@
 	    } else {
 		# scale down
 		my $cmdline = $opts->{thumbnail_create_command} ;
-		$cmdline =~ s/<IN>/$real_filename/g ;
-		$cmdline =~ s/<OUT>/$real_thumb_filename/g ;
+		$cmdline =~ s/<IN>/\"$real_filename\"/g ;
+		$cmdline =~ s/<OUT>/\"$real_thumb_filename\"/g ;
 		($status, @output) = Llgal::Utils::system_with_output ( "create '$filename' thumbnail", $cmdline ) ;
 		if ($status == -1) {
 		    $messages->warning (@output) ;
@@ -689,8 +689,8 @@
 		} else {
 		    # scale down
 		    my $cmdline = $opts->{scaled_create_command} ;
-		    $cmdline =~ s/<IN>/$real_filename/g ;
-		    $cmdline =~ s/<OUT>/$real_scaled_filename/g ;
+		    $cmdline =~ s/<IN>/\"$real_filename\"/g ;
+		    $cmdline =~ s/<OUT>/\"$real_scaled_filename\"/g ;
 		    ($status, @output) = Llgal::Utils::system_with_output ( "create '$filename' scaled image", $cmdline ) ;
 		    if ($status == -1) {
 			$messages->warning (@output) ;

Reply via email to