SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Steve S. <sw...@sf...> - 2007年06月27日 20:33:06
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.
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
From: Steve S. <sw...@sf...> - 2007年06月28日 18:15:40
Hi Edin,
If I try without a matplotlibrc file at all I get the same error. When 
I first installed I didn't have one other than the one installed by the 
distribution. I thought that might be the problem so I created one (and 
verified that it is actually being read) but I still get the errors.
Steve
Edin Salkovic wrote:
> 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
From: Steve S. <sw...@sf...> - 2007年06月28日 19:52:33
I successfully worked around the problem. Since the system OS is 
Centos, which is RedHat Enterprise built from the SRPMS, I grabbed the 
Fedora srpms for matplotlib and the associated dependencies, built and 
installed them. Since they were almost all python related it avoided 
the potential problems with installing Fedora rpms on a RHEL/Centos 
system. After doing this mathtext-related key errors did not occur.
I hope at some point in the future to go back and see what was actually 
different with install built from Fedora, however at this point I am 
still trying to get the system back in production use.
Steve Sweet wrote:
> Hi Edin,
>
> If I try without a matplotlibrc file at all I get the same error. When 
> I first installed I didn't have one other than the one installed by the 
> distribution. I thought that might be the problem so I created one (and 
> verified that it is actually being read) but I still get the errors.
>
> Steve
>
> Edin Salkovic wrote:
> 
>> 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
>> 
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /