gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: change to the Notes tab


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: change to the Notes tab
Date: Tue, 28 Jul 2009 11:57:27 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jul 27, 2009 at 02:05:11PM -0400, Dr.Leonard Horatio McCoy wrote:

> user comment  : change to the Notes tab
>
> client version: 0.5.rc4

...

> 2009-07-27 13:33:43  DEBUG     gm.db 
> (/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection()
>  #1288): sql_inheritance [on]
> 2009-07-27 14:03:25  DEBUG     gm.gui 
> (/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #49): unhandled exception caught:
> Traceback (most recent call last):
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmEMRBrowser.py", 
> line 500, in _on_tree_item_selected
>     self.__update_text_for_selected_node()
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmEMRBrowser.py", 
> line 177, in __update_text_for_selected_node
>     txt = node_data.format(left_margin=1, patient = self.__pat)
>   File 
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/business/gmEMRStructItems.py", 
> line 203, in format
>     epis = emr.get_episodes(issues = 
> [self._payload[self._idx['pk_health_issue']]])
>   File 
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/business/gmClinicalRecord.py", 
> line 800, in get_episodes
>     rows, idx = gmPG2.run_ro_queries(queries=[{'cmd': cmd, 'args': 
> [self.pk_patient]}], get_col_idx=True)
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py", line 
> 985, in run_ro_queries
>     curs_close()
> InterfaceError: cursor already closed

...

> 2009-07-27 14:04:15  DEBUG     gm.gui 
> (/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #49): unhandled exception caught:
> Traceback (most recent call last):
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", 
> line 231, in _on_notebook_page_changed
>     new_page.receive_focus()
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py", 
> line 187, in receive_focus
>     self._widget.repopulate_ui()
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmRegetMixin.py", 
> line 144, in repopulate_ui
>     self.__repopulate_ui()
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmRegetMixin.py", 
> line 82, in __repopulate_ui
>     self._data_stale = not self._populate_with_data()
>   File 
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", 
> line 959, in _populate_with_data
>     self.__refresh_problem_list()
>   File 
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", 
> line 601, in __refresh_problem_list
>     problems = emr.get_problems()
>   File 
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/business/gmClinicalRecord.py", 
> line 918, in get_problems
>     rows, idx = gmPG2.run_ro_queries(queries = [{'cmd': cmd, 'args': 
> [self.pk_patient]}], get_col_idx=True)
>   File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py", line 
> 960, in run_ro_queries
>     curs = conn.cursor()
>   File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 74, in 
> cursor
>     return _connection.cursor(self, cursor_factory=DictCursor)
> InterfaceError: connection already closed

Same here, the timeout killed your connection. See the
previous reply on address@hidden

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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