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

OverflowError: cannot fit 'int' into an index-sized integer #86

Open
dinorokii opened this issue Feb 11, 2024 · 1 comment
Open

OverflowError: cannot fit 'int' into an index-sized integer #86

dinorokii opened this issue Feb 11, 2024 · 1 comment

Comments

@dinorokii
Copy link

I have received this error and I haven't seen it in Issues yet

raceback (most recent call last):
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 462, in _read_data_chunk
    data = numpy.fromfile(fid, dtype=dtype, count=count)
io.UnsupportedOperation: fileno

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 307, in <module>
    main()
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 303, in main
    process(**vars(args))
  File "C:\Users\Dinoroki\stammer-main\stammer.py", line 240, in process
    _, carrier_audio = wavfile.read(get_audio_as_wav_bytes(carrier_path))
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 689, in read
    data = _read_data_chunk(fid, format_tag, channels, bit_depth,
  File "C:\Users\Dinoroki\AppData\Local\Programs\Python\Python39-32\lib\site-packages\scipy\io\wavfile.py", line 465, in _read_data_chunk
    data = numpy.frombuffer(fid.read(size), dtype=dtype)
OverflowError: cannot fit 'int' into an index-sized integer

i don't know if this is painfully obvious why it isn't working or something

@Firepal
Copy link
Collaborator

Firepal commented Aug 21, 2024

What's your Python version? 3.10+ is required

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

2 participants