Error with PDF output with usetex

Hello all,

I am running Mac OS X 10.7 Lion with matplotlib 1.0.1 and the MacTex
2011 distrubution.

I am able to run the tex_demo.py with no problems and I can create
output files using the Agg backend. When I try to use the PDF
backend, however, I get an error which stems from dviread.py (pasted
below). Any thoughts on what could be going wrong?

Thanks!
Jeff

Jeff Klukas
Research Assistant (Physics), University of Wisconsin
jeff.klukas@...3030... | jeffyklukas@...3031... | jeffklukas@...3032...
http://hep.wisc.edu/~jklukas/

Traceback (most recent call last):
  File "tex_demo.py", line 32, in <module>
    savefig('tex_demo')
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/pyplot.py",
line 363, in savefig
    return fig.savefig(*args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/figure.py",
line 1084, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 1923, in print_figure
    **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
line 2156, in print_pdf
    self.figure.draw(renderer)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/figure.py",
line 798, in draw
    func(*args)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/axes.py",
line 1946, in draw
    a.draw(renderer)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/axis.py",
line 1017, in draw
    tick.draw(renderer)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/axis.py",
line 234, in draw
    self.label1.draw(renderer)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/artist.py",
line 55, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/text.py",
line 571, in draw
    self._fontproperties, angle)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
line 1549, in draw_tex
    psfont = self.tex_font_mapping(dvifont.texname)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
line 1365, in tex_font_mapping
    dviread.PsfontsMap(dviread.find_tex_file('pdftex.map'))
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py",
line 668, in __init__
    self._parse(file)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py",
line 701, in _parse
    self._register(words)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py",
line 727, in _register
    assert encoding is None
AssertionError