agiliq/django-buzz — Issue #5: Fix encoding error
Author: theju
Created: 2011-10-17 12:04:17+00:00
State: open

~/scripts$ /bin/bash /home/agiliq/scripts/pystories_fetchfeeds.sh
2011-10-17 07:03:11,984 - pystories.models - DEBUG - From settins LOG_FILE_NAME /home/agiliq/envs/agiliq_env/src/agiliqdotcom/agiliqcom/logging.conf LOG_FILE_PATH "/home/agiliq/envs/agiliq_env/src/agiliqdotcom/agiliqcom/logs/logs.txt"
2011-10-17 07:03:12,114 - dinette.models - DEBUG - From settings LOG_FILE_NAME /home/agiliq/envs/agiliq_env/src/agiliqdotcom/agiliqcom/logging.conf LOG_FILE_PATH "/home/agiliq/envs/agiliq_env/src/agiliqdotcom/agiliqcom/logs/logs.txt"
2011-10-17 07:03:12,114 - dinette.models - DEBUG - Models Compliing!dinette.models
http://django.es/blog/taller-de-introduccion-django-el-17-octubre-en-madrid/ Traceback (most recent call last):
File "fetchffeed.py", line 11, in
fmanager.triggerfetchFeed()
File "/home/agiliq/envs/agiliq_env/lib/python2.6/site-packages/pystories/services/EntryService.py", line 52, in triggerfetchFeed
self.fetchFeed(furl, topic)
File "/home/agiliq/envs/agiliq_env/lib/python2.6/site-packages/pystories/services/EntryService.py", line 106, in fetchFeed
print ne.url, ne.title, topic.slug
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 20: ordinal not in range(128)