Open vc13 opened 8 years ago
Hello vc13 - I'm trying to get the microphone recognize done on a raspberry pi and keep getting the error you mention http://pastebin.com/Hjf92w5M and this one http://pastebin.com/84exHUvq I edited the code to cast the seconds as int() but still the same error and now wondering if perhaps you know what to do from here?
Executing "python dejavu.py --recognize mic 10" causes script to fall into a very long loop or a memory error because the argument for time (10 in this case) is passed as string to djv.recognize() function. Inside this function this string argument causes either a very long loop or a memory error. Casting time argument to integer solves the issue.