Your message dated Tue, 02 Jun 2020 20:46:40 +0000
with message-id <e1jgdo0-000ibr...@fasolo.debian.org>
and subject line Bug#961707: fixed in impressive 0.13.0~beta2-1
has caused the Debian Bug report #961707,
regarding impressive immediately crashes under python 3
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.)
--
961707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961707
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: impressive
Version: 0.13.0~beta1a-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
impressive crashes with the following output for me, when used with any PDF:
###########
Welcome to Impressive version 0.13.0-beta1a (SVN r285)
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Detected screen size: 1920x1080 pixels
PDF renderer: Xpdf/Poppler
OpenGL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.6.0-2-amd64,
LLVM 10.0.0)
===============================================================================
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.0-beta1a (SVN r285)
Python version: 3.8.3 (default, May 14 2020, 11:03:12)
[GCC 9.3.0]
PyGame version: 1.9.6
PIL version: Pillow 7.0.0
PDF renderer: Xpdf/Poppler
OpenGL vendor: X.Org
OpenGL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.6.0-2-amd64,
LLVM 10.0.0)
OpenGL version: 4.6 (Compatibility Profile) Mesa 20.0.7
Operating system: Linux 5.6.0-2-amd64 (x86_64)
Linux distribution: Debian GNU/Linux bullseye/sid
Command line: /usr/bin/impressive GiT.pdf
Traceback (most recent call last):
File "/usr/bin/impressive", line 6451, in run_main
main()
File "/usr/bin/impressive", line 6368, in main
RenderPage(Pcurrent, Tcurrent)
File "/usr/bin/impressive", line 3679, 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 3599, in PageImage
img = RenderPDF(page, not(ZoomMode), ZoomMode)
File "/usr/bin/impressive", line 3399, in RenderPDF
img = PDFRenderer.render(SourceFile, RealPage, useres, use_aa)
File "/usr/bin/impressive", line 3282, in render
try_digits.sort(key=lambda n: abs(n - digits))
AttributeError: 'range' object has no attribute 'sort'
################
This is a general python3 incompatibility and is already fixed upstream in SVN,
though not released yet AFAICS
The following is the change, that fixes the issue:
--- /a/impressive 2020-05-28 10:01:59.841029102 +0200
+++ /b/impressive 2020-05-28 10:02:10.217064169 +0200
@@ -3278,7 +3278,7 @@
TempFileName
])
digits = GetFileProp(filename, 'digits', 6)
- try_digits = range(6, 0, -1)
+ try_digits = list(range(6, 0, -1))
try_digits.sort(key=lambda n: abs(n - digits))
try_digits = [(n, TempFileName + ("-%%0%dd.ppm" % n) % page) for n in
try_digits]
for digits, imgfile in try_digits:
I don't know how this would be handled, since there is no new release yet, but
the bug is effectively fixed upstream.
Would the patch be carried by debian until a new release is done?
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.6.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages impressive depends on:
ii poppler-utils 0.71.0-6
ii python3 3.8.2-3
ii python3-pil 7.0.0-4+b1
ii python3-pygame 1.9.6+dfsg-2+b1
Versions of packages impressive recommends:
ii ffmpeg 7:4.2.2-1+b1
ii mplayer 2:1.3.0-8+b6
ii perl 5.30.2-1
ii xdg-utils 1.1.3-2
Versions of packages impressive suggests:
ii ghostscript 9.52~dfsg-1
pn latex-beamer <none>
ii pdftk 2.02-5+b1
ii pdftk-java [pdftk] 3.1.1-1
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/impressive/impressive.py (from impressive
package)
--- End Message ---
--- Begin Message ---
Source: impressive
Source-Version: 0.13.0~beta2-1
Done: Yaroslav Halchenko <deb...@onerussian.com>
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 961...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yaroslav Halchenko <deb...@onerussian.com> (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, 02 Jun 2020 15:20:13 -0400
Source: impressive
Architecture: source
Version: 0.13.0~beta2-1
Distribution: unstable
Urgency: medium
Maintainer: Yaroslav Halchenko <deb...@onerussian.com>
Changed-By: Yaroslav Halchenko <deb...@onerussian.com>
Closes: 961707
Changes:
impressive (0.13.0~beta2-1) unstable; urgency=medium
.
* Fresh upstream beta:
- should provide better Python3 compatibility (Closes: #961707)
* debian/copyright
- machine readable
- exclude "impressive" binary shipped by upstream now
* debian/watch
- no longer use git-import-orig
Checksums-Sha1:
2e2f78f2cceb49c60cac02f63c9e3c2ea4459dc4 2199 impressive_0.13.0~beta2-1.dsc
c081dc32ece33a296c1d9a0e75b2cb535d473d55 180160
impressive_0.13.0~beta2.orig.tar.xz
edfd176595a29c82bab576707fdf850b470ef65e 10076
impressive_0.13.0~beta2-1.debian.tar.xz
9912175d1809fceafaad5d50df06ab5048b6e8a7 5470
impressive_0.13.0~beta2-1_source.buildinfo
Checksums-Sha256:
3affe281dbb6141a16aec49122ced41e09528bf24ca27c1c88283f385cb7d385 2199
impressive_0.13.0~beta2-1.dsc
5dce15838cc37c5f587d2ab354498cf2bc88694621d12d17df5f0847f0fa9a07 180160
impressive_0.13.0~beta2.orig.tar.xz
b3b7e2cd7a817741ee0f6f3af4ba204d3b94ce7ca55bd87f522f35a6275274bf 10076
impressive_0.13.0~beta2-1.debian.tar.xz
20326444ab63a60fe5660cd24cfe78d2814576269a0eb9697ffb23da4502036c 5470
impressive_0.13.0~beta2-1_source.buildinfo
Files:
b652a0f9b5acdafb4e4eb274c017ef85 2199 x11 optional
impressive_0.13.0~beta2-1.dsc
601d644eb0c5d932251670d2467415da 180160 x11 optional
impressive_0.13.0~beta2.orig.tar.xz
5fa06504e06ab3b53a43c6cd742d705b 10076 x11 optional
impressive_0.13.0~beta2-1.debian.tar.xz
9ea345254d64cd4eb0940acabc93cab9 5470 x11 optional
impressive_0.13.0~beta2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEExbkF8OjZ/ZZo/zZvot4jUGLaM/oFAl7Wp40ACgkQot4jUGLa
M/qMQQ//cbFaOUInGO/oe96GWk4bGrVv2W5ZCyOF+r8ol/E6t+8BENsUwzTzfQA3
h1RLRyg6MX/RLjdvVsQOr7ty9PKpZcI/RRlWSZNhEn365mZS4a4N7cIBZ3MclmcP
Npfdl9wrDwFs6htkd5EFWtNpK54rXrC0spgjYr6dS8IFrQ4zdkRHNyB7hfZ+3Ahb
WPtk5nujj1iSph7Bt9sEnE6fzQiZ0HFx5Sn7YzA8uuE0L2hGvBH+mhpTDcy53WQ+
i+SFnatMkld+T+fBGlov4b+aWcKV3tEC2Z6WnzwnKKZNmyAm01ZY42UJLqRLuGSb
1vKWSAFYbDwFnqi4gCani3AhubRi+8RNhXXze8vLug6g4WlVtBLlfUWSOMp92Hyt
iNvGdbmzjFo8/mdOkExiQM1ngw0F3AboMQMw1H6ISOoKBaBrJbxMTJQX0tXtbdCl
oL5cZVnR4IDVPQDlnJ3LIF68edohmq5VCYFQKWtTwwIqGxvmNSAmDbO/yY/2wCyn
BSUDWk/sKNISVSo9GDecI3gjuQiwmiSe0jBsFDLCX84K8zO1ea/RY/NTJDakoJba
qhYdQOQPEA0MqHwmcseNCM8UWqE5sJIa9JLQ59aU1kzkfhHcTmjMybtSeJv5EO1G
2lAKNE6E2/cpWACdnGXSs6cH4HrXt5/uQRSJ1XnP0n5MKRaPBrI=
=Q4gg
-----END PGP SIGNATURE-----
--- End Message ---