Closed thenktor closed 9 years ago
Which version of python are you using? [Python 2. or python 3.]
python-2.7.3
Can you copy and paste the file names of the track in the directory. Do you know the problematic name?
If possible Copy and past the also full output of the command
dr14_tmeter -1 [your dir]
Just noticed: the error only comes up when using the "--quiet" switch. When the error appears I have to press Ctrl+C to abort. Without the "--quiet" switch it works fine.
Ok! Witch distro are you using (Ubuntu Fedora ... )?
Please copy the file-names of your tracks, so for me it's possible to try to reproduce the problem.
Distribution is Salix (Slackware) 14.0
It happened for this directory (and others with utf8 characters):
find | sort . ./abstürzende brieftauben - das kriegen wir schon hin - 01 - das kriegen wir schon hin.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 02 - scheissegal.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 03 - ich mag buttermilch.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 04 - kein plan.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 05 - autofahr'n.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 06 - hans hart.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 07 - das singen....mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 08 - beim zahnarzt.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 09 - absturztauben.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 10 - wär ich doch im bett geblieben.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 11 - die luzie.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 12 - siegesmund.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 13 - die süsse barmieze.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 14 - ich mag brombeerwein.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 15 - my boney.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 16 - franz'l.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 17 - tränen.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 18 - whip-pib.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 19 - zu spät.mp3 ./abstürzende brieftauben - das kriegen wir schon hin - 20 - die kuh (rough).mp3 ./cover.jpg
Tnx, I've reproduced the problem. I'll try to fix sooner.
Stings encoding in python 2 and 3 is different, and administrating all cases is a bit problematic.
Fixed.
Try the current git version.
Directory: abstürzende brieftauben/1986 - das kriegen wir schon hin
Here is the error message: Process Process-1: Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(_self._args, *_self._kwargs) File "/usr/lib64/python2.7/site-packages/dr14tmeter/dynamic_range_meter.py", line 254, in run_mp print_msg( file_name + ": \t DR " + str( int(dr14) ) ) File "/usr/lib64/python2.7/site-packages/dr14tmeter/out_messages.py", line 58, in print_msg message_file.write( "%s\n" % string ) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 4: ordinal not in range(128)