ggozad/jarn.xmpp.core — Issue #13: UnicodeEncodeError in magic-links
Author: hannosch
Created: 2011-10-27 15:47:15+00:00
State: open

For the url https://jarn.intranett.no/magic-links?url=http://imgs.xkcd.com/comics/with_apologies_to_robert_frost.png

I just got a traceback:

Traceback (innermost last):

Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module jarn.xmpp.core.browser.transforms, line 64, in __call__
Module plone.memoize.volatile, line 283, in replacement
Module jarn.xmpp.core.browser.transforms, line 28, in getURLData
Module BeautifulSoup, line 1519, in __init__
Module BeautifulSoup, line 1144, in __init__
Module BeautifulSoup, line 1186, in _feed
Module sgmllib, line 104, in feed
Module sgmllib, line 143, in goahead
Module sgmllib, line 320, in parse_endtag
Module sgmllib, line 358, in finish_endtag
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb4' in position 12: ordinal not in range(128)