Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1454 Vizualizări

sql_db.py to see what the last query and params were and this was is:

odoo.modules.registry: Failed to load registry Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/modules/registry.py", line 114, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "/home/odoo/src/odoo/odoo/modules/loading.py", line 476, in load_modules processed_modules += load_marked_modules(env, graph, File "/home/odoo/src/odoo/odoo/modules/loading.py", line 364, in load_marked_modules loaded, processed = load_module_graph( File "/home/odoo/src/odoo/odoo/modules/loading.py", line 205, in load_module_graph registry.init_models(env.cr, model_names, {'module': package.name}, new_install) File "/home/odoo/src/odoo/odoo/modules/registry.py", line 573, in init_models model._auto_init() File "/home/odoo/src/odoo/odoo/models.py", line 3156, in _auto_init new = field.update_db(self, columns) File "/home/odoo/src/odoo/odoo/fields.py", line 1005, in update_db self.update_db_column(model, column) File "/home/odoo/src/odoo/odoo/fields.py", line 1041, in update_db_column self._convert_db_column(model, column) File "/home/odoo/src/odoo/odoo/fields.py", line 1045, in _convert_db_column sql.convert_column(model._cr, model._table, self.name, self.column_type[1]) File "/home/odoo/src/odoo/odoo/tools/sql.py", line 311, in convert_column _convert_column(cr, tablename, columnname, columntype, using) File "/home/odoo/src/odoo/odoo/tools/sql.py", line 335, in _convert_column cr.execute(query, log_exceptions=False) File "/home/odoo/src/odoo/odoo/sql_db.py", line 335, in execute res = self._obj.execute(query, params)psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type integer: "A"

Putting in a logger, the last query and params was: UPDATE ir_module_module SET state='uninstalled' WHERE state='to install'

I'm not sure how that query relates to that error.  No query or params called have 'A' in them.

Any clue on how to proceed?



Imagine profil
Abandonează
Cel mai bun răspuns

Hi,
Try a force restart and change the odoo sh build revision and see if those makes any difference.


Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
dec. 22
4910
1
iul. 25
1662
1
iun. 25
718
1
iun. 25
755
2
iun. 25
1471