You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor observation and a suggestion for improved documentation/ usability.
I got this somewhat cryptic (pythonic ?) error message from the git cloned version 2.0.0
% ~/Downloads/dr14_t.meter/dr14_tmeter -v
2.0.0
% ~/Downloads/dr14_t.meter/dr14_tmeter
...
...
- ERROR !
Unexpected error: (<class 'ValueError'>, ValueError('cannot reshape array of size 59471833 into shape (1073741823,2)'), <traceback object at 0x14d699a68940>)
- ERROR !
- fail - /mnt/ramfs/TEST/jxtQ.flac
- fail - /mnt/ramfs/TEST/sUF.flac
No audio files found
Usage: dr14_tmeter [options] path_name
...
...
After some head scratching and poking around (debian 11.3) I looked into dr14tmeter/audio_file_reader.py where a temporary directory is created via
tmp_dir = tempfile.gettempdir()
Well, on this particular machine /tmp is only a 256 MByte ramdisk, which I guessed is too small to store a wav (?) file derived from an about 700 MByte flac input. In fact, setting $TMPDIR in the environment to point to a larger (i.e. GBytes free space) filesytem completely cured the problem, dr14_tmeter ran and finished successfully.
I would suggest documenting that enough space on /tmp or in another location is needed (to work around the useless error message python generates), together with a hint to set $TMPDIR if necessary and/or exposing a command line option to set the location for temporary files.
Best Regards
The text was updated successfully, but these errors were encountered:
Hello !
This is a minor observation and a suggestion for improved documentation/ usability.
I got this somewhat cryptic (pythonic ?) error message from the git cloned version 2.0.0
After some head scratching and poking around (debian 11.3) I looked into
dr14tmeter/audio_file_reader.py
where a temporary directory is created viaWell, on this particular machine /tmp is only a 256 MByte ramdisk, which I guessed is too small to store a wav (?) file derived from an about 700 MByte flac input. In fact, setting
$TMPDIR
in the environment to point to a larger (i.e. GBytes free space) filesytem completely cured the problem, dr14_tmeter ran and finished successfully.I would suggest documenting that enough space on /tmp or in another location is needed (to work around the useless error message python generates), together with a hint to set
$TMPDIR
if necessary and/or exposing a command line option to set the location for temporary files.Best Regards
The text was updated successfully, but these errors were encountered: