[GH-ISSUE #1675] Error when running ./run.sh in M2 MacOS (在 M2 MacOS 运行 ./run.sh 时出错) #1116

Closed
opened 2026-10-20 10:06:04 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Tony1120 on GitHub (Jan 2, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1675

After running ./run.sh in my terminal, I got the below error. (CN:在M2 mac运行./run.sh时,得到以下错误)

2024-01-02 15:53:22 | INFO | __main__ | Use Language: en_US
Traceback (most recent call last):
  File "/Users/junzheliang/Desktop/projects/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 1515, in <module>
    app.queue(concurrency_count=511, max_size=1022).launch(
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/gradio/blocks.py", line 1715, in queue
    raise DeprecationWarning(
DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via `max_threads` in launch().
2024-01-02 15:53:22 | INFO | httpx | HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
2024-01-02 15:53:23 | INFO | httpx | HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 OK"
2024-01-02 15:53:23 | INFO | httpx | HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK"

May I get some help, please?

Originally created by @Tony1120 on GitHub (Jan 2, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1675 After running ./run.sh in my terminal, I got the below error. (CN:在M2 mac运行./run.sh时,得到以下错误) ``` 2024-01-02 15:53:22 | INFO | __main__ | Use Language: en_US Traceback (most recent call last): File "/Users/junzheliang/Desktop/projects/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 1515, in <module> app.queue(concurrency_count=511, max_size=1022).launch( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/gradio/blocks.py", line 1715, in queue raise DeprecationWarning( DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via `max_threads` in launch(). 2024-01-02 15:53:22 | INFO | httpx | HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" 2024-01-02 15:53:23 | INFO | httpx | HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 OK" 2024-01-02 15:53:23 | INFO | httpx | HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" ``` May I get some help, please?
bsakaguchi 2026-10-20 10:06:04 +00:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@DoloresHaaze commented on GitHub (Jan 30, 2024):

I had the same problem. It seems that there's a change in the blocks package. Modify the infer-web.py script to use the default_concurrency_limit variable instead of concurrency_count.

<!-- gh-comment-id:1917424553 --> @DoloresHaaze commented on GitHub (Jan 30, 2024): I had the same problem. It seems that there's a change in the blocks package. Modify the infer-web.py script to use the **default_concurrency_limit** variable instead of **concurrency_count**.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 28, 2024):

This issue was closed because it has been inactive for 15 days since being marked as stale.

<!-- gh-comment-id:2081318274 --> @github-actions[bot] commented on GitHub (Apr 28, 2024): This issue was closed because it has been inactive for 15 days since being marked as stale.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1116
No description provided.