URL: <https://savannah.gnu.org/bugs/?64712>
Summary: Bug afer installing patcheset 4.2.2 Group: GNU Health Submitter: pmaugustin Submitted: Sat 23 Sep 2023 01:53:37 PM 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_crypto_lab Component: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 23 Sep 2023 01:53:37 PM UTC By: Pierre Michel Augustin <pmaugustin> When we go to enter the result of the medical laboratory test, we get the following error: Traceback (most recent call last): File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/wsgipy", line 117, in dispatch_request return endpoint(request, **requestview_args) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/protocols/dispatcherpy", line 46, in rpc return methodsget(requestrpc_method, _dispatch)( File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/wsgipy", line 84, in auth_required return wrapped(*args, **kwargs) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/protocols/wrapperspy", line 178, in wrapper return func(request, pool, *args, **kwargs) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/protocols/dispatcherpy", line 180, in _dispatch result = rpcresult(meth(*c_args, **c_kwargs)) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/model/modelsqlpy", line 870, in read getter_results = fieldget( File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/model/fields/functionpy", line 105, in get return dict((name, call(name)) for name in names) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/model/fields/functionpy", line 105, in <genexpr> return dict((name, call(name)) for name in names) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/model/fields/functionpy", line 100, in call return dict((rid, method(r, name)) for r in records) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/model/fields/functionpy", line 100, in <genexpr> return dict((rid, method(r, name)) for r in records) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/modules/health_crypto_lab/health_crypto_labpy", line 225, in check_digest serial_doc = selfget_serial(self) File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6035/trytond/modules/health_crypto_lab/health_crypto_labpy", line 192, in get_serial lineunitsname or '', AttributeError: 'NoneType' object has no attribute 'name' Fault: 'NoneType' object has no attribute 'name' _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64712> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/