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

Error "expected 227171 bytes but received 227555" #40

Open
j3soon opened this issue Sep 18, 2024 · 2 comments
Open

Error "expected 227171 bytes but received 227555" #40

j3soon opened this issue Sep 18, 2024 · 2 comments

Comments

@j3soon
Copy link
Owner

j3soon commented Sep 18, 2024

-- Reported by @ijsun, using v0.2

Unsure how to reliably reproduce yet, may need a better logging mechanism as discussing in #17

@j3soon
Copy link
Owner Author

j3soon commented Oct 23, 2024

I think that this is due to the recording hasn't been completely stopped (therefore keep writing new audio) while sending the HTTP request, causing mismatch between the size look up and actual file size.

References:

@j3soon
Copy link
Owner Author

j3soon commented Oct 23, 2024

@ijsun shared that this can be somehow reliably reproduced by following the steps below:

  • While recording, switch back to Google Keyboard without stopping/cancelling.
  • Optionally use Google voice input to input some text.
  • Switch back to Whisper Input, and try to input some text.
  • Observe the error.

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