BirdNET-Analyzer icon indicating copy to clipboard operation
BirdNET-Analyzer copied to clipboard

BirdNET-Analyzer GUI throws an error and closes (Windows installer v1.2)

Open DD4WH opened this issue 1 year ago • 2 comments

After installing and starting the Windows Installer v1.2 the GUI window opens, throws an error and closes.

To Reproduce

  1. Installed v1.2.0 on Windows

  2. Clicked on BirdNET Analyzer icon to start the program

  3. Error: Traceback (most recent call last): File "gui.py", line 1681, in File "C:\Users\DD4WH\AppData\Local\Programs\BirdNET-Analyzer_internal\gradio\blocks.py", line 2375, in launch raise ValueError( ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

  4. Program closes

grafik

DD4WH avatar Jul 02 '24 13:07 DD4WH

If you use a proxy server in Windows, you may need to set HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables. Open a command prompt, run this code, set the environment variables and start BirdNET Analyzer from the command prompt.

set http_proxy=<proxy-server-url>
set https_proxy=<proxy-server-url>
set no_proxy=localhost,127.0.0.1,::1
start "" <BirdNET-Analyzer-path>

Accurio avatar Aug 10 '24 07:08 Accurio

Yes, Gradio opens up a local webserver, but localhost does not seem to be accessible on you pc for some reason. The setting the proxy resolve the problem?

Josef-Haupt avatar Sep 03 '24 09:09 Josef-Haupt

with the latest version of the Windows Installer the issue seems to be gone! Thank you!

DD4WH avatar Jan 05 '25 12:01 DD4WH