Add support for Eve
See original GitHub issueEven though Eve is a wrapper around Flask, using sentry on Eve throws an exception, e.g.:
# app.py
from eve import Eve
from raven.contrib.flask import Sentry
app = Eve()
sentry = Sentry(app, dsn='...')
app.run()
Traceback (most recent call last):
File "flask-sentry.py", line 5, in <module>
sentry = Sentry(app, dsn='https://ccbeb003ed194f0bab837d8c33269cef:ad3c0bdbe07740799fcf3a30fe491449@sentry.io/136957')
File "MYPATH/env/lib/python3.5/site-packages/raven/contrib/flask.py", line 114, in __init__
self.init_app(app)
File "MYPATH/env/lib/python3.5/site-packages/raven/contrib/flask.py", line 284, in init_app
got_request_exception.connect(self.handle_exception, sender=app)
File "MYPATH/env/lib/python3.5/site-packages/blinker/base.py", line 130, in connect
sender_ref = reference(sender, self._cleanup_sender)
File "MYPATH/env/lib/python3.5/site-packages/blinker/_utilities.py", line 134, in reference
weak = callable_reference(object, callback)
File "MYPATH/env/lib/python3.5/site-packages/blinker/_utilities.py", line 145, in callable_reference
return BoundMethodWeakref(target=object, on_delete=callback)
File "MYPATH/env/lib/python3.5/site-packages/blinker/_saferef.py", line 135, in __new__
key = cls.calculate_key(target)
File "MYPATH/env/lib/python3.5/site-packages/blinker/_saferef.py", line 196, in calculate_key
return (id(get_self(target)), id(get_func(target)))
File "MYPATH/env/lib/python3.5/site-packages/events/events.py", line 41, in __getattr__
(self.__class__.__name__, name))
AttributeError: type object 'Eve' has no attribute '__self__'
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
EVE Online - Support
Technical Support. Can't find what you're looking for? Please contact support. Submit a request. © EVE Online. Search... Powered by Zendesk.
Read more >Eve to Add Thread Support to HomeKit-Enabled Accessories
Eve intends to expand hardware support for Thread to its entire product line, upgrading Eve accessories to connect over a fast, self-healing wireless...
Read more >Eve upgrades three products to support Matter - 9to5Mac
Eve is upgrading 3 of its existing device to support Matter. ... Eve adds Matter support to three products with a free firmware...
Read more >EVE online adds support for AMD Freesync - Reddit
Eve O has a minimize to background feature that makes it no different for the GPU to run 100 or 1 client. This...
Read more >EVE-NG System Requirements
Please consult to EVE support for CPU tune before use. Older series AMD can have issues. NOT supported or have serious issues: Using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A workaround for this problem is to subclass Eve as follows:
No updates about it yet?