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

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

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

Fixed in changeset 1501:635948823670

--
http://hg.savannah.gnu.org/hgweb/health/rev/635948823670

Bruno M. Villasanti <bvillasanti>In charge of this item.
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>In charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.3