[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: see log
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: see log |
Date: |
Fri, 10 Apr 2015 11:14:46 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Marc,
> client version: 1.5.4
...
> 2015-04-09 08:06:27 DEBUG gm.gui
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #219): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1200,
> in _on_problem_selected
> problem = self._LCTRL_active_problems.get_selected_item_data(only_one =
> True)
> File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1138,
> in __refresh_recent_notes
> txt = self.__get_info_for_issue_problem(problem = problem, fancy = not
> self._RBTN_notes_only.GetValue())
> File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1061,
> in __get_info_for_issue_problem
> issues = [ problem['pk_health_issue'] ],
> File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1950, in
> format_soap
> soap_cats = [soap_cat]
> File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 458, in
> get_clin_narrative
> if len(episodes) == 0:
> TypeError: object of type 'NoneType' has no len()
You found a long-standing bug :-)
Curiously, it never triggered before to my knowledge.
Fixed for 1.5.next.
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346