health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #42938] Error on Family APGAR selections


From: Bruno M. Villasanti
Subject: [Health-dev] [bug #42938] Error on Family APGAR selections
Date: Thu, 07 Aug 2014 22:21:18 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?42938>

                 Summary: Error on Family APGAR selections
                 Project: GNU Health
            Submitted by: bvillasanti
            Submitted on: jue 07 ago 2014 19:21:16 ART
                Category: Functionality
                Severity: 4 - Important
              Item Group: None
                  Status: In Progress
                 Privacy: Public
             Assigned to: bvillasanti
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: health_socioeconomics

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: jue 07 ago 2014 19:21:16 ART  Name: screenshot-20140807-184706.jpg 
Size: 227kB   By: bvillasanti

<http://savannah.gnu.org/bugs/download.php?file_id=31860>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42938>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]