raven-python icon indicating copy to clipboard operation
raven-python copied to clipboard

ascii codec error with zope

Open jordic opened this issue 8 years ago • 1 comments

We are getting that error on Zope:

2017-05-28T17:49:39 ERROR sentry.errors.serializer 'ascii' codec can't encode character u'\xed' in position 42: ordinal not in range(128)
Traceback (most recent call last):
  File "/opt/Zope2/lib/python2.7/site-packages/raven/utils/serializer/base.py", line 58, in recurse
    value = text_type(repr(value))[:string_max_length]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 42: ordinal not in range(128)

Tried to update to latest raven client without luck. Also I found some unexpected behaviours... like memory leaks when an exception happens an raven is not capable of dispatching the exception.

Is a bug? Any point or idea to solve it?

Thanks in advance!

jordic avatar May 28 '17 16:05 jordic

not specific to zope, we have the same issue whith flask

jpcaruana avatar Apr 18 '18 08:04 jpcaruana