Skip to content

[18.0] build broken #3229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
simahawk opened this issue Mar 19, 2025 · 1 comment
Open

[18.0] build broken #3229

simahawk opened this issue Mar 19, 2025 · 1 comment
Labels

Comments

@simahawk
Copy link
Contributor

2025-03-18 10:53:18,992 280 INFO odoo odoo.addons.sentry.hooks: Initializing sentry... 
2025-03-18 10:53:18,992 280 WARNING odoo sentry_sdk.errors: Deprecated: propagate_hub is deprecated. This will be removed in the future. 
2025-03-18 10:53:19,012 280 INFO odoo sentry_sdk.errors: before send dropped event 
2025-03-18 10:53:19,012 280 ERROR odoo sentry_sdk.errors: Internal error in sentry_sdk 
Traceback (most recent call last):
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/integrations/logging.py", line 180, in emit
    return self._emit(record)
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/integrations/logging.py", line 260, in _emit
    sentry_sdk.capture_event(event, hint=hint)
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/api.py", line 161, in capture_event
    return get_current_scope().capture_event(event, hint, scope=scope, **scope_kwargs)
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/scope.py", line 1197, in capture_event
    event_id = self.get_client().capture_event(event=event, hint=hint, scope=scope)
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/client.py", line 799, in capture_event
    event_opt = self._prepare_event(event, hint, scope)
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/client.py", line 606, in _prepare_event
    self.transport.record_lost_event(
  File "/opt/odoo-venv/lib/python3.10/site-packages/sentry_sdk/transport.py", line 269, in record_lost_event
    if not self.options["send_client_reports"]:
AttributeError: 'InMemoryTransport' object has no attribute 'options'

Just reporting, no time to investigate.
@dnplkndll could you have a look pls?

@simahawk simahawk added the bug label Mar 19, 2025
@nilshamerlinck
Copy link
Contributor

it's due to some changes in new sentry_sdk version
I don't have time right now to dig into it further so I created #3231 to exclude this new version as a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants