UnicodeEncodeError: 'ascii' codec can't encode character

Bug #205928 reported by renegade22
4
Affects Status Importance Assigned to Milestone
Exaile
New
Undecided
Unassigned

Bug Description

On drag and drop but also on scanning the library there this message comes.

file = "/home/robert/Musik/Grossstadtgeflüster/Muss Laut Sein/01. Grossstadtgeflüster - Grossstadtgeflüster.ogg"

I was also not able to create random100/500 playlists if these files was in the library
after a restart exaile removed the files out of the library (they were imported at 0.11) and then it works fine but without these files

console output:
Count is now: 199
Clearing tracks cache
-----------------------
 read_from_path ( /usr/local/lib/exaile/xl/media/__init__.py @ 524):
-----------------------
Traceback (most recent call last):
  File "/usr/local/lib/exaile/xl/media/__init__.py", line 544, in read_from_path
    format.fill_tag_from_path(tr)
  File "/usr/local/lib/exaile/xl/media/ogg.py", line 42, in fill_tag_from_path
    f = mutagen.oggvorbis.OggVorbis(tr.io_loc)
  File "/usr/local/lib/exaile/xl/media/__init__.py", line 388, in get_loc_for_io
    return self._loc.encode(xlmisc.get_default_encoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 33: ordinal not in range(128)

Revision history for this message
tlvince (tlvince) wrote :

I also have the 'ascii' character error. For bands like Sigur Rós, a message window appears with:

'ascii' codec can't encode character u'\xf3' in position 25: ordinal not in range(128)

though the song still continues to play, until I press "ok" on the message window. Exaile 0.2.11

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.