Closed parapente closed 8 years ago
Could you provide the output of ulimit -a
? It looks like we're hitting the open file limit for some reason.
$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 23776 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1300 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
I don't really believe the limit is reached while scanning the music collection. It looks like some files aren't closed and that causes beet to reach the limit.
Since you mentioned that you have chroma enabled, it's likely that this issue in audioread is to blame: https://github.com/beetbox/audioread/issues/28 https://github.com/beetbox/audioread/issues/29
Fortunately, I just pushed a fix for it yesterday. Can you please try with the latest version of audioread (2.1.2)?
Indeed, updating audioread to 2.1.2 fixed this issue. Thanks!
Fantastic!
Sending event: import_task_choice
Traceback (most recent call last):
File "/usr/local/bin/beet", line 8, in
root@local:/srv/Various# pip install audioread Requirement already satisfied: audioread in /usr/local/lib/python3.9/dist-packages (3.0.0)
The error message I get is the following:
I'm running beets-1.3.16 with the following command:
beet import Music