WavFileWarning in self_test.py
Basic info
- Commit SHA: ede6ea58
- Platform: Windows, WSL/Ubuntu
Bug description
When running the self_test.py, three warnings are reported from the WAVE file reading.
- WavFileWarning: Chunk (non-data) not understood, skipping it.
- WavFileWarning: Reached EOF prematurely; finished at 7680044 bytes, expected 7680068 bytes from header.
- WavFileWarning: Reached EOF prematurely; finished at 3855404 bytes, expected 3855428 bytes from header.
It does not seem to have any effect on the result. I cannot find the error message in any of the logs, just in the console when running the script.
Ways to reproduce
make -j
cd scripts
./self_test.py --create
Example output
$ ./self_test.py --create
Create mode: ignoring all other optional commandline arguments regarding reference and test conditions
Creating missing reference files...
new directory /mnt/c/Users/eerikno/OneDrive - Ericsson/code/ivas-pc/main/scripts/ref has been created
Start running 231 modes with 231 encs and 231 decs
status: 0/231 (95 running), encs: 87/231/0 (8 running), decs: 0/231/0 (0 running), no errors /mnt/c/Users/eerikno/OneDrive - Ericsson/code/ivas-pc/main/scripts/pyaudio3dtools/audiofile.py:76: WavFileWarning: Chunk (non-data) not understood, skipping it.
fs, data = wav.read(filename)
status: 0/231 (97 running), encs: 89/231/0 (8 running), decs: 0/231/0 (0 running), no errors /mnt/c/Users/eerikno/OneDrive - Ericsson/code/ivas-pc/main/scripts/pyaudio3dtools/audiofile.py:76: WavFileWarning: Reached EOF prematurely; finished at 7680044 bytes, expected 7680068 bytes from header.
fs, data = wav.read(filename)
status: 0/231 (176 running), encs: 168/231/0 (8 running), decs: 0/231/0 (0 running), no errors /mnt/c/Users/eerikno/OneDrive - Ericsson/code/ivas-pc/main/scripts/pyaudio3dtools/audiofile.py:76: WavFileWarning: Reached EOF prematurely; finished at 3855404 bytes, expected 3855428 bytes from header.
fs, data = wav.read(filename)
status: 231/231 (0 running), encs: 231/231/0 (0 running), decs: 231/231/0 (0 running), no errors
Finished running
status: 231/231, encs: 231/231/0, decs: 231/231/0, no errors
Edited by norvell