health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #65432] ./trytond-admin -d ghdemo44 --all run fail


From: Feng Shu
Subject: [Health-dev] [bug #65432] ./trytond-admin -d ghdemo44 --all run fail
Date: Fri, 8 Mar 2024 01:01:41 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65432>

                 Summary: ./trytond-admin -d ghdemo44 --all run fail
                   Group: GNU Health
               Submitter: tumashu
               Submitted: Fri 08 Mar 2024 06:01:40 AM UTC
                Category: Demo environment
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Module: health*
               Component: Hospital Management


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 08 Mar 2024 06:01:40 AM UTC By: Feng Shu <tumashu>
I try to update ghdemo44 with command: ./trytond-admin -d ghdemo44 --all run
fail

show error:

feng@Tumashu ~/gnuhealth/tryton/server/trytond-6.0.43/bin $ ./trytond-admin -d
ghdemo44 --all
17649 140649984704576 [2024-03-08 05:56:10,799] ERROR trytond.convert Could
not delete id 12 from model res.user.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/res/user.py", line
442, in delete
    raise DeleteError(gettext('res.msg_user_delete_forbidden'))
trytond.res.user.DeleteError: For logging purposes users cannot be deleted,
instead they should be deactivated. - 
17649 140649984704576 [2024-03-08 05:56:10,873] ERROR trytond.convert Could
not delete id 11 from model res.user.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/res/user.py", line
442, in delete
    raise DeleteError(gettext('res.msg_user_delete_forbidden'))
trytond.res.user.DeleteError: For logging purposes users cannot be deleted,
instead they should be deactivated. - 
17649 140649984704576 [2024-03-08 05:56:10,910] ERROR trytond.convert Could
not delete id 13 from model res.user.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/res/user.py", line
442, in delete
    raise DeleteError(gettext('res.msg_user_delete_forbidden'))
trytond.res.user.DeleteError: For logging purposes users cannot be deleted,
instead they should be deactivated. - 
17649 140649984704576 [2024-03-08 05:56:11,201] ERROR trytond.convert Could
not delete id 19 from model ir.sequence.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/ir/sequence.py",
line 222, in delete
    return super(Sequence, cls).delete(sequences)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 159, in wrapper
    return func(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 1176, in delete
    raise ForeignKeyError(
trytond.model.modelsql.ForeignKeyError: The records could not be deleted
because they are used by field "Dengue DU Survey Sequence" of "Dengue DU
Survey Sequences setup". - 
17649 140649984704576 [2024-03-08 05:56:11,222] ERROR trytond.convert Could
not delete id 21 from model ir.sequence.type.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 159, in wrapper
    return func(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 1176, in delete
    raise ForeignKeyError(
trytond.model.modelsql.ForeignKeyError: The records could not be deleted
because they are used by field "Sequence Type" of "Sequence". - 
17649 140649984704576 [2024-03-08 05:56:11,234] ERROR trytond.convert Could
not delete id 20 from model ir.sequence.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/ir/sequence.py",
line 222, in delete
    return super(Sequence, cls).delete(sequences)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 159, in wrapper
    return func(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 1176, in delete
    raise ForeignKeyError(
trytond.model.modelsql.ForeignKeyError: The records could not be deleted
because they are used by field "Chagas DU Survey Sequence" of "Chagas DU
Survey Sequences setup". - 
17649 140649984704576 [2024-03-08 05:56:11,242] ERROR trytond.convert Could
not delete id 22 from model ir.sequence.type.
There may be a relation that points to this resource that must be manually
fixed before restarting the update.
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/convert.py",
line 805, in post_import
    Model.delete([Model(db_id)])
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 159, in wrapper
    return func(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.43/trytond/model/modelsql.py",
line 1176, in delete
    raise ForeignKeyError(
trytond.model.modelsql.ForeignKeyError: The records could not be deleted
because they are used by field "Sequence Type" of "Sequence". - 








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65432>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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