Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when run "worker" #228

Open
tsxce opened this issue Mar 26, 2020 · 5 comments
Open

error when run "worker" #228

tsxce opened this issue Mar 26, 2020 · 5 comments

Comments

@tsxce
Copy link

tsxce commented Mar 26, 2020

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!

@zrsjta
Copy link

zrsjta commented Apr 30, 2020

Totally the same problem. Have you solved it? Thx

@ugrozkr
Copy link

ugrozkr commented May 11, 2020

I get same error too. Can anyone help us ?

@sungyihsun
Copy link

sungyihsun commented Jun 3, 2020

I have the same error.
Have you solved it?

@tsxce
Copy link
Author

tsxce commented Jun 12, 2020

I have not soloved it yet..

@minhduc0711
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants