You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Could you please help me with this ? I started sample_worker.py:
python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c sample_worker.yaml
and then used sample_client.py to test it. I changed the 50th line in sample_client.py to this:
ws = MyClient('ws://localhost:8888/client/ws/speech?%s' ...
here is the output of worker:
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: word-syms = test/models/english/voxforge/tri2b_mmi_b0.05/words.txt
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: model = test/models/english/voxforge/tri2b_mmi_b0.05/final.mdl
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: lda-mat = test/models/english/voxforge/tri2b_mmi_b0.05/final.mat
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: fst = test/models/english/voxforge/tri2b_mmi_b0.05/HCLG.fst
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: silence-phones = 1:2:3:4:5
2014-06-09 12:38:11 - INFO: decoder: Created GStreamer elements
2014-06-09 12:38:11 - INFO: decoder: Linking GStreamer elements
2014-06-09 12:38:11 - INFO: decoder: Setting pipeline to READY
2014-06-09 12:38:15 - INFO: decoder: Set pipeline to READY
2014-06-09 12:38:15 - INFO: main: Opening websocket connection to master server
2014-06-09 12:38:15 - INFO: main: Opened websocket connection to server
2014-06-09 12:38:29 - INFO: main: d9407236-33ad-43b6-8df4-a93fe85b4a9b: Started timeout guard
2014-06-09 12:38:29 - INFO: main: d9407236-33ad-43b6-8df4-a93fe85b4a9b: Initialized request
Thanks for noticing. I think the problem was caused by a bug in sample_client.py which caused the content type not to be sent.
I've deleted the outdated and ugly sample_client.py and added client.py. I also updated the main README and added a note how to test the server using kaldigstserver/client.py. Hope this helps.
Hi
Could you please help me with this ? I started sample_worker.py:
python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c sample_worker.yaml
and then used sample_client.py to test it. I changed the 50th line in sample_client.py to this:
ws = MyClient('ws://localhost:8888/client/ws/speech?%s' ...
here is the output of worker:
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: word-syms = test/models/english/voxforge/tri2b_mmi_b0.05/words.txt
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: model = test/models/english/voxforge/tri2b_mmi_b0.05/final.mdl
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: lda-mat = test/models/english/voxforge/tri2b_mmi_b0.05/final.mat
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: fst = test/models/english/voxforge/tri2b_mmi_b0.05/HCLG.fst
2014-06-09 12:38:11 - INFO: decoder: Setting decoder property: silence-phones = 1:2:3:4:5
2014-06-09 12:38:11 - INFO: decoder: Created GStreamer elements
2014-06-09 12:38:11 - INFO: decoder: Linking GStreamer elements
2014-06-09 12:38:11 - INFO: decoder: Setting pipeline to READY
2014-06-09 12:38:15 - INFO: decoder: Set pipeline to READY
2014-06-09 12:38:15 - INFO: main: Opening websocket connection to master server
2014-06-09 12:38:15 - INFO: main: Opened websocket connection to server
2014-06-09 12:38:29 - INFO: main: d9407236-33ad-43b6-8df4-a93fe85b4a9b: Started timeout guard
2014-06-09 12:38:29 - INFO: main: d9407236-33ad-43b6-8df4-a93fe85b4a9b: Initialized request
(python:15676): GStreamer-CRITICAL **: gst_event_new_caps: assertion 'gst_caps_is_fixed (caps)' failed
(python:15676): GStreamer-CRITICAL **: gst_pad_push_event: assertion 'GST_IS_EVENT (event)' failed
2014-06-09 12:38:29 - ERROR: decoder: (GError('Internal data flow error.',), 'gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstAppSrc:appsrc:\nstreaming task paused, reason not-negotiated (-4)')
2014-06-09 12:38:34 - INFO: decoder: d9407236-33ad-43b6-8df4-a93fe85b4a9b: Pushing EOS to pipeline
Thank you very much.
The text was updated successfully, but these errors were encountered: