health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] [bug #65357] In Lab Tests Results clicking New button t


From: Gerald Wiese
Subject: Re: [Health-dev] [bug #65357] In Lab Tests Results clicking New button throws Application Error
Date: Sat, 24 Feb 2024 16:52:09 +0100
User-agent: Mozilla Thunderbird

Dear Feng Shu,

thanks for your quick response!

Indeed I did not find those lines and noticed that my PyPi package gnuhealth-all-modules lists barcode as dependency while gnuhealth-setup lists python-barcode which has those lines.

I will update gnuhealth-all-modules to fix it but I also think that we should properly fill dependencies for the PyPI packages of the single modules as they are almost always empty currently.

Gonna close this and open a new issue or task for that.

Best

Gerald

On 24.02.24 13:18, Feng Shu wrote:
Gerald Wiese <INVALID.NOREPLY@gnu.org> writes:

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

                  Summary: In Lab Tests Results clicking New button throws
Application Error
                    Group: GNU Health
                Submitter: gerald_wiese
                Submitted: Sat 24 Feb 2024 10:12:00 AM UTC
                 Category: GUI / Frontend
                 Severity: 3 - Normal
               Item Group: None
                   Status: None
                  Privacy: Public
              Assigned to: None
              Open/Closed: Open
                  Release: None
          Discussion Lock: Any
                   Module: health_lab
                Component: Hospital Management


     _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 24 Feb 2024 10:12:00 AM UTC By: Gerald Wiese <gerald_wiese>
In Lab Tests Results clicking the "Create a new record" button throws an
Application Error saying:

Fault: module 'barcode' has no attribute 'get_barcode_class'

Open ~/.local/lib/python3.11/site-packages/barcode/__init__.py

Can you find lines below?

    get_barcode = get
    get_barcode_class = get_class


if not, suggest uninstall barcode and reinstall barcode again.

Nevertheless I get into the view of creating a new record.

I know that the docs say to use the "Request Lab Test" functionality instead
of the New button and it makes sense to start with a request instead of the
result.
But nevertheless we need better error handling and meaningful / helpful
messages for the end users in those cases.







     _______________________________________________________

Reply to this item at:

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

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



reply via email to

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