Bug#519062: capisuite: Cannot convert .la to .wav using sox
Package: capisuite
Version: 0.4.5-8
Severity: normal
Hi,
when capisuite's answering machine mechanism receives a voice mail, it
converts it from .la to .wav format and sends a mail containing the
result.
This seems to be broken on my machine.
I always get mails with the message
ERROR occured while converting file: Error while calling sox. Not installed?
Please talk to your friendly administrator.
instead of the recorded message.
After some head scratching I found the following snippet inside
/usr/lib/python2.5/site-packages/cs_helpers.py:
...
ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,"-w",basename+"wav")
...
sox in its current incarnation does not support the '-w' command line
switch. Hence, this call fails.
With
...
ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,basename+"wav")
...
instead, everything works OK again.
Cheers,
Michael
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages capisuite depends on:
ii exim4-daemon-heavy [m 4.69-9 Exim MTA (v4) daemon with extended
ii ghostscript-x [gs] 8.63.dfsg.1-2 The GPL Ghostscript PostScript/PDF
ii gs 8.63.dfsg.1-2 Transitional package
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcapi20-3 1:3.9.20060704-3.6 libraries for CAPI support
ii libgcc1 1:4.3.3-3 GCC support library
ii libstdc++6 4.3.3-3 The GNU Standard C++ Library v3
ii libtiff-tools 3.8.2-11 TIFF manipulation and conversion t
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
ii python2.5 2.5.4-1 An interactive high-level object-o
ii sfftobmp 3.1-1 SFF (Structed Fax File) Converter
ii sox 14.2.0-1 Swiss army knife of sound processi
capisuite recommends no packages.
Versions of packages capisuite suggests:
ii sffview 0.4-1 Structured Fax File (SFF) Viewer
-- no debconf information
Reply to: