Hi all,
We just installed RedHat 8.0 on our servers and we’re having a problem with Python. The system comes with Python2.2. I installed wxPythonGTK (what’s currently available as a binary on wxpython.org) and ran into some trouble. One of our other engineers is working on a system using Python and wxPython for an application. She has been working on Python2.2 (latest release from the python.org site) and wxPython2.3.2.1, which was previously available on the wxpython.org site. Her application worked fine under that setup on RedHat Linux 7.3. However, now the splitter window won’t show it’s contents with the setup I described above for Linux 8.0 and wxPythonGTK. Does anyone have any idea how I might fix this or what is going on?
Thanks,
Doug Farrell
Scholastic, Inc
dfarrell@grolier.com
Yes, I had the same problem moving to 2.3.3.1 myself. Since
the archives are done, here's a recap of the solution: The
SetSashPosition() function only works when the splitter is
visible. Instead, use the third argument of the Split{Horizontally,
Veritcally}() functions to set the position, like this:
instead of:
splitter.SplitVertically (win1, win2)
splitter.SetSashPosition (250)
do this:
splitter.SplitVertically (win1, win2, 250)
That should help.
-- Mike
···
On Mon, Nov 04 @ 19:23, Doug Farrell wrote:
Hi all,
We just installed RedHat 8.0 on our servers and we're having a
problem with Python. The system comes with Python2.2. I installed
wxPythonGTK (what's currently available as a binary on wxpython.org)
and ran into some trouble. One of our other engineers is working on
a system using Python and wxPython for an application. She has been
working on Python2.2 (latest release from the python.org site) and
wxPython2.3.2.1, which was previously available on the wxpython.org
site. Her application worked fine under that setup on RedHat Linux
7.3. However, now the splitter window won't show it's contents with
the setup I described above for Linux 8.0 and wxPythonGTK. Does
anyone have any idea how I might fix this or what is going on?
Thanks, Doug Farrell Scholastic, Inc
dfarrell@grolier.com
-- Michael Gilfix mgilfix@eecs.tufts.edu
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html