R
Railway9mo ago
Jack

Repetitive error creating Odoo service (+ template)

KeyError: 'ir.http'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/http.py", line 2189, in __call__

response = request._serve_db()

File "/usr/lib/python3/dist-packages/odoo/http.py", line 1769, in _serve_db

exc.error_response = self.registry['ir.http']._handle_error(exc)

File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 213, in __getitem__

return self.models[model_name]

KeyError: 'ir.http'

2024-02-27 20:21:33,989 7 INFO railway werkzeug: 10.10.10.12 - - [27/Feb/2024 20:21:33] "GET /admin HTTP/1.1" 500 - 2 0.007 0.022

2024-02-27 20:21:40,044 7 ERROR railway odoo.sql_db: bad query:

SELECT latest_version

FROM ir_module_module

WHERE name='base'



ERROR: relation "ir_module_module" does not exist

LINE 3: FROM ir_module_module

^



2024-02-27 20:21:40,060 7 WARNING railway odoo.addons.base.models.ir_cron: Tried to poll an undefined table on database railway.

2024-02-27 20:21:43,073 7 ERROR railway odoo.sql_db: bad query:

SELECT latest_version

FROM ir_module_module

WHERE name='base'



ERROR: relation "ir_module_module" does not exist

LINE 3: FROM ir_module_module

^



2024-02-27 20:21:43,074 7 WARNING railway odoo.addons.base.models.ir_cron: Tried to poll an undefined table on database railway.
KeyError: 'ir.http'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/http.py", line 2189, in __call__

response = request._serve_db()

File "/usr/lib/python3/dist-packages/odoo/http.py", line 1769, in _serve_db

exc.error_response = self.registry['ir.http']._handle_error(exc)

File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 213, in __getitem__

return self.models[model_name]

KeyError: 'ir.http'

2024-02-27 20:21:33,989 7 INFO railway werkzeug: 10.10.10.12 - - [27/Feb/2024 20:21:33] "GET /admin HTTP/1.1" 500 - 2 0.007 0.022

2024-02-27 20:21:40,044 7 ERROR railway odoo.sql_db: bad query:

SELECT latest_version

FROM ir_module_module

WHERE name='base'



ERROR: relation "ir_module_module" does not exist

LINE 3: FROM ir_module_module

^



2024-02-27 20:21:40,060 7 WARNING railway odoo.addons.base.models.ir_cron: Tried to poll an undefined table on database railway.

2024-02-27 20:21:43,073 7 ERROR railway odoo.sql_db: bad query:

SELECT latest_version

FROM ir_module_module

WHERE name='base'



ERROR: relation "ir_module_module" does not exist

LINE 3: FROM ir_module_module

^



2024-02-27 20:21:43,074 7 WARNING railway odoo.addons.base.models.ir_cron: Tried to poll an undefined table on database railway.
2 Replies
Percy
Percy9mo ago
Project ID: 4c6f0548-3842-4347-868b-44d97d0e2050
Jack
Jack9mo ago
4c6f0548-3842-4347-868b-44d97d0e2050
Want results from more Discord servers?
Add your server