health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #63805] Python trace when creating image request


From: Axel Braun
Subject: [Health-dev] [bug #63805] Python trace when creating image request
Date: Tue, 14 Feb 2023 06:22:16 -0500 (EST)

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

                 Summary: Python trace when creating image request
                 Project: GNU Health
               Submitter: coogor
               Submitted: Tue 14 Feb 2023 11:22: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_imaging
               Component: Hospital Management


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 14 Feb 2023 11:22:14 AM UTC By: Axel Braun <coogor>
Just tested something on the 4.2 demo database and ran into a python dup when
saving an imaging request:

 docb@X1E:/tmp> gnuhealth-client 
ERROR:gnuhealth.common.common:Traceback (most recent call last):
  File "/trytond/wsgipy", line 117, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/trytond/protocols/dispatcherpy", line 46, in rpc
    return methodsget(requestrpc_method, _dispatch)(
  File "/trytond/wsgipy", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrapperspy", line 159, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcherpy", line 180, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/trytond/modules/health_imaging/health_imagingpy", line 136, in
create
    values['request'] = clsgenerate_code()
TypeError: generate_code() missing 1 required positional argument: 'cls'

Fault: generate_code() missing 1 required positional argument: 'cls'

Context is visible from screenshot







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Tue 14 Feb 2023 11:22:14 AM UTC  Name: Screenshot_20230214_121913.png 
Size: 164KiB   By: coogor
screenshot of activity
<http://savannah.gnu.org/bugs/download.php?file_id=54355>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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