Tradução automática. Os dados e os números são a fonte da verdade; a redação pode conter erros de tradução e alguns trechos podem continuar em inglês. A versão autoritativa são as páginas em inglês e em ucraniano. avise-nos se algum termo estiver impreciso

base_geoengine

em geospatial · código no GitHub

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

16.0~Problema de ambiente
17.0Erro de instalação
18.0~Problema de ambiente
19.0×Not in this series
SérieEstadoDetalhesCódigo
16.0~Problema de ambienteA system utility is missing from the image · executado em 2026-08-28no GitHub
17.0Erro de instalaçãoSQL error while installing · executado em 2026-08-26no GitHub
18.0~Problema de ambienteA system utility is missing from the image · executado em 2026-09-11no GitHub
19.0Não testadosem 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.

O catálogo apps.odoo.com tem um anúncio com o mesmo nome técnico na 16.0: apps.odoo.com/apps/modules/16.0/base_geoengine. Nome igual não prova código igual — como contamos isto.

Depende de

MóduloEstadoVerificado
basenúcleovem com o Odoo
webnúcleovem com o Odoo

Dependências externas

Verificado contra modidx/odoo:18.0-deps-20260820.

TipoPacoteNa nossa imagem
pythonshapelyna imagem
pythongeojsonna imagem

Do qual dependem

1 módulos na 18.0 o declaram como dependência.

Histórico

Última alteração2026-02-26
Commits de código, 12 meses5
Mais ativosYannick Vaucher, Nicolas Bessi, Samuel Kouff
Arquivos90

Commits de tradução e de bots ficam fora da contagem.

Log de instalação 18.0

2026-09-11 04:09:48,284 1 INFO ? odoo: Odoo version 18.0-20260817 
2026-09-11 04:09:48,285 1 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf 
2026-09-11 04:09:48,285 1 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/18.0', '/mnt/pool'] 
2026-09-11 04:09:48,285 1 INFO ? odoo: database: odoo@pg:5432 
Warn: Can't find .pfb for face 'Courier'
2026-09-11 04:09:49,496 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2026-09-11 04:09:49,518 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltoimage binary at /usr/local/bin/wkhtmltoimage 
2026-09-11 04:09:50,091 1 INFO job_e7a83453d72c odoo.modules.loading: loading 1 modules... 
2026-09-11 04:09:50,104 1 INFO job_e7a83453d72c odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries (+0 extra) 
2026-09-11 04:09:50,167 1 INFO job_e7a83453d72c odoo.modules.loading: updating modules list 
2026-09-11 04:09:50,172 1 INFO job_e7a83453d72c odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-09-11 04:10:37,972 1 INFO job_e7a83453d72c 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-09-11 04:10:39,568 1 INFO job_e7a83453d72c odoo.modules.loading: loading 12 modules... 
2026-09-11 04:10:40,639 1 INFO job_e7a83453d72c odoo.modules.loading: 12 modules loaded in 1.07s, 0 queries (+0 extra) 
2026-09-11 04:10:40,641 1 INFO job_e7a83453d72c odoo.modules.loading: loading 13 modules... 
2026-09-11 04:10:40,642 1 INFO job_e7a83453d72c odoo.modules.loading: Loading module base_geoengine (4/13) 
2026-09-11 04:10:40,884 1 ERROR job_e7a83453d72c 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-09-11 04:10:40,894 1 WARNING job_e7a83453d72c odoo.tools.translate: no translation language detected, skipping translation <frame at 0x7de04e164740, 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-09-11 04:10:40,900 1 WARNING job_e7a83453d72c odoo.modules.loading: Transient module states were reset 
2026-09-11 04:10:40,901 1 ERROR job_e7a83453d72c odoo.modules.registry: Failed to load registry 
2026-09-11 04:10:40,901 1 CRITICAL job_e7a83453d72c odoo.service.server: Failed to initialize database `job_e7a83453d72c`. 
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-09-11 04:10:40,906 1 INFO job_e7a83453d72c odoo.service.server: Initiating shutdown 
2026-09-11 04:10:40,906 1 INFO job_e7a83453d72c odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-09-11 04:10:40,908 1 INFO job_e7a83453d72c odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Log de instalação 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;

Log de instalação 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

O resultado parece errado? Diga-nos — mostraremos o log ou executaremos de novo. Relatar um resultado errado

Ser avisado quando este módulo mudar de estado

Dados atualizados em 2026-09-17 00:00 UTC · publicamos o log de instalação com data, não uma avaliação do fornecedor · O CSV e o JSON são abertos

Dúvidas ou um resultado errado: abrir uma issue ou hello@allservices.one

Projeto independente. Sem vínculo com a Odoo S.A. nem com a Odoo Community Association.