kaldi-gstreamer-server icon indicating copy to clipboard operation
kaldi-gstreamer-server copied to clipboard

error when run "worker"

Open tsxce opened this issue 5 years ago • 5 comments
trafficstars

Hi, thanks for you open source the code. I follow the step in README. everything goes well and I can run "gst-inspect-1.0 onlinegmmdecodefaster". error after I run "python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/sp eech -c sample_worker.yaml"

error: """Traceback (most recent call last): File "kaldigstserver/worker.py", line 28, in from decoder import DecoderPipeline File "/home/classiii/xiechen/kaldi-gstreamer-server-master/kaldigstserver/decoder.py", line 8, in gi.require_version('Gst', '1.0') File "/home/classiii/anaconda3/envs/kaldiserver/lib/python2.7/site-packages/gi/init.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gst not available""""

Is it the reason for gst version? I use gst 1.0 follow this command "sudo apt-get install libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-tools gstreamer1.0-pulseaudio". Looking forward for your answer! Thanks a lot!

tsxce avatar Mar 26 '20 09:03 tsxce

Totally the same problem. Have you solved it? Thx

zrsjta avatar Apr 30 '20 16:04 zrsjta

I get same error too. Can anyone help us ?

ugrozkr avatar May 11 '20 07:05 ugrozkr

I have the same error. Have you solved it?

sungyihsun avatar Jun 03 '20 09:06 sungyihsun

I have not soloved it yet..

tsxce avatar Jun 12 '20 06:06 tsxce

I got the same error (on py3 branch) when I install pygobject using conda install -c conda-forge pygobject. So I tried using pip instead and it worked

# pygobject build dependencies
apt install libcairo2-dev libgirepository1.0-dev 
pip install pygobject

Hope this helps you guys.

minhduc0711 avatar Jul 03 '20 03:07 minhduc0711