[Python-apps-team] Bug#948385: pykaraoke: Pykaraoke doesn't work because it needs packages "ttf-dejavu ttf-dejavu-extra"

Teo teodoro777.coluccio at live.com
Wed Jan 8 01:29:52 GMT 2020


Source: pykaraoke
Severity: grave
Tags: patch
Justification: renders package unusable

If I run pykaraoke_mini to play .kar file, it return:
>>>pykaraoke_mini
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/usr/games/pykaraoke_mini", line 3, in <module>
    pykaraoke_mini.main()
  File "/usr/lib/python2.7/dist-packages/pykaraoke_mini.py", line 1091, in main
    app.start()
  File "/usr/lib/python2.7/dist-packages/pykaraoke_mini.py", line 370, in start
    self.setupSplashScreen()
  File "/usr/lib/python2.7/dist-packages/pykaraoke_mini.py", line 143, in
setupSplashScreen
    font = pygame.font.Font(os.path.join(manager.FontPath,
"DejaVuSansCondensed-Bold.ttf"), 12)
IOError: unable to read font file
'/usr/share/pykaraoke/fonts/DejaVuSansCondensed-Bold.ttf'

So I solve it installing "ttf-dejavu-extra".
Then, If i run again, it appear a new similar font error, so I have to install
also "ttf-dejavu".

After installing these packages, everything works properly.

In conclusion, pykaraoke package, necessarily requires "ttf-dejavu ttf-dejavu-
extra" which, however, are not installed with it.



-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Python-apps-team mailing list