> >Frank Millman wrote:
> >
> >Hi all
> >
> >I have just upgraded from 2.5.1.5 to 2.5.2.7, on both MSW and GTK on
RH9,
> >both running Python 2.3.3.
> >
> >On GTK, there is a change in behaviour when entering data into a grid.
> >Anything that you type is invisible until you move to another cell.
Then
> >everything that you have typed becomes visible. As I use the grid
> >extensively for data entry, this is quite serious for me.
> >
> >You can see this easily from the demo.
> >
> > Robin Dunn wrote:
> >
> >>I don't. Are you using the GTK or GTK2 version?
> >
> >
> > Thanks for the reply, Robin. I am using GTK. I downloaded the binary
rpm
> > for RedHat 9, and it seemed to install ok.
> >
I suggest the following approach. If anyone else is reading this thread,
and
experiences the same problem as me, please reply with any details - maybe
that will help us get to the bottom of it. If nobody replies, I must have
done something wrong in my installation, and I will reinstall.
I am not having any luck, I am afraid. I took a clean hard drive, installed
Red Hat 9, Python 2.3.3, and wxPython 2.5.2.7, and I still have the same
problem. As nobody else has reported the problem, I must be doing something
wrong, so I will explain my installation procedure, and see if someone can
spot the error.
Red Hat pre-installs Python 2.2.2 in /usr/bin and /usr/lib. By default,
Python 2.3.3 installs in /usr/local/bin and /usr/local/lib, which does not
cause any conflicts, so I just install it with all the defaults. Then I
create a symbolic link in /usr/bin called python, pointing to
/usr/local/bin/python2.3, and it all seems to work ok.
The wxPython rpm installs a directory called wxPython-2.5.2.7 in /usr/lib,
and directories called wx and wxPython in /usr/lib/python2.3/site-packages.
I install wxPython with defaults, which creates the directory
/usr/lib/python2.3/site-packages. Then I move wx and wxPython to
/usr/local/lib/python2.3/site-packages, renaming them to wx_2.5.2.7 and
wxPython_2.5.2.7. Then I create symbolic links called wx and wxPython. That
is all I do. As far as I can recall, that is all I did with 2.5.1.5, and I
had no problems with that.
While on the subject, I tried to 'downgrade' to 2.5.1.5 on my original hard
drive, to double-check that the problem does not occur there. I still have
wxPython-2.5.1.5 in /usr/lib, and wx_2.5.1.5 and wxPython_2.5.1.5 in
/usr/local/lib/python2.3/site-packages. I changed the symbolic links of wx
and wxPython to point to the 2.5.1.5 directories. If I then try to 'import
wx', I get the following error -
File "/usr/local/lib/python2.3/site-packages/wx/__init__.py", line 43, in ?
del wx
NameError: name 'wx' is not defined
I did at one point erase the 2.5.1.5 rpm, and then reinstall it, so maybe
something has gone missing.
I hope this has given enough information for someone to tell me what I am
doing wrong.
Thanks
Frank