bugGNU Health - Bugs: bug #64712, Bug afer installing patcheset 4.2.2

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64712: Bug afer installing patcheset 4.2.2

Submitter:  Pierre Michel Augustin <pmaugustin>
Submitted:  Sat 23 Sep 2023 01:53:37 PM UTC
   
 
Category:  Programming / Tracebacks Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  4.2.0
Module:  health_crypto_lab Component:  Hospital Management

Sun 24 Sep 2023 03:37:07 PM UTC, comment #2: 
Luis Falcon <meanmicio>
Group administrator
Sun 24 Sep 2023 03:32:55 PM UTC, comment #1: 

Thank you for reporting, Pierre!

Indeed, when using the health_crypto_lab package and the analyte result has no unit (eg, non quantitative value) it throws the error.

It's OK in the dev version, but the latest changeset was passed to the stable branch.

Will fix ASAP and generate a new patchset.

Bests
Luis

Luis Falcon <meanmicio>
Group administrator
Sat 23 Sep 2023 01:53:37 PM UTC, original submission:  

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'


Pierre Michel Augustin <pmaugustin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by pmaugustin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-24 meanmicio Severity3 - Normal 5 - Blocker
        StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2023-09-24 meanmicio StatusNone Confirmed
        Assigned toNone meanmicio
        ReleaseNone 4.2.0
        ComponentNone Hospital Management

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code