getsentry / raven-python

Raven is the legacy Python client for Sentry (getsentry.com) — replaced by sentry-python
https://sentry.io
BSD 3-Clause "New" or "Revised" License
1.68k stars 657 forks source link

ascii codec error with zope #1009

Open jordic opened 7 years ago

jordic commented 7 years ago

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!

jpcaruana commented 6 years ago

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