Open FrLars21 opened 1 month ago
Processing recording 963: S4A24026_20240819_180007_000.flac /home/ubuntu/animalacoustics/utils.py:92: UserWarning: PySoundFile failed. Trying audioread instead. audio, sr = librosa.load(file_path, sr=target_sr, mono=True) /home/ubuntu/animalacoustics/.venv/lib/python3.12/site-packages/librosa/core/audio.py:184: FutureWarning: librosa.core.audio.audioread_load Deprecated as of librosa version 0.10.0. It will be removed in librosa version 1.0. y, sr_native = audioread_load(path, offset, duration, dtype) Error loading audio file: [Errno 24] Too many open files: '/home/ubuntu/vol1/uploads/S4A24026_20240819_180007_000.flac' Failed to load and preprocess S4A24026_20240819_180007_000.flac: [Errno 24] Too many open files: '/home/ubuntu/vol1/uploads/S4A24026_20240819_180007_000.flac' Exception in thread Thread-4 (process_queue): Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner File "/usr/lib/python3.12/threading.py", line 1012, in run File "/home/ubuntu/animalacoustics/app.py", line 88, in process_queue File "/home/ubuntu/animalacoustics/utils.py", line 120, in chunk_and_embed_recording File "/home/ubuntu/animalacoustics/.venv/lib/python3.12/site-packages/fastlite/kw.py", line 11, in database File "/home/ubuntu/animalacoustics/.venv/lib/python3.12/site-packages/sqlite_minutils/db.py", line 257, in init sqlite3.OperationalError: unable to open database file
It made an upload fail. Other uploads continued. But processing/embedding stopped.