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

BirdNET-Analyzer Windows app cannot run when installed outside user profile #308

Closed
msp2 opened this issue Apr 10, 2024 · 4 comments · Fixed by #315
Closed

BirdNET-Analyzer Windows app cannot run when installed outside user profile #308

msp2 opened this issue Apr 10, 2024 · 4 comments · Fixed by #315

Comments

@msp2
Copy link

msp2 commented Apr 10, 2024

After I install the BirdNET-Analyzer Windows app on a path outside my Windows user profile, the app can only open when I am logged in as an administrator. If I attempt to open BirdNET-Analyzer Windows app when logged into my normal user account, the following error dialog appears.

BirdNET_ERROR_permission-denied_logs txt

When this happens, no new text appears in logs.txt.

I tried installing BirdNET-Analyzer both in "C:\Program Files" and in "C:\BirdNET-Analyzer".

@Josef-Haupt
Copy link
Collaborator

Program Files and your default C are protected directories, so it makes sense, that admin rights are required to run the exe. The BirdNET GUI installation needs write access in its install directory for redirecting the stdout to the logs.txt.

@msp2
Copy link
Author

msp2 commented Apr 16, 2024 via email

@Josef-Haupt
Copy link
Collaborator

Ah I get it, let me see if I can fix that

@Josef-Haupt Josef-Haupt reopened this Apr 16, 2024
@msp2
Copy link
Author

msp2 commented Apr 16, 2024

One possible solution might be to write the log to the current user profile, even when the app is installed on another path.

@Josef-Haupt Josef-Haupt linked a pull request Apr 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants