gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] wxpython and mac display bug solved ?


From: Dominique Buenzli
Subject: Re: [Gnumed-devel] wxpython and mac display bug solved ?
Date: Wed, 18 Aug 2004 20:08:52 +0200

... "<module 'pyPgSQL.PgSQL' from '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/pyPgSQL/PgSQL.pyc'>":

So what you might *really* need is:


/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Gnumed

pointing to

~/gnumed/gnumed/client

If that doesn't work I am lost.

Yes it was already there. Lost too... :-(

Added a workaround. Can you please check gmBMIWidgets and
gmPregWidgets and add the workaround there, too ?

Where did you add the workaround ?

Jim, is launching gnumed/gnumed/client/wxpython/gmEMRBrowser.py working for you ?


Ok now gnumed starts. But then it fails when loading the plugins
(quits).
Log attached
Again, it complains of wxIcon not having LoadFile(). I have
added a workaround which I need to check in this morning.
Thanks, but it still doesn't work (updated CVS 18/06/04 19h00). Errors seems to be different though.

HOWEVER, if I use my old gnumed folder with the new wxpython 2.5.2.7 it works like before (loading plugins but unfortunately still with the display bug...).

So, the actual problem with gnumed quitting when loading plugins is probably due to recent changes in CVS...

What is missing in wxpython for mac ? A class named LoadFile ? I can write to the wxpython mailing-list if you wish, but I need to know what is missing.

Here is the log again (trying to load plugins), which is quite the same than before:

[Debug] 20:01:55: Adding duplicate image handler for 'PNG file'
[Debug] 20:01:55: Adding duplicate image handler for 'JPEG file'
[PANIC] (wxpython/gnumed.py:address@hidden): Exception: Unhandled exception encountered.
[PANIC] (wxpython/gnumed.py:address@hidden): exception type : exceptions.AttributeError
[PANIC] (wxpython/gnumed.py:address@hidden): exception value: 'Icon' object has no attribute 'LoadFile'
[PANIC] (wxpython/gnumed.py:address@hidden): Traceback (most recent call last):<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "wxpython/gnumed.py", line 314, in ?<#10-0x0A-lf> gmGuiMain.main()<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 783, in main<#10-0x0A-lf> app = gmApp(0)<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "//Library/Python/2.3/wx/_core.py", line 5227, in __init__<#10-0x0A-lf> self._BootstrapApp()<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "//Library/Python/2.3/wx/_core.py", line 4915, in _BootstrapApp<#10-0x0A-lf> return _core_.PyApp__BootstrapApp(*args, **kwargs)<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 636, in OnInit<#10-0x0A-lf> frame = gmTopLevelFrame(None, -1, _('GnuMed client'), (640,440))<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 148, in __init__<#10-0x0A-lf> self.LayoutMgr = gmHorstSpace.cHorstSpaceLayoutMgr(self, -1)<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 83, in __init__<#10-0x0A-lf> self.__load_plugins()<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 116, in __load_plugins<#10-0x0A-lf> progress_bar = gmPluginLoadProgressBar(nr_plugins)<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 49, in __init__<#10-0x0A-lf> icon.LoadFile(png_fname, wxBITMAP_TYPE_PNG)<#10-0x0A-lf>
[PANIC] (wxpython/gnumed.py:address@hidden): AttributeError: 'Icon' object has no attribute 'LoadFile'<#10-0x0A-lf>
Traceback (most recent call last):
File "wxpython/gnumed.py", line 314, in ?
gmGuiMain.main()
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 783, in main
app = gmApp(0)
File "//Library/Python/2.3/wx/_core.py", line 5227, in __init__
self._BootstrapApp()
File "//Library/Python/2.3/wx/_core.py", line 4915, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 636, in OnInit
frame = gmTopLevelFrame(None, -1, _('GnuMed client'), (640,440))
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 148, in __init__
self.LayoutMgr = gmHorstSpace.cHorstSpaceLayoutMgr(self, -1)
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 83, in __init__
self.__load_plugins()
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 116, in __load_plugins
progress_bar = gmPluginLoadProgressBar(nr_plugins)
File "/Users/dom/gnumed/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 49, in __init__
icon.LoadFile(png_fname, wxBITMAP_TYPE_PNG)
AttributeError: 'Icon' object has no attribute 'LoadFile'


reply via email to

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