samuelclay/NewsBlur — Issue #41: UnicodeEncodeError: ordinal not in range(128)
Author: riseuplabs
Created: 2011-11-26 05:15:15+00:00
State: open

I've just got things setup and have added a couple of feeds. It seems as if things are pulled fine, but when they are processed I get the following traceback:

[Nov 26 05:11:14] Traceback (most recent call last):
File "/home/newsblur/newsblur/utils/feed_fetcher.py", line 309, in process_feed_wrapper
ret_feed, ret_entries = pfeed.process()
File "/home/newsblur/newsblur/utils/feed_fetcher.py", line 244, in process
ret_values = self.feed.add_update_stories(self.fpf.entries, existing_stories, verbose=self.options['verbose'])
File "/home/newsblur/newsblur/apps/rss_feeds/models.py", line 624, in add_update_stories
s.save()
File "/home/newsblur/newsblur/apps/rss_feeds/models.py", line 1108, in save
self.story_content_z = zlib.compress(self.story_content)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 1562: ordinal not in range(128)