On 29/10/13 09:53 +0100, Axel Braun wrote:
> Morning all,
> 
> I ran an upgrade of our Tryton server from 2.8 to 3.0, and got a couple of 
> warnings:
> 
> 
> [Tue Oct 29 09:47:27 2013] INFO:modules:ir:register ir.model.graph
> [Tue Oct 29 09:47:27 2013] INFO:modules:ir:register ir.configuration
> [Tue Oct 29 09:47:28 2013] INFO:modules:ir:register ir.translation
> [Tue Oct 29 09:47:32 2013] WARNING:init:Unable to set column res_id of table 
> ir_translation not null !
> Try to re-run: trytond.py --update=module
> If it doesn't work, update records and execute manually:
> ALTER TABLE "ir_translation" ALTER COLUMN "res_id" SET NOT NULL
> 
> can this be due to a translation we started?

No, but this one should be fixed because it is due to an attempt to "set
not null" before the migration query was run.

> [Tue Oct 29 09:47:34 2013] INFO:modules:ir:register ir.module.module.config
> /usr/lib/python2.7/site-packages/trytond/model/modelstorage.py:1309: 
> DeprecationWarning: With-statements now directly support multiple context 
> managers
>   Transaction().set_context(self._context)):

Nothing can be done for this one as far as we support python 2.6.

> [Tue Oct 29 09:48:18 2013] INFO:modules:sale_opportunity:register 
> sale.opportunity
> [Tue Oct 29 09:48:19 2013] WARNING:init:Unable to set column reference of 
> table sale_opportunity not null !
> Try to re-run: trytond.py --update=module
> If it doesn't work, update records and execute manually:
> ALTER TABLE "sale_opportunity" ALTER COLUMN "reference" SET NOT NULL

This one should be similar to the first one.

> [Tue Oct 29 09:48:21 2013] INFO:convert:Deleting [email protected]
> [Tue Oct 29 09:48:21 2013] WARNING:convert:Could not delete id 1 of model 
> res.request.link because model no longer exists.
> 
> Does not sound too serious, or what do the experts say?

It is not serious because request have been removed so the system is
just warning that he did not remove it from database.


To check if all is right, you can re-run the update, normally most of
the warnings should be gone.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpLBDrFciMOI.pgp
Description: PGP signature

Reply via email to