health-dev
[Top][All Lists]
Advanced

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

[Health-dev] Dump at Evaluations Report


From: Dr. Axel Braun
Subject: [Health-dev] Dump at Evaluations Report
Date: Wed, 04 May 2022 12:37:26 +0200

Hi Luis,

as discussed on the phone, we made a dump on the public demo server.
Reporting -> Evaluations Report
Select 'Evaluations by Sector'
Run Evaluation
Click on the displayed sector: *Bumm....*

ERROR:gnuhealth.common.common:  File "/usr/lib/python3.6/site-packages/
gnuhealth/gui/window/view_form/view/list.py", line 975, in __sig_switch
    if not self.screen.row_activate() and self.children_field:
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/
screen/screen.py", line 504, in default_row_activate
    self.switch_view(view_type='form')
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/
screen/screen.py", line 554, in switch_view
    self.display()
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/
screen/screen.py", line 944, in display
    view.display()
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph.py", line 92, in display
    self.widgets['root'].display(self.screen.group)
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph_gtk/graph.py", line 337, in display
    self.setColorScheme()
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph_gtk/graph.py", line 465, in setColorScheme
    r, g, b = hex2rgb(COLOR_SCHEMES.get(color, color))
  File "/usr/lib/python3.6/site-packages/gnuhealth/common/common.py", line 
1033, in hex2rgb
    r = int(hexstring[1:digits + 1], 16)

TypeError: 'NoneType' object is not subscriptable
ERROR:gnuhealth.common.common:  File "/usr/lib/python3.6/site-packages/
gnuhealth/gui/window/view_form/view/graph_gtk/graph.py", line 113, in do_draw
    self.updateArea(cr, width, height)
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph_gtk/graph.py", line 412, in updateArea
    for value, label in self.YLabels():
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph_gtk/bar.py", line 177, in YLabels
    ylabels = super(VerticalBar, self).YLabels()
  File "/usr/lib/python3.6/site-packages/gnuhealth/gui/window/view_form/view/
graph_gtk/graph.py", line 175, in YLabels
    if self.yrange == 0.0:

AttributeError: 'VerticalBar' object has no attribute 'yrange'






reply via email to

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