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

clips directory is not created by install.sh or the write path #358

Open
1 of 5 tasks
jkrauska opened this issue Dec 30, 2024 · 1 comment
Open
1 of 5 tasks

clips directory is not created by install.sh or the write path #358

jkrauska opened this issue Dec 30, 2024 · 1 comment

Comments

@jkrauska
Copy link
Contributor

Issue Type

  • Bug report
  • Feature request
  • Question / Support

Description

clips directory not created on clean install with install.sh

Steps to Reproduce (for bugs)

  1. install.sh
  2. look in data dir
  3. see also log message "2024/12/29 21:46:17 Error cleaning up clips: no such file or directory"

Expected behavior

clips directory created either by install.sh or when initial save occurs

Actual behavior

have to make dir yourself.

Screenshots

[If applicable, add screenshots to help explain your problem]

Environment

Version Information (build date)

Provide the following line from your system:
dev system, rpi5, raspberrypi os

$ ./birdnet-go
[Paste the output line here, which should look like this:]
BirdNET-Go build date: YYYY-MM-DDTHH:MM:SSZ, using config file: /path/to/config.yaml
🐦 BirdNET-Go build date: 2024-12-28T18:20:03Z, using config file: /root/.config/birdnet-go/config.yaml

System Information

  • Device:

    • [x ] Raspberry Pi 5
  • OS: Raspberry Pi OS

  • OS Version: [e.g. Raspberry Pi OS Bullseye, Ubuntu 20.04.2 LTS]

  • Hardware specs:

    • CPU: Raspberry Pi 5
    • RAM: [e.g. 4GB]
    • Storage type and size: [e.g. 32GB microSD card, 128GB SSD]
  • Additional hardware (if applicable):

    • USB Audio device: [e.g. Brand, Model]
    • Other peripherals: [e.g. Specific microphone, GPS module]

For Non-Raspberry Pi Linux Users

Have you tested with the latest dev branch container image?

  • [ x] Yes
  • No
  • Not applicable (Windows/macOS user)

If not, first test with the latest dev branch container image and see if the issue is already fixed.

$ docker pull ghcr.io/tphakala/birdnet-go:dev

Additional context

[Add any other context about the problem here, such as any custom configurations or specific usage scenarios]
initial install issue on fresh sd card

Possible Solution

create clips dir in write path if it is missing.

@isZumpo
Copy link
Contributor

isZumpo commented Jan 3, 2025

Hi, is it not created once a bird is recorded?

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

No branches or pull requests

2 participants