[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] wxPyWidgetTests
From: |
Richard Terry |
Subject: |
Re: [Gnumed-devel] wxPyWidgetTests |
Date: |
Fri, 3 Sep 2004 08:19:00 +1000 |
User-agent: |
KMail/1.5.4 |
Thanks will read that again (I did - I'm just slow)!
I you have time for a path question, I think there is something fundamental I
don't understand about paths.
When I run wxPython2.5 I do this first in a terminal:
address@hidden:~$ export PATH=$PATH:/opt/wx/2.5/bin
address@hidden:~$ export LD_LIBRARY_PATH=/opt/wx/2.5/lib
address@hidden:~$ export WXDIR=/usr/src/wxPythonSrc-2.5.2.8/
address@hidden:~$ export PYTHONPATH=$WXDIR/wxPython.
I would then assume that all files in directories below $PYTHONPATH that would
be found, however not the case on my machine.
When I snipped some code out of the demo into a file and ran it - it didn't
find the file it needed in a directory below the top level pythonpath.
Would you have any idea where my concept is stuffed?
Regards
Richard
On Thu, 2 Sep 2004 09:07 pm, you wrote:
> On Thursday 02 September 2004 11:31, Richard Terry wrote:
> > Exact error ? Just doesn't seem to exist anymore. Anyway, don't waste
> > your time as you have to study.
>
> It still exists. I ran grep on python/site-packages. It moved from wx.py to
> _core.py. Please read up on http://www.wxpython.org/migrationguide.php
>
> I suspect this could be due to namespace changes.
>
> > At least I've got wx2.5 running so I can play with the listbox thingy.
> > Bye for now
> >
> > richard
> >
> > On Thu, 2 Sep 2004 07:15 pm, you wrote:
> > > On Thursday 02 September 2004 11:05, Richard Terry wrote:
> > > > Did you miss a line - or do you know what to substitute to make the
> > > > individual gnuMed files run stand alone. I've just about converted
> > > > gmDemographics, so I wanted to test it.
> > >
> > > I googled around but didn't find anything useful. I don't know how to
> > > substitute this for 2.5.
> > >
> > > I keep looking. What's the exact error ?
> > >
> > > > Thanks
> > > >
> > > > On Thu, 2 Sep 2004 07:00 pm, you wrote:
> > > > > On Thursday 02 September 2004 10:56, Richard Terry wrote:
> > > > > > As IN:
> > > > > >
> > > > > > app = wxPyWidgetTester(size = (800, 600))
> > > > > >
> > > > > > Seems not to work in wxPython2.5. Was this an internal gnuMed
> > > > > > thing or was it a wxPython thing.
> > > > >
> > > > > It's a wxPython thing.
> > > > >
> > > > > > What's to substitute to check code changed to 2.5?
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > Richard
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Gnumed-devel mailing list
> > > > > > address@hidden
> > > > > > http://lists.gnu.org/mailman/listinfo/gnumed-devel