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: FunctionalitySeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno M. Villasanti <bvillasanti>
Open/Closed: ClosedRelease: 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
  • -unavailable- added by bvillasanti (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Aug 2014 10:29:02 PM UTCbvillasantiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Thu 07 Aug 2014 10:25:11 PM UTCbvillasantiReleaseNone=>2.6.0
    Thu 07 Aug 2014 10:21:16 PM UTCbvillasantiAttached File-=>Added screenshot-20140807-184706.jpg, #31860

    Back to the top


    Powered by Savane 3.1-cleanup1