base_geoengine

in geospatial · source on GitHub

Category: GeoBI · Camptocamp · ACSONE SA/NV · AGPL-3

16.0~Environment problem
17.0✗Install error
18.0~Environment problem
19.0×Not in this series
20.0×Not in this series
SeriesStatusDetailsCode
16.0~Environment problemA system utility is missing from the image · run 2026-08-28on GitHub
17.0✗Install errorSQL error while installing · run 2026-08-26on GitHub
18.0~Environment problemA system utility is missing from the image · run 2026-10-07on GitHub
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 18.0

Lines of codepython 2 055 · xml 837 · js 4 572
Testsyes: 1 file(s), 705 lines
Migration scriptsno
Models6 new · 3 extensions
JavaScript21 file(s) · OWL · QWeb 14
Raw SQL9 × cr.execute

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 63ac44dc6ea9.

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

Depends on

ModuleStatusChecked
basecoreships with Odoo
webcoreships with Odoo

External dependencies

Checked against modidx/odoo:18.0-deps-20260820.

KindPackageIn our image
pythonshapelyin image
pythongeojsonin image

Depended on by

1 module on 18.0 declares this one as a dependency.

History

Last change2026-02-26
Code commits, 12 months5
Most activeYannick Vaucher, Nicolas Bessi, Samuel Kouff
Files90

Translation and bot commits are excluded from the commit count.

Install log 18.0

2026-10-07 04:01:20,354 1 INFO ? odoo: Odoo version 18.0-20260817 
2026-10-07 04:01:20,354 1 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf 
2026-10-07 04:01:20,354 1 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/18.0', '/mnt/pool'] 
2026-10-07 04:01:20,355 1 INFO ? odoo: database: odoo@pg:5432 
Warn: Can't find .pfb for face 'Courier'
2026-10-07 04:01:21,287 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2026-10-07 04:01:21,302 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltoimage binary at /usr/local/bin/wkhtmltoimage 
2026-10-07 04:01:21,691 1 INFO job_ab9a93a48065 odoo.modules.loading: loading 1 modules... 
2026-10-07 04:01:21,709 1 INFO job_ab9a93a48065 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries (+0 extra) 
2026-10-07 04:01:21,786 1 INFO job_ab9a93a48065 odoo.modules.loading: updating modules list 
2026-10-07 04:01:21,790 1 INFO job_ab9a93a48065 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-10-07 04:02:05,565 1 INFO job_ab9a93a48065 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Geospatial support for Odoo'] to user __system__ #1 via n/a 
2026-10-07 04:02:07,282 1 INFO job_ab9a93a48065 odoo.modules.loading: loading 12 modules... 
2026-10-07 04:02:08,118 1 INFO job_ab9a93a48065 odoo.modules.loading: 12 modules loaded in 0.84s, 0 queries (+0 extra) 
2026-10-07 04:02:08,121 1 INFO job_ab9a93a48065 odoo.modules.loading: loading 13 modules... 
2026-10-07 04:02:08,122 1 INFO job_ab9a93a48065 odoo.modules.loading: Loading module base_geoengine (4/13) 
2026-10-07 04:02:08,577 1 ERROR job_ab9a93a48065 odoo.sql_db: bad query: b'\n        CREATE EXTENSION postgis;\n        CREATE EXTENSION postgis_topology;\n    '
ERROR: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.
 
2026-10-07 04:02:08,586 1 WARNING job_ab9a93a48065 odoo.tools.translate: no translation language detected, skipping translation <frame at 0x7da59395cba0, file '/mnt/pool/base_geoengine/geo_db.py', line 44, code init_postgis> 
Stack (most recent call last):
  File "/usr/bin/odoo", line 8, in <module>
    odoo.cli.main()
  File "/usr/lib/python3/dist-packages/odoo/cli/command.py", line 76, in main
    o.run(args)
  File "/usr/lib/python3/dist-packages/odoo/cli/server.py", line 182, in run
    main(args)
  File "/usr/lib/python3/dist-packages/odoo/cli/server.py", line 175, in main
    rc = odoo.service.server.start(preload=preload, stop=stop)
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1510, in start
    rc = server.run(preload, stop)
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 644, in run
    rc = preload_registries(preload)
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(env, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 365, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 193, in load_module_graph
    getattr(py_module, pre_init)(env)
  File "/mnt/pool/base_geoengine/geo_db.py", line 44, in init_postgis
    _(
  File "/usr/lib/python3/dist-packages/odoo/tools/translate.py", line 635, in get_text_alias
    module, lang = _get_translation_source(1)
  File "/usr/lib/python3/dist-packages/odoo/tools/translate.py", line 624, in _get_translation_source
    lang = lang or _get_lang(frame, default_lang)
  File "/usr/lib/python3/dist-packages/odoo/tools/translate.py", line 615, in _get_lang
    _logger.log(log_level, 'no translation language detected, skipping translation %s', frame, stack_info=True)
2026-10-07 04:02:08,592 1 WARNING job_ab9a93a48065 odoo.modules.loading: Transient module states were reset 
2026-10-07 04:02:08,592 1 ERROR job_ab9a93a48065 odoo.modules.registry: Failed to load registry 
2026-10-07 04:02:08,593 1 CRITICAL job_ab9a93a48065 odoo.service.server: Failed to initialize database `job_ab9a93a48065`. 
Traceback (most recent call last):
  File "/mnt/pool/base_geoengine/geo_db.py", line 36, in init_postgis
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 371, in execute
    res = self._obj.execute(query, params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.FeatureNotSupported: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(env, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 365, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 193, in load_module_graph
    getattr(py_module, pre_init)(env)
  File "/mnt/pool/base_geoengine/geo_db.py", line 43, in init_postgis
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize spatial postgis support. Database user may have to be superuser and postgres/postgis extensions with their devel header have to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To do this, open a client to your database using a super user and run:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;

2026-10-07 04:02:08,597 1 INFO job_ab9a93a48065 odoo.service.server: Initiating shutdown 
2026-10-07 04:02:08,597 1 INFO job_ab9a93a48065 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-10-07 04:02:08,597 1 INFO job_ab9a93a48065 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Install log 17.0

    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize spatial postgis support. Database user may have to be superuser and postgres/postgis extensions with their devel header have to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To do this, open a client to your database using a super user and run:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;

2026-08-26 20:29:11,259 1 CRITICAL job_1964f34df1d0 odoo.service.server: Failed to initialize database `job_1964f34df1d0`. 
Traceback (most recent call last):
  File "/mnt/pool/base_geoengine/geo_db.py", line 36, in init_postgis
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 342, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1422, 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 99, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 485, in load_modules
    processed_modules += load_marked_modules(env, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 366, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 194, in load_module_graph
    getattr(py_module, pre_init)(env)
  File "/mnt/pool/base_geoengine/geo_db.py", line 43, in init_postgis
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize spatial postgis support. Database user may have to be superuser and postgres/postgis extensions with their devel header have to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To do this, open a client to your database using a super user and run:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;

Install log 16.0

2026-08-28 03:37:26,608 1 INFO ? odoo: Odoo version 16.0-20250909 
2026-08-28 03:37:26,608 1 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf 
2026-08-28 03:37:26,609 1 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/16.0', '/mnt/pool'] 
2026-08-28 03:37:26,609 1 INFO ? odoo: database: odoo@pg:5432 
2026-08-28 03:37:26,992 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2026-08-28 03:37:27,382 1 INFO job_e0cef1a48595 odoo.modules.loading: loading 1 modules... 
2026-08-28 03:37:27,401 1 INFO job_e0cef1a48595 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries (+0 extra) 
2026-08-28 03:37:27,454 1 INFO job_e0cef1a48595 odoo.modules.loading: updating modules list 
2026-08-28 03:37:27,459 1 INFO job_e0cef1a48595 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-08-28 03:38:05,202 1 INFO job_e0cef1a48595 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Geospatial support for Odoo'] to user __system__ #1 via n/a 
2026-08-28 03:38:06,717 1 INFO job_e0cef1a48595 odoo.modules.loading: loading 8 modules... 
2026-08-28 03:38:07,285 1 INFO job_e0cef1a48595 odoo.modules.loading: 8 modules loaded in 0.57s, 0 queries (+0 extra) 
2026-08-28 03:38:07,289 1 INFO job_e0cef1a48595 odoo.modules.loading: loading 9 modules... 
2026-08-28 03:38:07,289 1 INFO job_e0cef1a48595 odoo.modules.loading: Loading module base_geoengine (4/9) 
2026-08-28 03:38:07,447 1 ERROR job_e0cef1a48595 odoo.sql_db: bad query: 
        CREATE EXTENSION postgis;
        CREATE EXTENSION postgis_topology;
    
ERROR: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.
 
2026-08-28 03:38:07,451 1 WARNING job_e0cef1a48595 odoo.modules.loading: Transient module states were reset 
2026-08-28 03:38:07,452 1 ERROR job_e0cef1a48595 odoo.modules.registry: Failed to load registry 
Traceback (most recent call last):
  File "/mnt/pool/base_geoengine/geo_db.py", line 34, in init_postgis
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  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 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 197, in load_module_graph
    getattr(py_module, pre_init)(cr)
  File "/mnt/pool/base_geoengine/geo_db.py", line 41, in init_postgis
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize spatial postgis support. Database user may have to be superuser and postgres/postgis extensions with their devel header have to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To do this, open a client to your database using a super user and run:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;

2026-08-28 03:38:07,455 1 CRITICAL job_e0cef1a48595 odoo.service.server: Failed to initialize database `job_e0cef1a48595`. 
Traceback (most recent call last):
  File "/mnt/pool/base_geoengine/geo_db.py", line 34, in init_postgis
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "postgis" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

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 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 197, in load_module_graph
    getattr(py_module, pre_init)(cr)
  File "/mnt/pool/base_geoengine/geo_db.py", line 41, in init_postgis
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize spatial postgis support. Database user may have to be superuser and postgres/postgis extensions with their devel header have to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To do this, open a client to your database using a super user and run:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;

2026-08-28 03:38:07,457 1 INFO job_e0cef1a48595 odoo.service.server: Initiating shutdown 
2026-08-28 03:38:07,457 1 INFO job_e0cef1a48595 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-08-28 03:38:07,458 1 INFO job_e0cef1a48595 odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections

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.