Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#664301: sox: play FAIL formats: can't open output file `default': can not open audio device: Connection refused

454 views
Skip to first unread message

Vladmimir Stavrinov

unread,
Mar 17, 2012, 10:20:01 AM3/17/12
to
Package: sox
Version: 14.4.0-2
Severity: normal

Dear Maintainer,

downgrade solve this problem


-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sox depends on:
ii libc6 2.13-27
ii libgomp1 4.6.1-4
ii libgsm1 1.0.13-3
ii libltdl7 2.4.2-1
ii libmagic1 5.10-1
ii libpng12-0 1.2.47-1
ii libsox-fmt-alsa 14.3.2-3
ii libsox-fmt-ao 14.3.2-3
ii libsox-fmt-base 14.3.2-3
ii libsox-fmt-oss 14.3.2-3
ii libsox-fmt-pulse 14.3.2-3
ii libsox2 14.4.0-2
ii zlib1g 1:1.2.6.dfsg-2

sox recommends no packages.

Versions of packages sox suggests:
ii libsox-fmt-all 14.3.2-3

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Ulrich Klauer

unread,
Mar 20, 2012, 8:50:02 AM3/20/12
to
Hi,
a) what is your default audio device? Pulseaudio, or do you use JACK via ALSA?
b) You have a version mismatch between sox and its format handlers:
Package: sox
Version: 14.4.0-2
ii libsox-fmt-alsa 14.3.2-3
ii libsox-fmt-ao 14.3.2-3
ii libsox-fmt-base 14.3.2-3
ii libsox-fmt-oss 14.3.2-3
ii libsox-fmt-pulse 14.3.2-3
ii libsox2 14.4.0-2
Could you try to update all libsox-fmt-* packages to 14.4.0-2? Installing libsox-fmt-all from unstable should do it, too.

Ulrich

Pascal Giard

unread,
Mar 20, 2012, 9:50:03 AM3/20/12
to
Hi,
your libsox-fmt-* packages need to be updated.

This is an issue as the user _should not_ have to do anything upgrades
to occur smoothly.
I'll see how I can modify the dependencies so this upgrade should
happen automatically.

Cheers,

-Pascal

On Tue, Mar 20, 2012 at 8:27 AM, Ulrich Klauer <ulr...@chirlu.de> wrote:
> Hi,
> a) what is your default audio device? Pulseaudio, or do you use JACK via ALSA?
> b) You have a version mismatch between sox and its format handlers:
> Package: sox
> Version: 14.4.0-2
> ii  libsox-fmt-alsa   14.3.2-3
> ii  libsox-fmt-ao     14.3.2-3
> ii  libsox-fmt-base   14.3.2-3
> ii  libsox-fmt-oss    14.3.2-3
> ii  libsox-fmt-pulse  14.3.2-3
> ii  libsox2           14.4.0-2
> Could you try to update all libsox-fmt-* packages to 14.4.0-2? Installing libsox-fmt-all from unstable should do it, too.
>
> Ulrich
>
>



--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca)

Torbjörn Andersson

unread,
Mar 20, 2012, 4:10:02 PM3/20/12
to
I'm not the original reporter, but I am getting the same behaviour, even
with all the libsox-fmt-* packages at the same version as the other SoX
packages.

I don't know what my default audio device is - I'm not aware of making
any conscious decision - but it seems that SoX thinks it's PulseAudio.
Setting the AUDIODRIVER environment variable to "pulseaudio" produces
the same error message, while setting it to "alsa", "ao", "oss", or
"ossdsp" all seem to work fine for me.

Installing the "pulseaudio" package makes the error message go away,
though I'm not getting any sound; probably some configuration issue on
my end. Since everything else works just fine without it, I'm hesitant
to keep it installed.

Torbjörn Andersson
0 new messages