[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: user did not comment on bug report
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: user did not comment on bug report |
Date: |
Tue, 28 Jul 2009 11:44:11 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Stan,
thanks for this report.
> 2009-07-27 13:09:18 ERROR gm.db
> (/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries()
> #987): query failed: [select * from blobs.v_doc_med where pk_doc=1]
> 2009-07-27 13:09:18 ERROR gm.db
> (/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries()
> #988): PG status message: SELECT
> 2009-07-27 13:09:18 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/gmRegetMixin.py",
> line 72, in __on_paint_event
> 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/gmMedDocWidgets.py",
> line 1153, in _populate_with_data
> if not self.__populate_tree():
> File
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/wxpython/gmMedDocWidgets.py",
> line 1272, in __populate_tree
> docs = docs_folder.get_documents()
> File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/business/gmMedDoc.py",
> line 132, in get_documents
> docs.append(cMedDoc(aPK_obj=doc_id))
> File
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmBusinessDBObject.py",
> line 198, in __init__
> self.__init_from_pk(aPK_obj=aPK_obj)
> File
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmBusinessDBObject.py",
> line 217, in __init_from_pk
> result = self.refetch_payload()
> File
> "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmBusinessDBObject.py",
> line 363, in refetch_payload
> get_col_idx = True
> File "/home/stan/gnumed_src/gnumed/gnumed/Gnumed/pycommon/gmPG2.py", line
> 978, in run_ro_queries
> curs.execute(query['cmd'], args)
> File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 88, in
> execute
> return _cursor.execute(self, query, vars, async)
> KeyboardInterrupt
You probably tried to cancel a long running query by Ctrl-C.
While the above behaviour is quite expected -- you told
GNUmed to stop so it stopped and told you so -- I have
somewhat modified the handling and made GNUmed quit
immediately after catching this event.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346