base_geoengine
у geospatial · джерело на GitHub
Категорія: GeoBI · Camptocamp · ACSONE SA/NV · AGPL-3
| Серія | Статус | Деталі | Код |
|---|---|---|---|
| 16.0 | ~Проблема середовища | Немає системної утиліти в образі · прогін 2026-08-28 | на GitHub |
| 17.0 | ✗Помилка install | Помилка SQL при установці · прогін 2026-08-26 | на GitHub |
| 18.0 | ~Проблема середовища | Немає системної утиліти в образі · прогін 2026-10-07 | на GitHub |
| 19.0 | —Не тестовано | гілки немає | |
| 20.0 | —Не тестовано | гілки немає |
Код модуля на 18.0
| Рядків коду | python 2 055 · xml 837 · js 4 572 |
| Тести | так: 1 файл(ів), 705 рядків |
| Скрипти міграції | ні |
| Моделі | 6 нових · 3 розширень |
| JavaScript | 21 файл(ів) · OWL · QWeb 14 |
| Сирий SQL | 9 × cr.execute |
Рядки — фізичні, разом із порожніми й коментарями, як wc -l. Тести — файли test_*.py у теці tests/. Моделі — рядки з _name = і _inherit =. Це факти про код, а не оцінка: більше рядків не означає ні краще, ні гірше. Зміряно 2026-08-28 на дереві 63ac44dc6ea9.
У каталозі apps.odoo.com є листинг під тією самою технічною назвою на 16.0: apps.odoo.com/apps/modules/16.0/base_geoengine. Збіг назви не доводить збіг коду — як ми це рахували.
Залежить від
| Модуль | Статус | Перевірено |
|---|---|---|
| base | ядро | йде в самому Odoo |
| web | ядро | йде в самому Odoo |
Зовнішні залежності
Перевірено проти modidx/odoo:18.0-deps-20260820.
| Вид | Пакет | У нашому образі |
|---|---|---|
| python | shapely | є в образі |
| python | geojson | є в образі |
Від нього залежать
1 модуль на 18.0 оголошує його своєю залежністю.
Історія
| Остання зміна | 2026-02-26 |
| Комітів коду за 12 міс | 5 |
| Найактивніші | Yannick Vaucher, Nicolas Bessi, Samuel Kouff |
| Файлів | 90 |
Переклади й коміти ботів у підрахунок не входять.
Лог прогону 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Лог прогону 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;Лог прогону 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Результат виглядає неправильним? Повідомте — ми покажемо лог або перепрогонимо. Повідомити про хибний результат