From: Edin S. <edi...@gm...> - 2007-06-28 04:33:54
|
Hi Steve, On 6/27/07, Steve Sweet <sw...@sf...> wrote: > Hi, > > I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is > identical to RedHat Enterprise). One of my users is running a script > that previously worked with matplotlib on another system. I'm seeing > the following errors > [Wed Jun 27 12:25:17 2007] [error] [client 10.0.0.92] PythonHandler > cv_wms: KeyError: 'mathtext.mathtext2' > > I've done a bit of snooping through the code and I searched the mailing > list archive. I saw a message relating to matplotlib-0.87 indicating > that the missing key needed to be added to the matplotlibrc file. > However when I do so I get this message: > [Wed Jun 27 12:17:35 2007] [error] [client x.x.x.x] Bad key > "mathtext.mathtext2" on line 260 in > [Wed Jun 27 12:17:35 2007] [error] [client x.x.x.x] > /var/www/.matplotlib/matplotlibrc. > > When I remove the offending key I am back to the first error. I am > using the matplotlibrc file that came with the 0.90.1 tarball. Does > anyone have any suggestions? > > Thanks. It seems like you have another (older) installation of matplotlib somewhere on that system. Note that newer matplotlibs don't even require a matplotlibrc file in the $HOME/.matplotlib dir. Have you tried removing it completely? If you still have problems, please post some more info. Edin |