Pankaj-Baranwal / pocketsphinx

Updated ROS bindings to pocketsphinx
BSD 3-Clause "New" or "Revised" License
38 stars 25 forks source link

glib.GError: no element "vader" #11

Closed pirobot closed 6 years ago

pirobot commented 6 years ago

I installed your kinetic-devel branch on a machine running Ubuntu 16.04 and ROS Kinetic. When I run one of the sample launch files (e.g. voice_cmd.launch), recognizer.py crashes with the following error:

Traceback (most recent call last):
  File "/cvgl2/u/pgoebel/jr2_catkin_ws/src/pocketsphinx/0.4/nodes/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/cvgl2/u/pgoebel/jr2_catkin_ws/src/pocketsphinx/0.4/nodes/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/cvgl2/u/pgoebel/jr2_catkin_ws/src/pocketsphinx/0.4/nodes/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "vader"
Pankaj-Baranwal commented 6 years ago

The files within 0.4/ are present to provide backward compatibility to users coming from @mikeferguson 's repository. His version is deprecated and may cause unpredictable issues with latest ROS versions. Use of latest nodes and launch files is recommended. They can be found in the corresponding folders at the root of the repository.

pirobot commented 6 years ago

Thanks for the clarification!