[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #61867] health_federation: error when save page of lif
From: |
Feng Shu |
Subject: |
[Health-dev] [bug #61867] health_federation: error when save page of life. |
Date: |
Thu, 20 Jan 2022 01:18:16 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61867>
Summary: health_federation: error when save page of life.
Project: GNU Health
Submitted by: tumashu
Submitted on: Thu 20 Jan 2022 06:18:14 AM UTC
Category: Programming / Tracebacks
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health_federation
_______________________________________________________
Details:
ERROR trytond.protocols.dispatcher <class
'trytond.pool.gnuhealth.pol'>.create(*([{'age': '36y 9m 3d',
'federation_account': 'ZNU764BTS', 'medical_context': 'prescription', 'node':
'xxx', 'page': 'ac7b351f-8f0c-41e5-a37a-c3a0fa839f99', 'page_date':
datetime.datetime(2022, 1, 20, 6, 13, 23), 'page_type': 'medical', 'person':
3, 'relevance': 'important', 'social_context': None, 'summary': '测试',
'author': '', 'author_acct': '', 'gene': '', 'health_condition': 8,
'health_condition_code': 'A01.2', 'health_condition_text': '副伤寒乙',
'info': '11111', 'institution': 1, 'natural_variant': '', 'phenotype': '',
'procedure': 16, 'procedure_code': '1-207', 'procedure_text': '脑电图'}],
{'client': 'c39e9094-4a3c-4beb-bef1-5ccf8f91b782', 'company_filter': 'one',
'company': 1, 'company.rec_name': 'xxx', 'language': 'zh_CN',
'language_direction': 'ltr', 'groups': [7, 8, 1, 22, 4, 2, 5, 15, 21, 24, 25,
30, 26, 28, 31, 29, 20, 33, 3, 6, 12, 13, 14, 9, 10, 11], 'locale': {'date':
'%Y-%m-%d', 'grouping': [3, 0], 'decimal_point': '.', 'thousands_sep': ','}}),
**{}) from admin@127.0.0.1/gnuhealth1/
Traceback (most recent call last):
File "/trytond/wsgi.py", line 117, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 84, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 159, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 180, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/modules/health_federation/health_federation.py", line 644, in
create
FederationQueue.enqueue(
File "/trytond/modules/health_federation/health_federation.py", line 404, in
enqueue
cls.create(rec)
File "/trytond/model/modelsql.py", line 159, in wrapper
return func(cls, *args, **kwargs)
File "/trytond/model/modelsql.py", line 597, in create
defaults = cls.default_get(default, with_rec_name=False)
File "/trytond/model/model.py", line 149, in default_get
value[field_name] = cls._defaults[field_name]()
File "/trytond/modules/health_federation/health_federation.py", line 217, in
default_node
FederationQueue.raise_user_error(
AttributeError: type object 'gnuhealth.federation.queue' has no attribute
'raise_user_error'
Fault: type object 'gnuhealth.federation.queue' has no attribute
'raise_user_error'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61867>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Health-dev] [bug #61867] health_federation: error when save page of life.,
Feng Shu <=