health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] GNU Health pre-release 34rc2 is available for testing


From: Axel Braun
Subject: Re: [Health-dev] GNU Health pre-release 34rc2 is available for testing
Date: Sun, 11 Nov 2018 18:02:39 +0100

Hey Luis,

Am Mittwoch, 7. November 2018, 14:59:03 CET schrieb Luis Falcon:
> 
> GNU Health HMIS node 3.4rc2 is available for testing !

Package building is working, though it needs some fine tuning.
I tested the update process with the following steps:

Downloaded and installed demo-db:

createdb --encoding=UTF-8 --owner=tryton gh34 
psql gh34 < Downloads/gnuhealth-32-demo.sql 

Applied update:
address@hidden:/home/test> psql gh34 < /usr/share/doc/packages/gnuhealth/
upgrade/3.4/upgrade_34.sql 
UPDATE 65
DELETE 31
DELETE 48

So far it looks good. Then ran an update:
address@hidden:/home/test> trytond-admin -c /etc/tryton/trytond.conf --all -
d gh34
7117 139700967466304 [2018-11-11 16:54:58,369] ERROR trytond.convert Could not 
delete id: 12 of model res.user
There should be some relation that points to this resource
You should manually fix this and restart --update=module
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/trytond/convert.py", line 806, in 
post_import
    Model.delete([Model(db_id)])
  File "/usr/lib/python3.6/site-packages/trytond/res/user.py", line 336, in 
delete
    cls.raise_user_error('delete_forbidden')
  File "/usr/lib/python3.6/site-packages/trytond/error.py", line 74, in 
raise_user_error
    raise UserError(error)
trytond.exceptions.UserError: ('UserError', ('Users can not be deleted for 
logging purpose.\nInstead you must inactivate them.', ''))
7117 139700967466304 [2018-11-11 16:54:58,861] ERROR trytond.convert Could not 
delete id: 11 of model res.user
There should be some relation that points to this resource
You should manually fix this and restart --update=module
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/trytond/convert.py", line 806, in 
post_import
    Model.delete([Model(db_id)])
  File "/usr/lib/python3.6/site-packages/trytond/res/user.py", line 336, in 
delete
    cls.raise_user_error('delete_forbidden')
  File "/usr/lib/python3.6/site-packages/trytond/error.py", line 74, in 
raise_user_error
    raise UserError(error)
trytond.exceptions.UserError: ('UserError', ('Users can not be deleted for 
logging purpose.\nInstead you must inactivate them.', ''))

Any idea?

Cheers
Axel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]