Bugzilla – Bug 1026365
Gnuhealth: pediatrics growth charts do not work
Last modified: 2017-04-11 13:09:25 UTC
Calling the WHO pediatrics growth charts gives the traceback: Traceback (most recent call last): File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch response['result'] = dispatch_method(method, params) File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch res = dispatch(*args) File "/trytond/protocols/dispatcher.py", line 162, in dispatch result = rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/wizard/wizard.py", line 275, in execute return wizard._execute(state_name) File "/trytond/wizard/wizard.py", line 285, in _execute view = state.get_view(self, state_name) File "/trytond/wizard/wizard.py", line 83, in get_view return Model_.fields_view_get(view_id=view_id, view_type='form') File "/trytond/model/modelview.py", line 340, in fields_view_get tree = etree.fromstring(result['arch'], parser) File "src/lxml/lxml.etree.pyx", line 3213, in lxml.etree.fromstring (src/lxml/lxml.etree.c:77697) File "src/lxml/parser.pxi", line 1818, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:116475) ValueError: can only parse strings
Have you reported this upstream?
I posted a question on the gnuhealth irc, but in vain.
(In reply to Yasha Gindikin from comment #2) > I posted a question on the gnuhealth irc, but in vain. health@gnu.org is usually the better option. Please describe how you proceeded - I could not reproduce so far
Here is my report on the tryton bugzilla: https://bugs.tryton.org/issue6304 Ain't sure if this is a pure tryton problem, though.
On my setup, this is a 100% reproducible bug. Patients Tab-> Choose patient -> right click -> report -> pediatrics growth charts WHO
root cause found. Will be fixed upstream with Release 3.0.7
I have applied a temporary fix in Application:ERP:Tryton:3.8/gnuhealth for this bug until the official 3.0.7 update is released. 3.0.7 will contain some more fixes
Thank you, but apparently the build fails on Tumbleweed.
(In reply to Yasha Gindikin from comment #8) > Thank you, but apparently the build fails on Tumbleweed. This is due to some changes in the backend (python-singlespec). Please see factory mailing list on this. I would expect this to be working the next days
Dear Axel, I can confirm that the problem is resolved on Leap 42.2. Thank you very much for your work!
Request 479382 submitted with official 3.0.7 release
processed for maintenance openSUSE:Maintenance:6526
openSUSE-RU-2017:0929-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 1026365 CVE References: Sources used: openSUSE Leap 42.2 (src): gnuhealth-3.0.8-11.6.1
openSUSE-RU-2017:0974-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 1026365 CVE References: Sources used: openSUSE Leap 42.2 (src): trytond-3.8.11-9.6.2