AnsgarSchmidt / aldebaran

Distributed Social Playlist Radio
Apache License 2.0
0 stars 0 forks source link

UnicodeEncodeError in Podcasts fetcher #5

Closed AnsgarSchmidt closed 9 years ago

AnsgarSchmidt commented 9 years ago

(server)ansi@ansinas:~/aldebaran/server$ python main.py 0.17.0 20 episodes at Forschung Aktuell - Deutschlandfunk Traceback (most recent call last): File "main.py", line 19, in podcasts = Podcasts() File "/tank/ansi/aldebaran/server/Podcasts.py", line 96, in init p = Podcast(podcastLink) File "/tank/ansi/aldebaran/server/Podcasts.py", line 62, in init self.refresh() File "/tank/ansi/aldebaran/server/Podcasts.py", line 89, in refresh print "%d episodes at %s"%(len(self._links), self._name) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 16: ordinal not in range(128)

AnsgarSchmidt commented 9 years ago

Working on it.

AnsgarSchmidt commented 9 years ago

Error is not in python, its on your bash. Try

export LC_ALL=en_US.UTF-8