Bug 1104947

Summary: [abrt] PySolFC: pysolaudio.py:445:connectServer:error: No available audio device
Product: [Fedora] Fedora Reporter: Ernie D <wagnered>
Component: PySolFCAssignee: Jaromír Cápík <jcapik>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gwync, jcapik, jkaluza, jskarvad, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bdf94de224066643fa762f2f387801bdad2f9d21
Whiteboard: abrt_hash:783ff3fc7cf8f98aa383530dadc998113b099b40
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 20:57:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Ernie D 2014-06-05 05:00:28 UTC
Description of problem:
starting th program

Version-Release number of selected component:
PySolFC-2.0-9.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /usr/share/PySolFC/pysol.py --sound-mod=pygame
executable:     /usr/share/PySolFC/pysol.py
kernel:         3.14.3-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
pysolaudio.py:445:connectServer:error: No available audio device

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

Local variables in innermost frame:
buff_size: 1
app: <pysollib.app.Application instance at 0xe3be60>
self: <pysollib.pysolaudio.PyGameAudioClient instance at 0x1a27a70>

Potential duplicate: bug 745331

Comment 1 Ernie D 2014-06-05 05:00:30 UTC
Created attachment 902399 [details]
File: backtrace

Comment 2 Ernie D 2014-06-05 05:00:31 UTC
Created attachment 902400 [details]
File: environ

Comment 3 Jaromír Cápík 2015-03-17 20:42:06 UTC
This seems to by a problem of the pygame library...

------------------------------------------------
$ python
Python 2.7.8 (default, Nov 10 2014, 08:19:18) 
[GCC 4.9.2 20141101 (Red Hat 4.9.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
>>> pygame.init()
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

(5, 1)
------------------------------------------------

Switching to pygame.

Comment 4 Jaromír Cápík 2015-03-17 20:44:01 UTC
A workaround is possible .... just run the game with "pysol --nosound"

Comment 5 Jaromír Cápík 2015-03-18 13:29:51 UTC
Hello Ernie.

Coould you please try to run 'alsamixer' in terminal and provide me with the output if it fails?

Thanks,
Jaromir.

Comment 6 Fedora End Of Life 2015-05-29 12:01:54 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2015-06-29 20:57:27 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.