[wip #18] python3 update#21
Open
andy5995 wants to merge 8 commits intoajbogh:masterfrom
andy5995:update_2_python3
Open
[wip #18] python3 update#21andy5995 wants to merge 8 commits intoajbogh:masterfrom andy5995:update_2_python3
andy5995 wants to merge 8 commits intoajbogh:masterfrom
andy5995:update_2_python3
Conversation
Same result: segfault
* modified some print statements * removed references to gobject and gst
Author
|
Still wip |
andy5995
commented
Oct 31, 2017
| #get the Voice Activity DEtectoR | ||
| self.vad = self.pipeline.get_by_name('vad') | ||
| self.vad.set_property('auto-threshold',True) | ||
| # asr.set_property('configured', True) |
Author
There was a problem hiding this comment.
I got rid of the segfault by commenting out this line.
You'll see a little debugging code and some other minor changes that I made after reading
https://cmusphinx.github.io/wiki/gstreamer/?&#configuring_the_decoder_and_improving_accuracy
But none of that seemed to make a difference until I commented L39 there.
when run with -i g, gets past the segfault:
```
[...]
('click right', 'xdotool click 3')
click middle:xdotool click 2
('click middle', 'xdotool click 2')
Traceback (most recent call last):
File "./Blather.py", line 287, in <module>
blather = Blather(options)
File "./Blather.py", line 66, in __init__
from GtkUI import UI
File "/home/andy/src/blather/GtkUI.py", line 8
class UI(GObject.GObject):
^
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.