Bug#781663: pysolfc: Does not start when no sound card is available, even when sound is disabled

Elena Grandi valhalla-d at trueelena.org
Wed Apr 1 11:33:19 UTC 2015


Package: pysolfc
Version: 2.0-3
Severity: normal
Tags: upstream

When no sound card is available (to reproduce it is enough to 
remove the user from audio group), pysolfc crashes at startup 
with the following backlog:

    Traceback (most recent call last):
      File "/usr/games/pysolfc", line 32, in <module>
        sys.exit(main(sys.argv))
      File "/usr/share/games/pysolfc/pysollib/main.py", line 359, in main
        r = pysol_init(app, args)
      File "/usr/share/games/pysolfc/pysollib/main.py", line 314, in pysol_init
        app.audio.connectServer(app)
      File "/usr/share/games/pysolfc/pysollib/pysolaudio.py", line 445, in connectServer
        self.mixer.init()
    pygame.error: No available audio device

This also happens when sound has been disabled in the option menu 
(sound = False in .pysolfc/options.cfg ), but not when pysolfc is 
launched with the --nosound option from command line; however users 
who run pysolfc from a GUI will have an harder time running it.

This is known upstream: http://sourceforge.net/p/pysolfc/bugs/28/

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages pysolfc depends on:
ii  python            2.7.8-4
ii  python-configobj  5.0.6-1
ii  python-pygame     1.9.1release+dfsg-10+b1
ii  python-tk         2.7.8-2+b1

Versions of packages pysolfc recommends:
pn  python-imaging-tk  <none>
pn  tk-tile            <none>

Versions of packages pysolfc suggests:
pn  freecell-solver   <none>
pn  pysolfc-cardsets  <none>

-- no debconf information



More information about the Pkg-games-devel mailing list