naicols / vox-launcher

Automatically exported from code.google.com/p/vox-launcher
GNU General Public License v3.0
0 stars 0 forks source link

Traceback thrown on default Ubuntu 13.04 Install #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Ubuntu 13.04 and vox-launcher from .deb
2. Attach mic (USB, Bluwtooth, USB webcam, or 1/8th inch  analog headset).
3. Launch vox-launcher and speak

What is the expected output? What do you see instead?
Translation to text and running of corresponding command. instead I see Python 
traceback errors listed below.

What version of the product are you using? On what operating system?
13.04 and the latest vox-launcher available this date via .deb on Google Code

Please provide any additional information below.

I'm not sure if this is relevant, however running 13.04 and vox-launcher from a 
.deb on a MacBook Air works perfectly using the internal mic.

This is the output from running vox-launcher and speaking:

DEBUG:root:Init data capture 0:00:00.000102
DEBUG:root:Detected 8 silent loop
DEBUG:root:Recorded 18

DEBUG:root:Finish data capture 0:00:15.138651
DEBUG:root:Finish print wav 0:00:15.139727
Traceback (most recent call last):
  File "vox-launcher.py", line 226, in <module>
    main()
  File "vox-launcher.py", line 191, in main
    subprocess.call(['sox', WAVE_OUTPUT_FILENAME, FLAC_OUTPUT_FILENAME, "rate", "16k", "pad", "0.5", "0.5"])
  File "/usr/lib/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Original issue reported on code.google.com by eldrid...@gmail.com on 23 Jul 2013 at 2:02

GoogleCodeExporter commented 8 years ago
This error was because sox was not installed. 

I corrected the issue with "sudo apt-get install sox".

Please add sox to the dependencies list.

Original comment by eldrid...@gmail.com on 12 Aug 2013 at 8:08

GoogleCodeExporter commented 8 years ago
Thanks for feedback!

Original comment by pilolli....@gmail.com on 16 Apr 2014 at 5:37

GoogleCodeExporter commented 8 years ago

Original comment by al...@paranoici.org on 16 Apr 2014 at 5:45