Open GoogleCodeExporter opened 8 years ago
Get the same error, saving meta tags with ö,ä,ü and ß is not working :
500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Traceback (most recent call last):
File "/var/www/client175/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/var/www/client175/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/var/www/client175/server.py", line 249, in edit
f.write_tags(tags)
File "/var/www/client175/metadata/_base.py", line 219, in write_tags
self._set_tag(raw, self.tag_mapping[tag], tagdict[tag])
File "/var/www/client175/metadata/_id3.py", line 105, in _set_tag
frame = id3.Frames[tag](encoding=3, text=data)
File "/var/www/client175/mutagen/id3.py", line 975, in __init__
self, kwargs.get(checker.name, None))
File "/var/www/client175/mutagen/id3.py", line 739, in validate
value = value.split(self.sep)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordina
Original comment by i...@flirt-hunter.de
on 25 Jul 2012 at 4:29
I've had similar error in line 223 (when adding to playlist songs with utf8
chars). According to
http://www.saltycrane.com/blog/2008/11/python-unicodeencodeerror-ascii-codec-can
t-encode-character/ i used smart_str function from django, and now it works.
Try it in your error :)
Original comment by neonk...@gmail.com
on 6 Oct 2012 at 9:57
Original issue reported on code.google.com by
jeroen.o...@gmail.com
on 26 Dec 2011 at 1:19