bugGNU Health - Bugs: bug #39763, Traceback when computing the...

 
 

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

bug #39763: Traceback when computing the patient age at death

Submitter:  Luis Falcon <meanmicio>
Submitted:  Sun 11 Aug 2013 06:41:31 PM UTC
   
 
Category:  Programming / Tracebacks Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  2.0.0
Module:  health Component:  None

Sun 11 Aug 2013 06:46:09 PM UTC, comment #1: 

Fixed at changeset 932:c67cf3213007

Luis Falcon <meanmicio>
Group administrator
Sun 11 Aug 2013 06:41:31 PM UTC, original submission:  

The error happens when the patient has died, and GNU Health computes the age of the patient at the moment of death

File "/trytond/modules/health/health.py", line 946, in compute_age_from_dates
    dod = datetime.strptime(patient_dod, '%Y-%m-%d %H:%M:%S')
TypeError: must be string, not datetime.datetime

must be string, not datetime.datetime

Luis Falcon <meanmicio>
Group administrator

 

(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 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-11 meanmicio CategoryNone Programming / Tracebacks
        StatusNone Fixed
        Open/ClosedOpen Closed
        ReleaseNone 2.0.0

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code