gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] Some unhandled exceptions, also console output


From: Jim Busser
Subject: [Gnumed-devel] Some unhandled exceptions, also console output
Date: Mon, 28 Jun 2010 22:10:48 -0700

1) unhandled exceptions

I generated two reports (as jim @ ca) to gnumed-bugs. If those could be 
consulted, I assume that they reflect excess inactivity, and I just wondered 
whether such errors (or a subset thereof) -- if identifiable with some 
confidence --could in future be more cleanly "trapped" and presented to the 
user as a dialog that says:

        While you were last working on patient <name>, your database connection 
timed out. This GNUmed session is now expired.

        <ok button>

****************************************

2) Console output.

i) the MimeWriter module notice... is this likely to be Mac specific or 
upstream?... is it anything the end user should try to attend to?

ii) DISPATCHER WARNINGS ... do those arise from some default configuration of 
GNUmed? Is it intentional that those signals are being looked-for by default?

iii) Xlib:  extension "RANDR" missing on display "/tmp/launch-nf7uqn/org.x:0".  
 ... anything to do?



Adjusting PYTHONPATH ...
/Users/djb/gnumed-client.0.7.6/Gnumed/pycommon/gmTools.py:11: 
DeprecationWarning: the MimeWriter module is deprecated; use the email package 
instead
  import urllib2 as wget, decimal, StringIO, MimeWriter, mimetypes, mimetools
DISPATCHER WARNING: connect(): unknown signal [test_result_mod_db]
DISPATCHER WARNING: connect(): unknown signal [substance_intake_mod_db]
Xlib:  extension "RANDR" missing on display "/tmp/launch-nf7uqn/org.x:0".
==> received signal from client: "statustext"
    [msg]: Your client (0.7.6) is up to date.
    [sender]: None
DISPATCHER WARNING: connect(): unknown signal [message_inbox_generic_mod_db]
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmProviderInboxPlugin
    [plugin_name]: Provider &inbox
    [menu_help_string]: Inbox
    [menu_name]: office
    [menu_item_name]: Provider &inbox
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmCurrentSubstancesPlugin
    [plugin_name]: Current &medication
    [menu_help_string]: Medication
    [menu_name]: emr
    [menu_item_name]: Current &medication
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmDataMiningPlugin
    [plugin_name]: &Report Generator
    [menu_help_string]: Reports
    [menu_name]: tools
    [menu_item_name]: &Report Generator
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmEMRBrowserPlugin
    [plugin_name]: Topical &tree
    [menu_help_string]: EMR tree
    [menu_name]: emr
    [menu_item_name]: Topical &tree
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmEMRJournalPlugin
    [plugin_name]: Chronological &journal
    [menu_help_string]: EMR journal
    [menu_name]: emr
    [menu_item_name]: Chronological &journal
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmMeasurementsGridPlugin
    [plugin_name]: &Measurements overview
    [menu_help_string]: Measurements
    [menu_name]: emr
    [menu_item_name]: &Measurements overview
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmNotebookedPatientEditionPlugin
    [plugin_name]: &Demographics
    [menu_help_string]: Demographics
    [menu_name]: patient
    [menu_item_name]: &Demographics
==> received signal from client: "register_pre_exit_callback"
    [callback]: <bound method cProgressNoteInputNotebook._pre_exit_callback of 
<Gnumed.wxpython.gmSOAPWidgets.cProgressNoteInputNotebook; proxy of <Swig 
Object of type 'wxNotebook *' at 0x1060a8350> >>
    [sender]: None
==> received signal from client: "plugin_loaded"
    [class_name]: gmNotebookedProgressNoteInputPlugin
    [sender]: None
    [plugin_name]: Progress notes
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmScanIdxMedDocsPlugin
    [plugin_name]: &Attach documents
    [menu_help_string]: Attach documents
    [menu_name]: emr
    [menu_item_name]: &Attach documents
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmShowMedDocs
    [plugin_name]: &Documents review
    [menu_help_string]: Documents
    [menu_name]: emr
    [menu_item_name]: &Documents review
==> received signal from client: "register_pre_exit_callback"
    [callback]: <bound method cSoapPluginPnl._pre_exit_callback of 
<Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of <Swig Object of 
type 'wxPanel *' at 0x105292920> >>
    [sender]: None
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmSoapPlugin
    [plugin_name]: &Notes
    [menu_help_string]: Notes
    [menu_name]: emr
    [menu_item_name]: &Notes
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmWaitingListPlugin
    [plugin_name]: &Waiting list
    [menu_help_string]: Waiting list
    [menu_name]: office
    [menu_item_name]: &Waiting list
==> received signal from client: "plugin_loaded"
    [sender]: None
    [class_name]: gmXdtViewer
    [plugin_name]: &xDT viewer
    [menu_help_string]: xDT viewer
    [menu_name]: tools
    [menu_item_name]: &xDT viewer
,========================================================
| Unhandled exception caught !
| Type : <class 'psycopg2.InterfaceError'>
| Value: connection already closed
`========================================================
Traceback (most recent call last):
  File "gnumed.py", line 532, in <module>
    shutdown_backend()
  File "gnumed.py", line 461, in shutdown_backend
    gmPG2.shutdown()
  File "/Users/djb/gnumed-client.0.7.6/Gnumed/pycommon/gmPG2.py", line 1339, in 
shutdown
    __ro_conn_pool.shutdown()
  File "/Users/djb/gnumed-client.0.7.6/Gnumed/pycommon/gmPG2.py", line 1167, in 
shutdown
    _log.debug('closing pooled database connection, pool key: %s, backend PID: 
%s', conn_key, self._used[conn_key].get_backend_pid())
psycopg2.InterfaceError: connection already closed
MacBook:client djb$ 

-- Jim




reply via email to

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