Gerald Wiese <[email protected]> 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/ --
