error while using the pocketsphinx package
Hello,
I am using ubuntu 16.04 and ROS kinetic and I am trying to run the follwoing command
roslaunch pocketsphinx robocup.launch
and I got that error every time
setting /run_id to e5e01de0-9b34-11e7-8bfa-a4173173d1ff
process[rosout-1]: started with pid [26196]
started core service [/rosout]
process[recognizer-2]: started with pid [26203]
[INFO] [1505603716.914387]: Launch config: gconfaudiosrc
/home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.pub = rospy.Publisher('~output', String)
[INFO] [1505603716.924332]: Starting recognizer...
Traceback (most recent call last):
File "/home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py", line 177, in <module>
start = recognizer()
File "/home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py", line 73, in __init__
self.start_recognizer()
File "/home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py", line 80, in start_recognizer
self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "vader"
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/core.py", line 467, in signal_shutdown
h()
File "/home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py", line 131, in shutdown
gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-2] process has died [pid 26203, exit code 1, cmd /home/shehabaldeen/catkin_ws/src/pocketsphinx/nodes/recognizer.py __name:=recognizer __log:=/home/shehabaldeen/.ros/log/e5e01de0-9b34-11e7-8bfa-a4173173d1ff/recognizer-2.log].
log file: /home/shehabaldeen/.ros/log/e5e01de0-9b34-11e7-8bfa-a4173173d1ff/recognizer-2*.log
I have the pocketshpinx installed and the sphinxbase as well the error is same as here and here and I saw the answers says to run this command which I have done
sudo apt-get install gstreamer0.10-gconf
I tried also to run
sudo apt-get install gstreamer0.10-pocketsphinx
but it gives me the following error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gstreamer0.10-pocketsphinx
E: Couldn't find any package by glob 'gstreamer0.10-pocketsphinx'
E: Couldn't find any package by regex 'gstreamer0.10-pocketsphinx'
and still having the same error if any one have suggestions or any one can help please
thank you