Bug 1026365 - Gnuhealth: pediatrics growth charts do not work
Summary: Gnuhealth: pediatrics growth charts do not work
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Axel Braun
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 23:16 UTC by Yasha Gindikin
Modified: 2017-04-11 13:09 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha Gindikin 2017-02-21 23:16:12 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
Comment 1 Axel Braun 2017-02-26 19:51:49 UTC
Have you reported this upstream?
Comment 2 Yasha Gindikin 2017-02-26 20:02:59 UTC
I posted a question on the gnuhealth irc, but in vain.
Comment 3 Axel Braun 2017-02-26 20:24:21 UTC
(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
Comment 4 Yasha Gindikin 2017-02-26 20:26:34 UTC
Here is my report on the tryton bugzilla:
https://bugs.tryton.org/issue6304
Ain't sure if this is a pure tryton problem, though.
Comment 5 Yasha Gindikin 2017-02-26 20:29:54 UTC
On my setup, this is a 100% reproducible bug.
Patients Tab-> Choose patient -> right click -> report -> pediatrics growth charts WHO
Comment 6 Axel Braun 2017-03-02 07:00:42 UTC
root cause found. Will be fixed upstream with Release 3.0.7
Comment 7 Axel Braun 2017-03-07 09:26:45 UTC
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
Comment 8 Yasha Gindikin 2017-03-07 13:52:26 UTC
Thank you, but apparently the build fails on Tumbleweed.
Comment 9 Axel Braun 2017-03-07 15:36:35 UTC
(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
Comment 10 Yasha Gindikin 2017-03-08 09:20:36 UTC
Dear Axel,
I can confirm that the problem is resolved on Leap 42.2.
Thank you very much for your work!
Comment 11 Axel Braun 2017-03-16 19:45:15 UTC
Request 479382 submitted with official 3.0.7 release
Comment 12 Andreas Stieger 2017-03-17 20:17:22 UTC
processed for maintenance openSUSE:Maintenance:6526
Comment 13 Swamp Workflow Management 2017-04-04 16:15:29 UTC
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
Comment 14 Swamp Workflow Management 2017-04-11 13:09:25 UTC
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