Skip to content

rvc_python.api:rvc_convert:57 - 'tuple' object has no attribute 'dtype' #36

Description

@Marootc

I have tested from py3.10 to the py3.9 environment they mentioned, but it still prompts
rvc_python.api:rvc_convert:57 - 'tuple' object has no attribute 'dtype'

RVC API Error: 2025-03-15 23:33:24.505 | INFO     | rvc_python.api:rvc_convert:40 - Received request to convert audio
RVC API Error: 2025-03-15 23:33:24 | WARNING | rvc_python.modules.vc.modules | Traceback (most recent call last):
RVC API Error:     with BytesIO() as out:
RVC API Error:     ostream = out.add_stream(format, layout='mono')
RVC API Error:   File "av\\container\\output.pyx", line 128, in av.container.output.OutputContainer.add_stream
RVC API Error:   File "av\\stream.pyx", line 127, in av.stream.Stream.__setattr__
RVC API Error: AttributeError: attribute 'channels' of 'av.audio.codeccontext.AudioCodecContext' objects is not writable
RVC API Error:
RVC API Error: During handling of the above exception, another exception occurred:
RVC API Error:
RVC API Error: Traceback (most recent call last):
RVC API Error:     audio = load_audio(input_audio_path, 16000)
RVC API Error:     except AttributeError:
RVC API: INFO:     127.0.0.1:58878 - "POST /convert HTTP/1.1" 500 Internal Server Error
RVC API Error: TypeError: unsupported operand type(s) for /: 'str' and 'float'
RVC API Error:
RVC API Error: 2025-03-15 23:33:24.527 | ERROR    | rvc_python.api:rvc_convert:57 - 'tuple' object has no attribute 'dtype'
Is this a BUG? My environment win11 py3.9-3.10 have been tested,in api mode。
Post:http://127.0.0.1:5050/convert
audio_data: "SUQzAwAAAAAAKFRTU0UAAAAUAAADTEFNRTMuMTAxIChiZXRhI ........

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions