sentry

in server-tools · source on GitHub

Report Odoo errors to Sentry

Category: Extra Tools · Mohammed Barsi · Versada · Nicolas JEUDY · Vauxoo · AGPL-3

16.0~Environment problem
17.0✓Installs
18.0✓Installs
19.0✓Installs
20.0×Not in this series
SeriesStatusDetailsCode
16.0~Environment problemExternal Python package missing: sentry_sdk<=1.9.0 · run 2026-08-26on GitHub
17.0✓Installs · run 2026-08-20 · 17.0.1.0.0on GitHub
18.0✓Installs · run 2026-10-06 · 18.0.1.0.5on GitHub
19.0✓Installs · run 2026-08-22 · 19.0.1.0.1on GitHub
20.0—Not testedno branch

Odoo 20.0 dev — development line

A different statement from the table above. There: the module as published, on a released platform. Here: the module’s code with its manifest version mechanically raised, on a platform that has not been released and changes daily.

StatusDetails
✓runs · version 19.0.1.0.1 → 19.5.1.0.1, code unchanged · run 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910

Provenance: __manifest__.py sha256 764c396c523b36b1… · tree of 26 files without the manifest, sha256 a10b99413aeea6b3…

This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version

Odoo 20.0 — the branch itself

The same frozen code, run again against the real 20.0 branch. The run above used Odoo’s development line before the branch was cut; this one used the branch, pinned to one commit.

StatusDetails
✓runs · version 19.0.1.0.1 → 20.0.1.0.1, code unchanged · run 2026-09-18 · odoo 20.0 · modidx/odoo:20.0-deps-20260918

Provenance: __manifest__.py sha256 764c396c523b36b1… · tree of 26 files without the manifest, sha256 a10b99413aeea6b3…

This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version

The module’s code on 19.0

Lines of codepython 1 188 · xml 0
Testsyes: 4 file(s), 518 lines
Migration scriptsno
Models0 new · 0 extensions

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 4d4d98cca9d2.

The apps.odoo.com catalogue has a listing under the same technical name on 16.0, 17.0, 18.0, 19.0: apps.odoo.com/apps/modules/19.0/sentry. A matching name does not prove matching code — how we counted this.

Depends on

ModuleStatusChecked
basecoreships with Odoo

External dependencies

Checked against modidx/odoo:19.0-deps-20260922.

KindPackageIn our image
pythonsentry_sdk>=2.0.0,<=2.22.0in image

History

Last change2026-05-28
Code commits, 12 months41
Most activeAtte Isopuro, Florian Mounier, Naglis Jonaitis
Files27

Translation and bot commits are excluded from the commit count.

Install log 16.0

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
    self.check_external_dependencies(module.name, newstate)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
    raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "sentry" because an external dependency is not met: Python library not installed: sentry_sdk<=1.9.0
2026-08-26 22:11:07,625 1 CRITICAL job_a851ef71f72d odoo.service.server: Failed to initialize database `job_a851ef71f72d`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 538, in check_python_external_dependency
    pkg_resources.get_distribution(pydep)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 466, in get_distribution
    dist = get_provider(dist)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 342, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sentry_sdk<=1.9.0' distribution was not found and is required by the application

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 541, in check_python_external_dependency
    importlib.import_module(pydep)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sentry_sdk<=1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 360, in check_external_dependencies
    modules.check_manifest_dependencies(terp)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 560, in check_manifest_dependencies
    check_python_external_dependency(pydep)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 546, in check_python_external_dependency
    raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: sentry_sdk<=1.9.0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1333, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "<decorator-gen-16>", line 2, in new
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 460, in load_modules
    modules.button_install()
  File "<decorator-gen-76>", line 2, in button_install
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 420, in button_install
    modules._state_update('to install', ['uninstalled'])
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
    self.check_external_dependencies(module.name, newstate)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
    raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "sentry" because an external dependency is not met: Python library not installed: sentry_sdk<=1.9.0

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 13:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.