Package: bouncy Version: 0.6.20071104-6 Severity: minor Tags: patch Dear Maintainer,
the included level editor does not start, due to a font error. Expected behaviour: it should start. Potential fix: see patch below. Thanks for maintaining bouncy, it is one of the few games suitable for smaller children. Best Regards, Bernhard == reproduction Start the level editor like pushd /usr/share/games/bouncy/ python leveledit.py data/level2.csv [..] Traceback (most recent call last): File "leveledit.py", line 2, in <module> import fonts File "/usr/share/games/bouncy/fonts.py", line 6, in <module> size=20, bold=False, italic=False) File "/usr/share/games/bouncy/pyglyph/font.py", line 74, in get_font font = self.impl_get_font(family, size, bold, italic) File "/usr/share/games/bouncy/pyglyph/font.py", line 165, in impl_get_font fake_italic=fake_italic) File "/usr/share/games/bouncy/pyglyph/font.py", line 255, in __init__ self.pygame_font = pygame.font.Font(filename, size) pygame.error: font not initialized == potential fix The same file font.py works for the main game, so when switching the import order to be similiar to game.py, the level editor comes up. --- leveledit.py.orig 2020-12-23 11:34:17.522314902 +0100 +++ leveledit.py 2020-12-23 11:34:28.982508935 +0100 @@ -1,5 +1,4 @@ import sys, pygame, csv, shutil, os -import fonts from pygame.locals import * from pygame.constants import * @@ -13,6 +12,7 @@ pygame.display.set_mode(viewport, OPENGL | DOUBLEBUF) import objects +import fonts import pyglyph -- System Information: Debian Release: 10.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-13-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bouncy depends on: ii fonts-dejavu-core 2.37-1 ii python 2.7.16-1 ii python-opengl 3.1.0+dfsg-2 ii python-pygame 1.9.4.post1+dfsg-3 bouncy recommends no packages. bouncy suggests no packages. -- no debconf information