sentry-sdk==19.0 init throws RuntimeError on python3.6
See original GitHub issueimport sentry_sdk
...
sentry_sdk.init(
dsn,
environment=env,
debug=True,
)
/usr/local/lib/python3.6/site-packages/sentry_sdk/hub.py:106: in _init
client = Client(*args, **kwargs) # type: ignore
/usr/local/lib/python3.6/site-packages/sentry_sdk/client.py:86: in __init__
self._init_impl()
/usr/local/lib/python3.6/site-packages/sentry_sdk/client.py:132: in _init_impl
"auto_enabling_integrations"
/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/__init__.py:119: in setup_integrations
type(integration).setup_once()
/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/flask.py:75: in setup_once
request_started.connect(_request_started)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.signals._FakeSignal object at 0x7fc514b484e0>, args = (<function _request_started at 0x7fc515228840>,), kwargs = {}
def _fail(self, *args, **kwargs):
raise RuntimeError(
> "Signalling support is unavailable because the blinker"
" library is not installed."
)
E RuntimeError: Signalling support is unavailable because the blinker library is not installed.
/usr/local/lib/python3.6/site-packages/flask/signals.py:39: RuntimeError
It can be fixed if blinker is manually installed, please add blinker to sentry-sdk dependencies.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:12 (4 by maintainers)
Top Results From Across the Web
8. Errors and Exceptions — Python 3.11.1 documentation
10 * (1/0) Traceback (most recent call last): File "<stdin>", line 1, ... exc must be exception instance or None. raise RuntimeError from...
Read more >python 3 error RuntimeError: super(): no arguments
Using Python 3, I got this error because I forgot to include self in the ... job=input("job: ")) class Progress(Project): def __init__(self, ...
Read more >Unable to install snappy - jpy problem? - snap - STEP Forum
If I open python3 and try to import snappy I get the following error: ... _ raise RuntimeError('does not seem to be a...
Read more >How to fix updated pip: RuntimeError: Python 3.5 or later is ...
Looks like you upgraded pip to a version that doesn't support your Python version. Uninstall pip and reinstall the system pip:
Read more >PyStan: RuntimeError: Initialization Failed - The Stan Forums
3/lib/python3.6/multiprocessing/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "/home ...
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
pip install --upgrade ‘sentry-sdk[flask]’ worked for me.
Using
auto_enabling_integrations=False
insentry_sdk.init
works for me. Example: