-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hi, I just downloaded the latest Release (v0.7.3) for Windows:
olaf_cli-windows-x86_64.zip
After setting it up, I updated the paths in the olaf_config.json so that they point to the location where the database is stored.
- Running
olaf statsworks as expected: it correctly finds the database in the configureddb_folder. - Running
olaf query audiofilename.wavdoes not use the configureddb_folderand instead outputs:
No home directory found, will use './db' as db folder
Workaround:
If I manually create a ./db/ folder and copy the database there, olaf query works. It also correctly applies other config parameters (e.g., "max_db_collisions": 35000). This suggests the issue is limited to db_folder not being respected by the query command.
Steps to Reproduce:
- Download and extract v0.7.3 Windows release.
- Configure
olaf_config.jsonwith an absolutedb_folderpath. - Run
olaf stats→ works correctly. - Run
olaf query audiofilename.wav→ ignoresdb_folderand falls back to./db.
Environment:
- Olaf version: v0.7.3 (Windows release)
- OS: Windows 11
- Config:
{ "db_folder": "C:/Users/username/.olaf/db", "cache_folder": "C:/Users/username/.olaf/cache", "fragment_duration_in_seconds": 45, "allowed_audio_file_extensions": [".mp3", ".wav"], "target_sample_rate": 16000, "max_db_collisions": 35000 }
Metadata
Metadata
Assignees
Labels
No labels