Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2014-12-01 13:02:08,925 32121 INFO springFresh_migrated openerp.modules.module: module stock: creating or updating database tables
- 2014-12-01 13:02:09,314 32121 ERROR springFresh_migrated openerp.sql_db: bad query: ALTER TABLE "stock_picking" ALTER COLUMN "picking_type_id" SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "picking_type_id" contains null values
- 2014-12-01 13:02:09,315 32121 WARNING springFresh_migrated openerp.models: WARNING: unable to set column picking_type_id of table stock_picking not null !
- Try to re-run: openerp-server --update=module
- If it doesn''t work, update records and execute manually:
- ALTER TABLE stock_picking ALTER COLUMN picking_type_id SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2702, in _auto_init
- cr.execute('ALTER TABLE "%s" ALTER COLUMN "%s" SET NOT NULL' % (self._table, k))
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "picking_type_id" contains null values
- 2014-12-01 13:02:09,322 32121 INFO springFresh_migrated openerp.models: column location_id (Location) converted to a function, removed from table stock_picking
- 2014-12-01 13:02:09,518 32121 INFO springFresh_migrated openerp.models: column location_dest_id (Destination Location) converted to a function, removed from table stock_picking
- 2014-12-01 13:02:14,513 32121 ERROR springFresh_migrated openerp.sql_db: Programming error: column stock_warehouse.code does not exist
- LINE 1: SELECT stock_warehouse."code",stock_warehouse."create_date"...
- ^
- , in query SELECT stock_warehouse."code",stock_warehouse."create_date",stock_warehouse."lot_stock_id",stock_warehouse."wh_pack_stock_loc_id",stock_warehouse."write_uid",stock_warehouse."pick_type_id",stock_warehouse."crossdock_route_id",stock_warehouse."partner_id",stock_warehouse."id",stock_warehouse."create_uid",stock_warehouse."mto_pull_id",stock_warehouse."company_id",stock_warehouse."wh_input_stock_loc_id",stock_warehouse."wh_qc_stock_loc_id",stock_warehouse."default_resupply_wh_id",stock_warehouse."view_location_id",stock_warehouse."reception_steps",stock_warehouse."resupply_from_wh",stock_warehouse."pack_type_id",stock_warehouse."wh_output_stock_loc_id",stock_warehouse."reception_route_id",stock_warehouse."write_date",stock_warehouse."delivery_route_id",stock_warehouse."name",stock_warehouse."in_type_id",stock_warehouse."out_type_id",stock_warehouse."delivery_steps",stock_warehouse."int_type_id" FROM "stock_warehouse"
- WHERE stock_warehouse.id IN %s AND (TRUE)
- ORDER BY id
- 2014-12-01 13:02:14,513 32121 ERROR springFresh_migrated openerp.sql_db: bad query: SAVEPOINT add_constraint
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- InternalError: current transaction is aborted, commands ignored until end of transaction block
- 2014-12-01 13:02:14,514 32121 WARNING springFresh_migrated openerp.models: WARNING: unable to set column location_id of table stock_inventory not null !
- Try to re-run: openerp-server --update=module
- If it doesn''t work, update records and execute manually:
- ALTER TABLE stock_inventory ALTER COLUMN location_id SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2701, in _auto_init
- cr.execute('SAVEPOINT add_constraint');
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- InternalError: current transaction is aborted, commands ignored until end of transaction block
- 2014-12-01 13:02:14,557 32121 ERROR springFresh_migrated openerp.sql_db: bad query: ALTER TABLE "stock_inventory_line" ALTER COLUMN "product_uom_id" SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "product_uom_id" contains null values
- 2014-12-01 13:02:14,557 32121 WARNING springFresh_migrated openerp.models: WARNING: unable to set column product_uom_id of table stock_inventory_line not null !
- Try to re-run: openerp-server --update=module
- If it doesn''t work, update records and execute manually:
- ALTER TABLE stock_inventory_line ALTER COLUMN product_uom_id SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2702, in _auto_init
- cr.execute('ALTER TABLE "%s" ALTER COLUMN "%s" SET NOT NULL' % (self._table, k))
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "product_uom_id" contains null values
- 2014-12-01 13:02:14,594 32121 ERROR springFresh_migrated openerp.sql_db: bad query: ALTER TABLE "stock_warehouse" ALTER COLUMN "code" SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "code" contains null values
- 2014-12-01 13:02:14,594 32121 WARNING springFresh_migrated openerp.models: WARNING: unable to set column code of table stock_warehouse not null !
- Try to re-run: openerp-server --update=module
- If it doesn''t work, update records and execute manually:
- ALTER TABLE stock_warehouse ALTER COLUMN code SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2702, in _auto_init
- cr.execute('ALTER TABLE "%s" ALTER COLUMN "%s" SET NOT NULL' % (self._table, k))
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "code" contains null values
- 2014-12-01 13:02:14,671 32121 ERROR springFresh_migrated openerp.sql_db: bad query: ALTER TABLE "stock_warehouse" ALTER COLUMN "view_location_id" SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "view_location_id" contains null values
- 2014-12-01 13:02:14,671 32121 WARNING springFresh_migrated openerp.models: WARNING: unable to set column view_location_id of table stock_warehouse not null !
- Try to re-run: openerp-server --update=module
- If it doesn''t work, update records and execute manually:
- ALTER TABLE stock_warehouse ALTER COLUMN view_location_id SET NOT NULL
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2702, in _auto_init
- cr.execute('ALTER TABLE "%s" ALTER COLUMN "%s" SET NOT NULL' % (self._table, k))
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- IntegrityError: column "view_location_id" contains null values
- 2014-12-01 13:02:14,818 32121 INFO springFresh_migrated openerp.models: Computing parent left and right for table stock_quant_package...
- 2014-12-01 13:02:14,895 32121 INFO springFresh_migrated openerp.models: column product_uom (Product Unit of Measure) converted to a function, removed from table stock_warehouse_orderpoint
- 2014-12-01 13:02:15,766 32121 ERROR springFresh_migrated openerp.sql_db: Programming error: column "restrict_partner_id" referenced in foreign key constraint does not exist
- , in query ALTER TABLE "stock_move" ADD FOREIGN KEY ("restrict_partner_id") REFERENCES "res_partner" ON DELETE set null
- 2014-12-01 13:02:15,774 32121 CRITICAL springFresh_migrated openerp.service.server: Failed to initialize database `springFresh_migrated`.
- Traceback (most recent call last):
- File "/var/tmp/openupgrade/8.0/server/openerp/service/server.py", line 901, in preload_registries
- registry = RegistryManager.new(dbname, update_module=update_module)
- File "/var/tmp/openupgrade/8.0/server/openerp/modules/registry.py", line 324, in new
- openerp.modules.load_modules(registry._db, force_demo, status, update_module)
- File "/var/tmp/openupgrade/8.0/server/openerp/modules/loading.py", line 387, in load_modules
- force, status, report, loaded_modules, update_module, upg_registry)
- File "/var/tmp/openupgrade/8.0/server/openerp/modules/loading.py", line 295, in load_marked_modules
- loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks, upg_registry=upg_registry)
- File "/var/tmp/openupgrade/8.0/server/openerp/modules/loading.py", line 186, in load_module_graph
- init_module_models(cr, package.name, models)
- File "/var/tmp/openupgrade/8.0/server/openerp/modules/module.py", line 290, in init_module_models
- obj._auto_end(cr, {'module': module_name})
- File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 237, in wrapper
- return old_api(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/models.py", line 2749, in _auto_end
- cr.execute('ALTER TABLE "%s" ADD FOREIGN KEY ("%s") REFERENCES "%s" ON DELETE %s' % (t, k, r, d))
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 158, in wrapper
- return f(self, *args, **kwargs)
- File "/var/tmp/openupgrade/8.0/server/openerp/sql_db.py", line 234, in execute
- res = self._obj.execute(query, params)
- ProgrammingError: column "restrict_partner_id" referenced in foreign key constraint does not exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement