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

"Method not implemented" and "Too many arguments provided for the endpoint." #10246

Open
1 task done
MrEdwards007 opened this issue Dec 23, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working needs repro Awaiting full reproduction

Comments

@MrEdwards007
Copy link

Describe the bug

I have a gradio app that which takes in a few hundred LOCAL audio files utilizes JavaScript to visualize audio data. The waveforms will not visualize in gradio but if I save the web page contents and open it, the waveform content is visualized, so it does not appear to be the JavaScript that is the issue.

When I look in the console in both Firefox and Chrome, I see the following errors and warnings

(also see screenshots)

Warning

  1. Method not implemented.
  2. Too many arguments provided for the endpoint.

Errors

  1. downloadable font: download failed (font-family: "ui-sans-serif" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: http://127.0.0.1:7860/static/fonts/ui-sans-serif/ui-sans-serif-Regular.woff2
  2. downloadable font: download failed (font-family: "system-ui" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: http://127.0.0.1:7860/static/fonts/system-ui/system-ui-Regular.woff2

I am currently using Gradio 5.9.1, however I installed in a conda environment 4.44.0 and the errors about the downloadable fonts went away but the warning remained and the content was still not visualized in gradio.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

image

image

Logs

No response

System Info

Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 5.9.1
gradio_client version: 1.5.2

------------------------------------------------
gradio dependencies in your environment:

aiofiles: 23.2.1
anyio: 4.7.0
audioop-lts is not installed.
fastapi: 0.115.6
ffmpy: 0.5.0
gradio-client==1.5.2 is not installed.
httpx: 0.28.1
huggingface-hub: 0.27.0
jinja2: 3.1.5
markupsafe: 2.1.5
numpy: 1.26.4
orjson: 3.10.12
packaging: 24.2
pandas: 2.2.3
pillow: 10.4.0
pydantic: 2.10.4
pydub: 0.25.1
python-multipart: 0.0.20
pyyaml: 6.0.2
ruff: 0.8.4
safehttpx: 0.1.6
semantic-version: 2.10.0
starlette: 0.41.3
tomlkit: 0.12.0
typer: 0.15.1
typing-extensions: 4.12.2
urllib3: 2.3.0
uvicorn: 0.34.0
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.


gradio_client dependencies in your environment:

fsspec: 2024.12.0
httpx: 0.28.1
huggingface-hub: 0.27.0
packaging: 24.2
typing-extensions: 4.12.2
websockets: 11.0.3

Severity

Blocking usage of gradio

@MrEdwards007 MrEdwards007 added the bug Something isn't working label Dec 23, 2024
@abidlabs
Copy link
Member

Hi @MrEdwards007 thanks, can you please provide a minimal code example that we can use to reproduce the issue above? See: https://stackoverflow.com/help/minimal-reproducible-example

@abidlabs abidlabs added the needs repro Awaiting full reproduction label Dec 23, 2024
@MrEdwards007
Copy link
Author

I will try again but I haven't been able to produce the minimal code that doesn't involve my entire program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs repro Awaiting full reproduction
Projects
None yet
Development

No branches or pull requests

2 participants