Your message dated Thu, 06 Jun 2013 10:19:08 +0000
with message-id <[email protected]>
and subject line Bug#696682: fixed in lazygal 0.8-1
has caused the Debian Bug report #696682,
regarding genshi OldTextTemplate is deprecated and buggy, migrate to 
NewTextTemplate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
696682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696682
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lazygal
Version: 0.7.4-1
Severity: normal

Hello,
thanks for maintaining this nice static web photo gallery generator
in Debian!

I am learning how to use lazygal. While experimenting, I wanted to
customize the default theme and I found out something awkward that
really looks like a bug.

The steps to reproduce the issue are:

 0) create a small collection of pictures:

    $ tree 
    .
    └── testpics
        └── testalbum
            ├── dscn1650.jpg
            ├── dscn1652.jpg
            └── dscn1654.jpg
    
    2 directories, 3 files

 1) generate a web gallery with lazygal default theme:

    $ lazygal -t default -o testgallery1 testpics
    [...]
    TPL %SHAREDDIR%/default.css
    [...]

 2) now let's try and do the same thing, but with a user-defined
    theme that is an exact copy of the default theme:

    $ mkdir -p ~/.lazygal/themes/a
    $ cp -ai /usr/share/lazygal/themes/default ~/.lazygal/themes/a
    $ lazygal -t a/default -o testgallery2 testpics
    [...]
    TPL %SHAREDDIR%/default.css
    [...]
    $ diff -ruN testgallery1/shared/ testgallery2/shared/

 3) so far, so good... now let's try and modify the default theme:

    $ cd ~/.lazygal/themes/
    $ cp -ai a b
    $ vim b/default/SHARED_default.tcss
    $ diff -ruN a b
    diff -ruN a/default/SHARED_default.tcss b/default/SHARED_default.tcss
    --- a/default/SHARED_default.tcss       2012-07-16 07:32:55.000000000 +0200
    +++ b/default/SHARED_default.tcss       2012-12-25 18:23:54.000000000 +0100
    @@ -53,6 +53,12 @@
         right:0.1em;
     }
     
    +#if imgalign
    +\#image_img{
    +    text-align:${imgalign};
    +}
    +#end
    +
     .inline_enum ul{
         margin-left: 0;
         padding-left: 0;
    $ cd -
    $ lazygal -t b/default -o testgallery3 testpics
    [...]
    TPL %SHAREDDIR%/default.css
    [...]
    $ diff -ruN testgallery2/shared/ testgallery3/shared/
    diff -ruN testgallery2/shared/default.css testgallery3/shared/default.css
    --- testgallery2/shared/default.css     2012-12-25 18:26:22.000000000 +0100
    +++ testgallery3/shared/default.css     2012-12-25 18:31:41.000000000 +0100
    @@ -21,18 +21,19 @@
         display: none;
     }
     
    -#prev_link{
    +\#prev_link{
         position:absolute;
         top:50%;
         left:0.1em;
     }
     
    -#next_link{
    +\#next_link{
         position:absolute;
         top:50%;
         right:0.1em;
     }
     
    +
     .inline_enum ul{
         margin-left: 0;
         padding-left: 0;
    
 4) this is not good, there seems to no longer be a way to obtain a '#'
    in the output CSS stylesheet...  let's try to enable the new template
    variable:

    $ lazygal -t b/default --template-vars='imgalign=center' \
        -o testgallery4 testpics
    [...]
    TPL %SHAREDDIR%/default.css
    [...]
    $ diff -ruN testgallery3/shared/ testgallery4/shared/
    diff -ruN testgallery3/shared/default.css testgallery4/shared/default.css
    --- testgallery3/shared/default.css     2012-12-25 18:31:41.000000000 +0100
    +++ testgallery4/shared/default.css     2012-12-25 18:36:30.000000000 +0100
    @@ -33,6 +33,9 @@
         right:0.1em;
     }
     
    +\#image_img{
    +    text-align:center;
    +}
     
     .inline_enum ul{
         margin-left: 0;
   
 5) once again, the newly added rule was generated with '\#'
    instead of '#'...


So, in summary, I cannot understand why the small part I added to the
template file breaks the generated CSS stylesheet.

The lazygal man page refers to
http://genshi.edgewall.org/wiki/Documentation/text-templates.html
for the syntax explanation of text templates, but the web page now
describes a new syntax and only dedicates a few final words to
the legacy syntax...

What's wrong?
What did I fail to understand?

Please clarify the documentation or fix the bug (if there is actually
a misbehavior) and/or forward my bug report upstream, as appropriate.

Thanks for your time!


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

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

Versions of packages lazygal depends on:
ii  python          2.7.3~rc2-1
ii  python-genshi   0.6-3
ii  python-imaging  1.1.7-4
ii  python-pyexiv2  0.3.2-5

lazygal recommends no packages.

Versions of packages lazygal suggests:
ii  gstreamer0.10-plugins-base  0.10.36-1
pn  python-gst0.10              <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lazygal
Source-Version: 0.8-1

We believe that the bug you reported is fixed in the latest version of
lazygal, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michal Čihař <[email protected]> (supplier of updated lazygal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 06 Jun 2013 12:05:08 +0200
Source: lazygal
Binary: lazygal
Architecture: source all
Version: 0.8-1
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <[email protected]>
Changed-By: Michal Čihař <[email protected]>
Description: 
 lazygal    - static web gallery generator
Closes: 696648 696682
Changes: 
 lazygal (0.8-1) unstable; urgency=low
 .
   [ Michal Čihař ]
   * New upstream release.
     - Uses new Genshi templates (Closes: #696682).
     - Correctly handles wronly encoded artist in EXIF (Closes: #696648).
     - Uses GExiv2 (LP: #1074028).
   * Depend on GExiv2 instead of pyexiv2.
   * Bump standards to 3.9.4.
   * Use debhelper 9.
 .
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
Checksums-Sha1: 
 6fab95f9d8e31310595710dbd0a384af84d801fe 2017 lazygal_0.8-1.dsc
 d0414e16de5fe2638eac5b7d1420a0574fad76ab 514049 lazygal_0.8.orig.tar.gz
 99bccff6b1dd2535a3b1aeb89da7239b5e9dba91 3868 lazygal_0.8-1.debian.tar.gz
 518e264c0a1e8748842910ffe4964d6410962c28 273770 lazygal_0.8-1_all.deb
Checksums-Sha256: 
 7676ab17797945dc26ef025ad631c2a822d3afbb2fb13428b5c3de8d21b03bda 2017 
lazygal_0.8-1.dsc
 e7a931f4f28860669b7860884cba93852a1efbcb59a28a4b42dd35a1a705e40d 514049 
lazygal_0.8.orig.tar.gz
 c96a1b1956eb361cdf75a746315a6afcae35d13a91b82c795a692c82902c3d21 3868 
lazygal_0.8-1.debian.tar.gz
 ca38cba06a8c01b8c08c0ef0dd6bd921e016aadac9c479c3345c685be546db16 273770 
lazygal_0.8-1_all.deb
Files: 
 e2d57b50abc748c8813b381d45e892d1 2017 graphics optional lazygal_0.8-1.dsc
 23fdd6da6ce13490ec83058a8cb72d59 514049 graphics optional 
lazygal_0.8.orig.tar.gz
 0e3328d8e211fd61dcf077f4ef100da3 3868 graphics optional 
lazygal_0.8-1.debian.tar.gz
 b00a95bc06ff58d70343490a38e31621 273770 graphics optional lazygal_0.8-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRsF/XAAoJEGo39bHX+xdNVMYP/i0ed5KZHUyJe6L9pieHsISn
MbOxi2ZyaANyMst2zKJvug9FPqd6CpStTVGbclQHW5vuRKMmBqJkAQysh1r+3N6J
348XjrfoU/bnLKOymQbywakBlZbyl9MManMhMVk4+doto98FcRdJob2lhcYPAs67
paLbwwD41nLLuRN0yU0mvOrE6rNyIx0m8kvYJ7J08KtTy3HpFHVRgrxwiLENaK5C
yo2ruvGsyHV14nhIw8m+qxKt08F0/rhza4wm6x7VENbkH0Ics7KLxZD69KswAVrC
unYGPLufwacE24JCHNk5xWzdaYRfQytnA4aXPt0IApC90+GGe9Z+yrHSGxFQsAb8
EQyclBFZLG1yMOfHF2e6E/AP0Fmk45yaDVmjDSDrTe83BDe7ZWHK8S+wEBM6SNue
wVv//2tcs5lnMxAbuMcHVDJkxRqvsaV/lty+3BFWEQUCJM69utxhoXNaB+GakdsR
/q7Rl0pvMOuFa/EwUYR17tDpDPY/ooTT4vP/v2LuUr1SK7v89g/avoStvUucETAi
U84mEzaMNhXYBLnm4vmKYatiX/PbTsDXeZ7bp/iQLjeEL/xjYeY/S6QNLd1KSNhm
XmZAPRTdG56usEB8dKJ5Zri1CbcemqQfmfmTIzNzMkJaxt6Nke3Pbgqp3NHKedkO
QQYQ4MVeaeDH5oNWYe9M
=YzMD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to