[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] Upgrading to GNU Health 1.4.3
From: |
Cédric Krier |
Subject: |
Re: [Health] Upgrading to GNU Health 1.4.3 |
Date: |
Mon, 30 Jan 2012 23:56:34 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 30/01/12 17:32 -0300, Luis Falcon wrote:
> On Mon, Jan 30, 2012 at 5:19 PM, Cédric Krier <address@hidden> wrote:
> > On 30/01/12 17:13 -0300, Luis Falcon wrote:
> >> Hi Chris !
> >>
> >>
> >> On Mon, Jan 30, 2012 at 3:36 PM, Christoph H. Larsen
> >> <address@hidden> wrote:
> >> > [Mon Jan 30 23:02:43 2012] ERROR:sql:Wrong SQL: INSERT INTO "res_group"
> >> > ("name", create_uid, create_date) VALUES ( 'Health Administration', 0,
> >> > '2012-01-30T23:02:43.116288'::timestamp) RETURNING id
> >> > /usr/local/lib/python2.7/site-packages/trytond/model/modelsql.py:360:
> >> > trytond.exceptions.UserError: ('UserError', ('The name of the group must
> >> > be unique!', ''))
> >> > --------------------------------------------------------------------------------
> >> >
> >> It looks like is related to a conflict with the current admin group
> >> and the new access control rules we have imposed in each module
> >> security directories.
> >>
> >> Try to comment out the "security/access_rights.xml" on each
> >> __tryton__.py file and run the upgrade again.
> >
> > I think a better solution will be to rename the manually created group
> > "Health Administration".
>
> Yes, that is a good idea. Chris try to rename the group name from the
> DB (not from the file). What is strange is that it seems like it found
> "Health Administration" group.
I suspect this.
> Either is a big coincidence and the
> group was created manually with the same name or the upgrade process
> was cancel in the middle, creating the name of the group and then
> blowing up when trying to recreate it...
Normally it should not happen because the installation of one module is
done in one transaction.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: address@hidden
Website: http://www.b2ck.com/
pgpNPjwvvNd62.pgp
Description: PGP signature