AttributeError and unbound method __repr__() for an otherwise working object

Thanks to notes from @tkimnguyen I've implemented on one of our sites.
I'm now seeing this error occur (maybe every two days). When I visit the page I am unable to replicate the error, hoping someone can enlighten me.

Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.BaseRequest, line 554, in traverse
AttributeError: mypage
unbound method repr() must be called with Application instance as first argument (got nothing instead)

1 Like

I have seen this error frequently in the same context of Sentry. This likely an issue with the raven module with caused a bunch of headaches lately. However I did not see this particular error any more after switching to ftw.raven.


Weird. I haven't been seeing that error at all.

Could be worth digging through the Sentry or Raven github issue tracker

Thanks @zopyx, I'll look into ftw.raven.

I've found this issue FYI

Try doing:

The OPTIONS request method is causing this issue, something commonly done by web browsers (ie. for CORS)

Logged in