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

Input overflowed #6

Open
HaroldPetersInskipp opened this issue Mar 20, 2023 · 1 comment
Open

Input overflowed #6

HaroldPetersInskipp opened this issue Mar 20, 2023 · 1 comment

Comments

@HaroldPetersInskipp
Copy link

When running python jarvis.py it seems to respond okay for a moment then just continues rambling without further input and then overflows.

Loading from brain file: brain.dump
Loading brain from brain.dump...done (93208 categories in 1.55 seconds)
Listening
time
The time here is Mon Mar 20 17:46:12 2023
it's not
I heard    is.
i heard
That is interesting.
that is
Is that so.
isn't it
I really couldn't say for sure.
Traceback (most recent call last):
  File "C:\Users\Bannd\Downloads\TEMP\JARVIS-AI-ASSISTANT\jarvis.py", line 54, in <module>
    data = stream.read(4000)
           ^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\site-packages\pyaudio\__init__.py", line 570, in read
    return pa.read_stream(self._stream, num_frames,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno -9981] Input overflowed

EXTRA INFO: To get the assistant running I had to edit the file C:\Python311\Lib\site-packages\aiml\Kernel.py and replace all instances of time.clock() with time.time().

@HaroldPetersInskipp
Copy link
Author

I did not have issues installing pyaudio with the pip install -r requirements.txt command so I never ran pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
Could that be the cause perhaps?

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

1 participant