[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323432: marked as done (capisuite: Should send mp3 instead of wav)

Your message dated Sun, 20 Feb 2011 01:26:52 +0000
with message-id <E1Pqy4a-00044M-0j@franck.debian.org>
and subject line Bug#484145: Removed package(s) from unstable
has caused the Debian Bug report #323432,
regarding capisuite: Should send mp3 instead of wav
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

323432: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323432
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: capisuite
Version: 0.4.5-3
Severity: normal


when receiving a phone call, capisuite sends a .wav file, which 
is waste of space/bandwidth and not understood by all clients. 
It would be better to send mp3. 

I have replaced the part of cs_helpers.py which does the job:

			ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,"-r","16000","-w",basename+"wav")
			if (ret or not os.access(basename+"wav",os.R_OK)):
				raise "conv-error","Error while calling sox. Not installed?"

			ret = os.spawnlp(os.P_WAIT,"lame","lame",basename+"wav",basename+"mp3")
                        if (ret or not os.access(basename+"mp3",os.R_OK)):
                                raise "conv-error","Error while calling lame. Not installed?"

			filepart = email.MIMEAudio.MIMEAudio(open(basename+"mp3").read(),"x-mp3",email.Encoders.encode_base64,name=os.path.basename(basename)+"mp3")

Someone more familiar with python should include a check whether lame is 


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-danisch-p4-intel
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages capisuite depends on:
ii  gs-afpl [gs]                  8.14-3     The AFPL Ghostscript PostScript in
ii  gs-esp [gs]                   7.07.1-9   The Ghostscript PostScript interpr
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-2  GCC support library
ii  libstdc++5                    1:3.3.6-7  The GNU Standard C++ Library v3
ii  libtiff-tools                 3.7.3-1    TIFF manipulation and conversion t
ii  postfix [mail-transport-agent 2.2.4-1    A high-performance mail transport 
ii  python                        2.3.4-4    An interactive high-level object-o
ii  python2.3                     2.3.5-6    An interactive high-level object-o
ii  sfftobmp                      3.0-1      SFF (Structed Fax File) Converter
ii  sox                           12.17.5-4  A universal sound sample translato

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.4.5-12+rm

Dear submitter,

as the package capisuite has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/484145

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing

Debian distribution maintenance software
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: