-
Notifications
You must be signed in to change notification settings - Fork 166
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: recognize() got an unexpected keyword argument 'seconds' #11
Comments
hi, did you work it out? I'm trying to make this work but still have this error. |
Hye. sorry for disturbing. i didnt run this python yet, but when i see the file recognize-from-file.py .. "from libs.reader_microphone import FileReader". you can see in libs.reader_microphone.. "class MicrophoneReader(BaseReader):" which it call different file.. i think you should change "from libs.reader_file import FileReader" inside the file recognize-from-file.py . I'm really sorry if this won't help. |
@rvbcia Not yet, i ditched the project for the time being. @niknoorakmal True, that was an issue with the code yes, i fixed that a while back. This isnt exactly the issue @rvbcia and i are having though. Thanks though :) If you managed to fix it and make it work, can you please send me the updated on, that would be much appreciated. Thanks :) |
@shamtastic feel to create PR to share changes with others. Kind regards, |
I have the same issue with recognize-file. Could you share your code changes please? thanks:) |
Ive beet getting the following error whenever i try to recognize from a file! Any ideas how to fix this? or what the problem might be
Traceback (most recent call last):
File "recognize-from-file.py", line 7, in
r.recognize(seconds=seconds)
TypeError: recognize() got an unexpected keyword argument 'seconds'
Makefile:25: recipe for target 'recognize-file' failed
make: *** [recognize-file] Error 1
The text was updated successfully, but these errors were encountered: