Darren Dale wrote:
> I just made a big commit to cvs. With these changes, the font.latex.package rc
> setting is no longer needed, and should be removed from ones personal
> matplotlibrc file.
I wonder if I'm doing something wrong. I built fresh from CVS on an Ubuntu
box, nuked my tex.cache directory, and yet a simple plot(range(10)) gives me:
get_rgba(self=<matplotlib.texmanager.TexManager instance>, tex='0',
fontsize=12.0, dpi=96.0, rgb=(0, 0, 0))
385 # force=True to skip cacheing while debugging
386 pngfile = self.make_png(tex, dpi, force=False)
--> 387 X = readpng(pngfile)
X = undefined
global readpng = <built-in method readpng of tuple object at 0x4071318c>
388 vers = self.get_dvipng_version()
389 #print 'dvipng version', vers
RuntimeError: _image_module::readpng could not open PNG file
The png is indeed not there at all. Am I missing something? if the png
didn't get created, shouldn't make_png raise an exception instead?
I tried to compile the latex file by hand, but even that fails:
maqroll[tex.cache]> latex f43bbaa78e0a6e5688e327d12df8b9ce.tex
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
! LaTeX Error: File `fix-cm.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: X
The problem is that fix-cm.sty is NOT part of a standard latex distribution.
Did you add this yourself? I checked my destkop (Fedora 3 box):
abdul[src]> locate fix-cm
I grabbed fix-cm by hand from CTAN:
and things seem to work now, but I suspect you didn't intend people to have to
go fishing into CTAN :)
I'll keep testing and will let you know if I hit any other snags. Thanks a
lot for all your work!