Your message dated Wed, 23 Aug 2023 20:40:00 +0000
with message-id <e1qyue0-0027uc...@fasolo.debian.org>
and subject line Bug#1047864: fixed in impressive 0.13.1-1.1
has caused the Debian Bug report #1047864,
regarding impressive: Crashes at startup: «module 'PIL.Image' has no attribute 
'ANTIALIAS'»
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 ow...@bugs.debian.org
immediately.)


-- 
1047864: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1047864
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: impressive
Version: 0.13.1-1
Severity: grave
Justification: renders package unusable

Hello again,

I have stumbled upon a new bug that affects impressive :-(

When starting up, I see the logo screen, but immediately afterwards, impressive
crashes with the following:

    $ impressive test.pdf 
    Welcome to Impressive version 0.13.1
    Platform library: [pygame-unix] Python 3.11.4 / PyGame 2.5.0 / SDL 2.28.1
    Detected screen size: 3840x2160 pixels
    PDF renderer: MuPDF 1.4 or newer
    OpenGL renderer: Mesa Intel(R) UHD Graphics 600 (GLK 2)
    Your version of PIL is too old or incomplete, disabling OSD.
    warning: ICC support is not available
    warning: ICC support is not available
    
    
===============================================================================
    OOPS! Impressive crashed!
    This shouldn't happen. Please report this incident to the author, including 
the
    full output of the program, particularly the following lines. If possible,
    please also send the input files you used.
    
    Impressive version: 0.13.1
    Python version: 3.11.4 (main, Jun 7 2023, 10:13:09) [GCC 12.2.0]
    Impressive platform: pygame-unix
    PyGame version: 2.5.0
    SDL version: 2.28.1
    PIL version: Pillow 10.0.0
    PDF renderer: MuPDF 1.4 or newer
    OpenGL vendor: Intel
    OpenGL renderer: Mesa Intel(R) UHD Graphics 600 (GLK 2)
    OpenGL version: 4.6 (Compatibility Profile) Mesa 23.1.4-1
    Operating system: Linux 6.4.0-1-amd64 (x86_64)
    Linux distribution: Debian GNU/Linux trixie/sid
    Command line: /usr/bin/impressive test.pdf
    Traceback (most recent call last):
      File "/usr/bin/impressive", line 6569, in run_main
        main()
      File "/usr/bin/impressive", line 6486, in main
        RenderPage(Pcurrent, Tcurrent)
      File "/usr/bin/impressive", line 3741, in RenderPage
        gl.TexImage2D(gl.TEXTURE_2D, 0, gl.RGB, TexWidth, TexHeight, 0, gl.RGB, 
gl.UNSIGNED_BYTE, PageImage(page))
                                                                                
                  ^^^^^^^^^^^^^^^
      File "/usr/bin/impressive", line 3706, in PageImage
        img.thumbnail((sx, sy), Image.ANTIALIAS)
                                ^^^^^^^^^^^^^^^
    AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
    $ 

I suppose this comes as a change in python3-pil's API. I got impressive to work
again by very simplisticly substituting Image.ANTIALIAS in /usr/bin/impressive,
but of course, I'm sure there are better ways to patch this issue :-)

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

Kernel: Linux 6.1.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages impressive depends on:
ii  mupdf-tools     1.22.2+ds1-1
ii  poppler-utils   22.12.0-2+b1
ii  python3         3.11.4-5
ii  python3-pil     10.0.0-1
ii  python3-pygame  2.5.0-1

Versions of packages impressive recommends:
ii  ffmpeg     7:6.0-5
ii  mplayer    2:1.5+svn38423-2+b1
ii  perl       5.36.0-7
ii  xdg-utils  1.1.3-4.1

Versions of packages impressive suggests:
ii  ghostscript   10.01.2~dfsg-1
pn  latex-beamer  <none>
pn  pdftk         <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: impressive
Source-Version: 0.13.1-1.1
Done: Gunnar Wolf <gw...@debian.org>

We believe that the bug you reported is fixed in the latest version of
impressive, 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 1047...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Wolf <gw...@debian.org> (supplier of updated impressive 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 15 Aug 2023 12:21:30 -0600
Source: impressive
Architecture: source
Version: 0.13.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Yaroslav Halchenko <deb...@onerussian.com>
Changed-By: Gunnar Wolf <gw...@debian.org>
Closes: 1047864
Changes:
 impressive (0.13.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Replace calls to PIL.Image.ANTIALIAS for PIL.Image.LANCZOS due to
     changes in PIL's API (Closes: #1047864)
Checksums-Sha1:
 90b5746463e4131aeac4c244b2a82ff5eac1a993 1560 impressive_0.13.1-1.1.dsc
 3656049e7dd700dfdb84710e552a455457092f8f 11220 
impressive_0.13.1-1.1.debian.tar.xz
 f3b2b6e73dd6fbb8d0527093b220305fedbc1724 7676 
impressive_0.13.1-1.1_source.buildinfo
Checksums-Sha256:
 9f9c6f4f2813230b0d651ace2a27dd24343f9f6e5a51a2072cdd5f11ee6d1201 1560 
impressive_0.13.1-1.1.dsc
 49a02ac1c1583fb474b2a94d323375d2ca4942a115267babb71929802e9039fb 11220 
impressive_0.13.1-1.1.debian.tar.xz
 f5a47772b04fae02c250dadaf055fb8c0c679b342b14be445a9019780178b216 7676 
impressive_0.13.1-1.1_source.buildinfo
Files:
 32388dddb9f5e82b95b9a5e1cb6e575d 1560 x11 optional impressive_0.13.1-1.1.dsc
 a9f29b8746c7b071f378e2d4fb65024e 11220 x11 optional 
impressive_0.13.1-1.1.debian.tar.xz
 8c256843e93a37e5eb28e0521b21d7ba 7676 x11 optional 
impressive_0.13.1-1.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQRNFAUGU6QC1zaHBJ0kBMlUbhRTYAUCZOZmHAAKCRAkBMlUbhRT
YGV/AP9N1ozx3Rm9kN6ZUmLK5nDCLUcnKIxK4Ul314o3PB1i6gD/cZx2avbB1MzH
zuYollqITCx7LM5n3XWCOZnld00y+Q4=
=hHpE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to