health-dev
[Top][All Lists]
Advanced

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

[Health-dev] Gnuhealth Client Errors when installing Health_Profile modu


From: Cornelius Lee
Subject: [Health-dev] Gnuhealth Client Errors when installing Health_Profile module [Was: Health-dev Digest, Vol 97, Issue 20]
Date: Fri, 20 Sep 2019 03:43:35 +0000

Good morning Luis,

I have encountered an error while installing the health_profile module which is 
documented in the following link of your latest 3.5 snapshot:

https://en.wikibooks.org/wiki/GNU_Health/Installation#Installing_the_Default_Modules

Application Error
Fault: type object 'gnuhealth.pathology.category' has no attribute 
'check_recursion'
Traceback (most recent call last):
  File "/trytond/wsgi.py", line 73, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 46, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 44, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 122, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/wizard.py", line 287, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 318, in _execute
    result = self._execute(transition())
  File "/trytond/ir/module.py", line 582, in transition_upgrade
    pool.init(update=update, lang=lang)
  File "/trytond/pool.py", line 160, in init
    lang=lang, activatedeps=activatedeps)
  File "/trytond/modules/__init__.py", line 423, in load_modules
    _load_modules(update)
  File "/trytond/modules/__init__.py", line 388, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/trytond/modules/__init__.py", line 230, in load_module_graph
    tryton_parser.parse_xmlstream(fp)
  File "/trytond/convert.py", line 451, in parse_xmlstream
    self.sax_parser.parse(source)
  File "/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "../Modules/pyexpat.c", line 473, in EndElement
  File "/xml/sax/expatreader.py", line 336, in end_element
    self._cont_handler.endElement(name)
  File "/trytond/convert.py", line 510, in endElement
    self.taghandler = self.taghandler.endElement(name)
  File "/trytond/convert.py", line 295, in endElement
    self.model.__name__, self.values, self.xml_id)
  File "/trytond/convert.py", line 682, in import_record
    self.create_records(model, [values], [fs_id])
  File "/trytond/convert.py", line 688, in create_records
    records = Model.create(vlist)
  File "/trytond/model/modelsql.py", line 147, in wrapper
    return func(cls, *args, **kwargs)
  File "/trytond/model/modelsql.py", line 655, in create
    cls._validate(sub_records)
  File "/trytond/model/modelstorage.py", line 36, in wrapper
    return func(*args, **kwargs)
  File "/trytond/model/modelstorage.py", line 1212, in _validate
    cls.validate(records)
  File "/trytond/modules/health/health.py", line 2243, in validate
    cls.check_recursion(categories, rec_name='name')
AttributeError: type object 'gnuhealth.pathology.category' has no attribute 
'check_recursion'

Fault: type object 'gnuhealth.pathology.category' has no attribute 
'check_recursion'

Any idea why this is happening?


Kind Regards,
Cornelius


reply via email to

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