SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] dvipng version error

From: Darren D. <dd...@co...> - 2007年01月17日 19:47:57
On Monday 15 January 2007 23:37, be...@fi... wrote:
> Hello:
> I am getting an identical error to the error encountered by Charlie Moad
> (posted Apr 10, 2006; 08:46am). I am running Python 2.4.4 (#71, Oct 18
> 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 with Matplotlib v
> 0.87.7. my system is:
>
> XP home, SP2 on a Dell XPS600, Dual Core P4 3.40GHz, 1 GB RAM
>
> the error thread is exactly the same:
[...]
> File "C:\Python24\Lib\site-packages\matplotlib\texmanager.py", line 83,
> in TexManager
> dvipngVersion = get_dvipng_version()
> File "C:\Python24\Lib\site-packages\matplotlib\texmanager.py", line 58,
> in get_dvipng_version
> raise RuntimeError('Could not obtain dvipng version')
> RuntimeError: Could not obtain dvipng version
>
> I saw in the message thread that a fix was committed, is this universal?
I think what you are seeing is not exactly the same what Charlie reported. 
Charlie observed that texmanager was being loaded, and the dvipng version 
checked, when he had usetex : False in his rc options. dvipng is only 
required by usetex, and therefore should not have been checked. The fix from 
April 2006 fixed that problem. If you have usetex : False in your rc options, 
and are still getting this dvipng version error, then it is a bug and I need 
to investigate.
However, I suspect that you have set usetex : True in your rc settings, but 
haven't installed all the required dependencies. Do you have dvipng 
installed, and is it on your PATH? If so, opening a DOS window and 
running "dvipng --version" should yield something like:
This is dvipng 1.8 Copyright 2002-2006 Jan-Ake Larsson
dvipng 1.8
kpathsea version 3.5.5
Copyright (C) 2002-2005 Jan-Ake Larsson.
There is NO warranty. You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files
named COPYING and dvipng.c.
Darren

View entire thread

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 によって変換されたページ (->オリジナル) /