BirdNET-Analyzer GUI throws an error and closes (Windows installer v1.2)
DD4WH opened this issue · 2 comments
After installing and starting the Windows Installer v1.2 the GUI window opens, throws an error and closes.
To Reproduce
-
Installed v1.2.0 on Windows
-
Clicked on BirdNET Analyzer icon to start the program
-
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. -
Program closes
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>
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?