Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating error key/var could result in UnicodeEncodeError #4

Open
Bouke opened this issue Sep 12, 2013 · 2 comments
Open

Generating error key/var could result in UnicodeEncodeError #4

Bouke opened this issue Sep 12, 2013 · 2 comments
Labels

Comments

@Bouke
Copy link
Owner

Bouke commented Sep 12, 2013

/home/frontend/local/lib/python2.7/site-packages/gunicorn/workers/sync.py:126:in `handle_request: respiter = self.wsgi(environ, resp.start_response)'
/home/frontend/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py:241:in `__call__: response = self.get_response(request)'
/home/frontend/local/lib/python2.7/site-packages/django/core/handlers/base.py:179:in `get_response: response = self.handle_uncaught_exception(request, resolver, sys.exc_info())'
/home/frontend/local/lib/python2.7/site-packages/django/core/handlers/base.py:215:in `handle_uncaught_exception: 'request': request'
/usr/lib/python2.7/logging/__init__.py:1158:in `error: self._log(ERROR, msg, args, **kwargs)'
/usr/lib/python2.7/logging/__init__.py:1250:in `_log: self.handle(record)'
/usr/lib/python2.7/logging/__init__.py:1260:in `handle: self.callHandlers(record)'
/usr/lib/python2.7/logging/__init__.py:1300:in `callHandlers: hdlr.handle(record)'
/usr/lib/python2.7/logging/__init__.py:744:in `handle: self.emit(record)'
/home/frontend/local/lib/python2.7/site-packages/airbrake/handlers.py:35:in `emit: self._sendMessage(self._generate_xml(record))'
/home/frontend/local/lib/python2.7/site-packages/airbrake/handlers.py:74:in `_generate_xml: SubElement(params, 'var', dict(key=key)).text = str(value)'

Error handling request: 'ascii' codec can't encode character u'\u201c' in position 466: ordinal not in range(128)
@Bouke Bouke added the bug label Sep 20, 2014
@sveinn-steinarsson
Copy link

Do you think this will be fixed anytime soon?
This looks promising Perkville@cfa2ac0

@Bouke
Copy link
Owner Author

Bouke commented Jan 5, 2016

That code doesn't handle Python 3. I don't have time to work on this, however feel free to pitch in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants