bugGNU Health - Bugs: bug #42938, Error on Family APGAR selections


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

bug #42938: Error on Family APGAR selections

Submitter:  Bruno M. Villasanti <bvillasanti>
Submitted:  Thu 07 Aug 2014 10:21:16 PM UTC
Category:  Functionality Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bvillasanti
Open/Closed:  Closed Release:  2.6.0
Module:  health_socioeconomics Component:  None

Thu 07 Aug 2014 10:29:02 PM UTC, comment #1: 

Fixed in changeset 1501:635948823670


Bruno M. Villasanti <bvillasanti>
Thu 07 Aug 2014 10:21:16 PM UTC, original submission:  

Creating a new patient, selecting Family affection in socioeconomics tab, the following error occurs:

ERROR:tryton.common.common:Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 125, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 158, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 163, in dispatch
    result = rpc.result(meth(inst, c_args, *c_kwargs))
  File "/trytond/model/model.py", line 406, in on_change_with
    changes[fieldname] = getattr(self, method_name)()
  File "/trytond/model/fields/field.py", line 86, in wrapper
    return func(self, args, *kwargs)
  File "/trytond/modules/health_socioeconomics/health_socioeconomics.py", line 206, in on_change_with_fam_apgar_score
    fam_apgar_help = int(self.fam_apgar_help)
TypeError: int() argument must be a string or a number, not 'NoneType'

int() argument must be a string or a number, not 'NoneType'

Thanks Luis Miramontes Hercog for pointing it out.

Bruno M. Villasanti <bvillasanti>


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

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bvillasanti (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
    2014-08-07 bvillasanti StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2014-08-07 bvillasanti ReleaseNone 2.6.0
    2014-08-07 bvillasanti Attached File- Added screenshot-20140807-184706.jpg, #31860

    Back to the top

    Powered by Savane 3.9