[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Mac OS X: displaying frames problem
From: |
Dominique Buenzli |
Subject: |
[Gnumed-devel] Mac OS X: displaying frames problem |
Date: |
Thu, 3 Jun 2004 17:02:06 +0200 |
Hi Karsten !
Also I tried playing with some of the tools, none of them works except
Snellen chart, but then I can't do anything with it.
Some other tools should work, such as the BMI calculator.
No doesn't work...
Full log file in files.tgz
The main problem is that there is no display at all (i.e screenshot
noclicking.pdf in files.tgz). If I maintain my click on one of the
tabs
at the bottom, the display appears (i.e screenshot clicking pdf in
files.tgz), but as soon as I let the click go, it disappears again.
This particular quirk is due to the way wxWindows is
implemented on the Mac: One cannot check which notebook tab
one is *going to* change to before actually changing. Hence,
no veto()ing the change is possible should the target tab not
be ready to receive focus (eg. has no patient or other error
condition).
So what can we do ? Wait another version of the wxPython port ?
Strangely the demo.app which ships with wxPython works perfect.
Also some plugins don't load at startup:
These don't load, the others do:
- gmClinicalWindowManager
- gmDemographicsEditor
- gmContacts
- gmDrugDisplay
Log file says (full log in files.tgz) :
2004-06-03 16:40:34 [DATA]
(/Users/gnumed/gnumed/gnumed/client/wxpython/gui/
gmClinicalWindowManager.py::Main:31): $Revision: 1.15 $
2004-06-03 16:40:34 [INFO]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::InstPlugin:
401): instantiating plugin gmClinicalWindowManager
2004-06-03 16:40:34 [INFO]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py::
__load_plugins:300): got plugin of type gmClinicalWindowManager
2004-06-03 16:40:34 [INFO]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::register:
145): plugin: [Clinical] (class: [gmClinicalWindowManager]) set: [gui]
2004-06-03 16:40:34 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
set_widget_reference:154): plugin class [gmClinicalWindowManager],
widget class [gmClinicalPanel]
2004-06-03 16:40:34 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::get:145): option
[xxxDEFAULTxxx-None-patient-plugin load order] not in config database
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::get:145): option
[xxxDEFAULTxxx-xxxDEFAULTxxx-patient-plugin load order] not in config
database
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:460): No plugin load order stored in database. Trying
local config file.
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::__get_conf_name:
709): (<aDir=None>,
<aName=/Users/gnumed/gnumed/gnumed/client/wxpython/patient/
plugins.conf>)
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::__get_conf_name:
729): No config file given on command line. Format: --conf-file=<config
file>
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::__get_conf_name:
807): config file search order:
['/Users/gnumed/gnumed/gnumed/client/wxpython/patient/plugins.conf']
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::__get_conf_name:
812): config file
[/Users/gnumed/gnumed/gnumed/client/wxpython/patient/plugins.conf] not
found
2004-06-03 16:40:35 [ERROR]
(/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py::__get_conf_name:
820): cannot find config file in any of the standard paths
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): Can't load plugin load order config file.
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): exception type : exceptions.IOError
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): exception value: cannot find config file
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): Traceback (most recent call last):<#10-0x0A-lf>
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): File
"/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py", line 466, in
GetPluginLoadList<#10-0x0A-lf> fCfg = gmCfg.cCfgFile(aFile =
plugin_conf_name)<#10-0x0A-lf>
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): File
"/Users/gnumed/gnumed/gnumed/Gnumed/pycommon/gmCfg.py", line 489, in
__init__<#10-0x0A-lf> raise IOError, "cannot find config
file"<#10-0x0A-lf>
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:468): IOError: cannot find config file<#10-0x0A-lf>
2004-06-03 16:40:35 [WARN]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:477): Config file
[/Users/gnumed/gnumed/gnumed/client/wxpython/patient/plugins.conf] does
not contain the plugin load order !
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:478): *** Scanning plugin directory directly.
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:482): the path from set=patient parameter
gnumed_dir=/Users/gnumed/gnumed/gnumed/client is
/Users/gnumed/gnumed/gnumed/client/wxpython/patient
2004-06-03 16:40:35 [DATA]
(/Users/gnumed/gnumed/gnumed/Gnumed/wxpython/gmPlugin.py::
GetPluginLoadList:484): returned this file list __init__.py
Bye.
Dominique
files.tgz
Description: GNU Zip compressed data