Your message dated Fri, 05 Aug 2011 11:47:50 +0000
with message-id <[email protected]>
and subject line Bug#631181: fixed in lazygal 0.6.2-1
has caused the Debian Bug report #631181,
regarding lazygal: lazygal failed when one use the -O and there are video
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.)
--
631181: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lazygal
Version: 0.6.1-1
Severity: normal
When there are a video in the album, and lazygal is ask to keep original
copies of the photos, it will failed when generating the xhtml page with
the following traceback:
Traceback (most recent call last):
File "/usr/bin/lazygal", line 319, in <module>
options.check_all_dirs, options.clean_dest)
File "/usr/lib/python2.6/dist-packages/lazygal/generators.py", line 763, in
generate
destgal.make(force=True) # avoid another needs_build() call in make()
File "/usr/lib/python2.6/dist-packages/lazygal/generators.py", line 439, in
make
super(WebalbumDir, self).make(force or needed_build)
File "/usr/lib/python2.6/dist-packages/lazygal/make.py", line 110, in make
d.make() # dependency building not forced
File "/usr/lib/python2.6/dist-packages/lazygal/make.py", line 111, in make
self.call_build()
File "/usr/lib/python2.6/dist-packages/lazygal/make.py", line 120, in
call_build
self.build()
File "/usr/lib/python2.6/dist-packages/lazygal/genpage.py", line 238, in build
tpl_values['original_link'] = self.image.filename
AttributeError: 'WebalbumVideoPage' object has no attribute 'image'
The attached patch fix the generation but is probably not the correct
way of doing it: One should provide original link also for video.
--- lazygal-0.6.1.orig/lazygal/genpage.py
+++ lazygal-0.6.1/lazygal/genpage.py
@@ -227,7 +227,7 @@ class WebalbumBrowsePage(WebalbumPage):
tpl_values['osize_links'] = self._get_osize_links(self.media.name)
tpl_values['rel_root'] = self.dir.source_dir.rel_root()
- if self.dir.album.original:
+ if self.dir.album.original and not isinstance(self.image.is,WebalbumVideoPage):
if self.dir.album.orig_base:
tpl_values['original_link'] = os.path.join(\
self.dir.source_dir.rel_root(),
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (700, 'unstable'), (500, 'oldstable'), (500, 'testing'), (50,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lazygal depends on:
ii python 2.6.6-14 interactive high-level object-orie
ii python-genshi 0.6-1+b1 Python XML-based template engine
ii python-imaging 1.1.7-2+b1 Python Imaging Library
ii python-pyexiv2 0.3.0-4+b1 Python binding to Exiv2
ii python2.6 2.6.7-1 An interactive high-level object-o
ii python2.7 2.7.2-1 An interactive high-level object-o
lazygal recommends no packages.
Versions of packages lazygal suggests:
ii gstreamer0.10-plugins-base 0.10.34-1 GStreamer plugins from the "base"
ii python-gst0.10 0.10.21-2+b1 generic media-playing framework (P
-- debconf-show failed
--
Rémi Vanicat
--- End Message ---
--- Begin Message ---
Source: lazygal
Source-Version: 0.6.2-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:
lazygal_0.6.2-1.debian.tar.gz
to main/l/lazygal/lazygal_0.6.2-1.debian.tar.gz
lazygal_0.6.2-1.dsc
to main/l/lazygal/lazygal_0.6.2-1.dsc
lazygal_0.6.2-1_all.deb
to main/l/lazygal/lazygal_0.6.2-1_all.deb
lazygal_0.6.2.orig.tar.gz
to main/l/lazygal/lazygal_0.6.2.orig.tar.gz
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: Fri, 05 Aug 2011 13:32:23 +0200
Source: lazygal
Binary: lazygal
Architecture: source all
Version: 0.6.2-1
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <[email protected]>
Changed-By: Michal Čihař <[email protected]>
Description:
lazygal - static web gallery generator
Closes: 630572 631181
Changes:
lazygal (0.6.2-1) unstable; urgency=low
.
* New upstream release.
- fix failure when one use -O and there is a video (Closes: #631181)
- fix failure when date tags are not recognized by pyexiv2
(Closes: #630572)
Checksums-Sha1:
60579471b948efa3df4def44b5a1420b73c21f90 1981 lazygal_0.6.2-1.dsc
24e3808df6aaa8d24d68801f215b4166a2d6dc3f 251552 lazygal_0.6.2.orig.tar.gz
9879ba28677f0591332d7f35c0f7d32deaef4385 3426 lazygal_0.6.2-1.debian.tar.gz
b785d72065d0b10f774f1e93f96ca44148939bbe 132468 lazygal_0.6.2-1_all.deb
Checksums-Sha256:
84fef7e1b82a26bf1f81444cb1da68baec436fcb41d68ecf0b9b14c8396ba619 1981
lazygal_0.6.2-1.dsc
d7febba6801c99fe18ee228220f85834fbcbf513ccbfcf97451a6a560d625cf9 251552
lazygal_0.6.2.orig.tar.gz
2480b3ddab74ad505564a937a12d131e1479a3432f8563e7e679e322955ca758 3426
lazygal_0.6.2-1.debian.tar.gz
3e9e7a856273c1fc6101f45c45dc4de2762bc9896605ac214df481b529e3c7a6 132468
lazygal_0.6.2-1_all.deb
Files:
0e77b280a5764da9b04abb1889c6b000 1981 graphics optional lazygal_0.6.2-1.dsc
8527bd5e83bd4df87a216e4113318f58 251552 graphics optional
lazygal_0.6.2.orig.tar.gz
4d8ca8ce6049a45ca571cb63541b554d 3426 graphics optional
lazygal_0.6.2-1.debian.tar.gz
610a9f0aace31cc8c2381ab166b29d8c 132468 graphics optional
lazygal_0.6.2-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJOO9V4AAoJEGo39bHX+xdNPJgQAMd3s8KBYXpcOI3u0lipyjlS
RVdGH92BFi3a2wn61ukjijuye/Zz19Gf8iYor0snX86gIIEOblxwURUstNPzEbSq
ycgX8D6Dfqso7IRt3YqA63hDZxAzeTE+rBXuB2iWv+Bh4TliJO/y1FsKydVlFZtZ
hYy0Vydi1mB/LnzvWEQzKzevJ9/TjKVLydZpWoEXNh2/hk2E81Q3I9xgoEXfWrNC
TEu65ajaFJPyuhk+8mXOCytFrXWQCtoOqzQGFZJ+KHrjsqRFzn58WpsdOFTQcVMR
diZiXeQdDR2qo8LAIK4TUMVId8qV4GfZyqZ3QgBCxTF8b4vDSg7SWsAl97nRYtzm
ttvGJiSIipuy99/AHO/30XAGaGfRkk9R3oViMoYURyKvx/Egt6bD9ZxCWZsm9SVY
kMDrZpcFUDfOFRC3SxSbyfD3SvDIuDrS/WJ66+siIoELsaG4mtpPRMne8YVAQ2Tl
UM4l1H9ZnqeUi7/BMDL5s7q+3POTyyXnHHM2LWp0rdk5bKaA611+1WMwgG25Vc8x
xbZi7cH4T7h6RJqSL83qE2kfO3lNelcd8K3a6U/i3THxYdHp5zvKg/fQC/F5/Jmx
V+zIkQdq6olu+uiHaSkHV3DRru9Q/Zg+cAjl7ebFijPGQHcsxSdZBVOXJ/v9AMJ+
xL3rBScBZpfHa641Um9v
=udZs
-----END PGP SIGNATURE-----
--- End Message ---