[Bug 381438] [NEW] Problem with sox call in cs_helpers.py

Simon Natterer simon-ubuntu at sngs.de
Thu May 28 19:42:23 UTC 2009


Public bug reported:

Binary package hint: capisuite

Ubuntu 9.04 32-bit
Version: capisuite/jaunty uptodate 0.4.5-8ubuntu3

I get an error in /var/log/capisuite.error after a call is received on the answering machine and no mail is sent out:
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Python traceback: Traceback (most recent call last):
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:   File "/usr/lib/capisuite/incoming.py", line 76, in callIncoming
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:     voiceIncoming(call,call_from,call_to,curr_user,config)
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:   File "/usr/lib/capisuite/incoming.py", line 256, in voiceIncoming
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:     +"See attached file.\nThe original file was saved to file://"+filename+"\n\n", filename)
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:   File "/usr/lib/python2.6/dist-packages/cs_helpers.py", line 234, in sendMIMEMail
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback:     raise "conv-error","Error while calling sox. Not installed?"
Thu May 28 20:31:50 2009 Pythonscript 0x922af38: Traceback: TypeError: exceptions must be classes or instances, not str


Bug is in /usr/lib/python2.6/dist-packages/cs_helpers.py where sox is called with parameter -w which dos not work with current sox.
What works for me is calling sox without any parameters:
ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,basename+"wav")

The solution on http://wiki.ubuntuusers.de/CapiSuite for Ubuntu 7.04
does NOT work for me (-X is not needed -v does not work on this place
and is also not needed).

** Affects: capisuite (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Problem with sox call in cs_helpers.py
https://bugs.launchpad.net/bugs/381438
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list