|
From: Gary R. <gr...@bi...> - 2005-07-01 02:12:40
|
I'm getting a traceback when trying to run tex_demo.py under Windows
(both Win98 and Win2k).
I *think* I've met the specified requirements.
Any help would be appreciated,
thanks,
Gary R.
Here's a dump with debug-annoying set:
loaded rc file C:\PYTHON23\share\matplotlib\.matplotlibrc
matplotlib version 0.82
verbose.level debug-annoying
interactive is False
platform is win32
loaded modules: ['__future__', 'copy_reg', 'sre_compile', 'distutils',
'locale', '_sre', '__main__', 'site', '__builtin__', 'datetime',
'encodings', 'os.path', 'encodings.encodings', 'sre_constants',
'distutils.string', 'dateutil', 'matplotlib.datetime', 'strop',
'matplotlib.warnings', 'encodings.codecs', 'matplotlib.sys', 're',
'ntpath', 'pytz.sys', 'UserDict', 'distutils.sysconfig',
'encodings.exceptions', 'nt', 'pytz.sets', 'stat', 'zipimport',
'string', 'warnings', 'encodings.types', '_codecs', 'distutils.os',
'matplotlib', 'encodings.cp1252', 'sys', 'pytz.tzinfo', 'pytz',
'pytz.datetime', 'matplotlib.__future__', 'codecs', 'distutils.re',
'matplotlib.pytz', 'types', 'matplotlib.dateutil', '_locale',
'matplotlib.os', 'sre', 'bisect', 'matplotlib.distutils', 'signal',
'distutils.errors', 'linecache', 'itertools', 'sets', 'exceptions',
'sre_parse', 'pytz.bisect', 'distutils.sys', 'os']
numerix Numeric 23.7
font search path ['C:\\PYTHON23\\share\\matplotlib']
trying fontname C:\PYTHON23\share\matplotlib\cmex10.ttf
trying fontname C:\PYTHON23\share\matplotlib\cmmi10.ttf
trying fontname C:\PYTHON23\share\matplotlib\cmr10.ttf
trying fontname C:\PYTHON23\share\matplotlib\VeraMono.ttf
trying fontname C:\PYTHON23\share\matplotlib\cmsy10.ttf
trying fontname C:\PYTHON23\share\matplotlib\VeraMoBI.ttf
trying fontname C:\PYTHON23\share\matplotlib\cmtt10.ttf
trying fontname C:\PYTHON23\share\matplotlib\Vera.ttf
matplotlib data path C:\PYTHON23\share\matplotlib
loaded ttfcache file C:\PYTHON23\share\matplotlib\.ttffont.cache
backend TkAgg version 8.4
FigureCanvasAgg.draw
RendererAgg.__init__
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
! Undefined control sequence.
<*> 'C:\PYTHON
23\share\matplotlib\.tex.cache\30565a8911a6bb487e3745c0ea3c822...
! Undefined control sequence.
<*> 'C:\PYTHON23\share
\matplotlib\.tex.cache\30565a8911a6bb487e3745c0ea3c822...
! Undefined control sequence.
<*> 'C:\PYTHON23\share\matplotlib
\.tex.cache\30565a8911a6bb487e3745c0ea3c822...
! I can't find file `'C:23.tex'.
<to be read again>
\global
<*> 'C:\PYTHON23\share\matplotlib\.
tex.cache\30565a8911a6bb487e3745c0ea3c822...
Please type another input file name
! Emergency stop.
<to be read again>
\global
<*> 'C:\PYTHON23\share\matplotlib\.
tex.cache\30565a8911a6bb487e3745c0ea3c822...
No pages of output.
Transcript written on texput.log.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\PYTHON23\lib\lib-tk\Tkinter.py", line 1345, in __call__
return self.func(*args)
File
"C:\PYTHON23\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 148, in resize
self.show()
File
"C:\PYTHON23\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 151, in draw
FigureCanvasAgg.draw(self)
File
"C:\PYTHON23\Lib\site-packages\matplotlib\backends\backend_agg.py", line
369, in draw
self.figure.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\figure.py", line 498,
in draw
for a in self.axes: a.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\axes.py", line 1361,
in draw
self.xaxis.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\axis.py", line 544, in
draw
tick.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\axis.py", line 147, in
draw
if self.label1On: self.label1.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\text.py", line 847, in
draw
self._mytext.draw(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\text.py", line 334, in
draw
bbox, info = self._get_layout(renderer)
File "C:\PYTHON23\Lib\site-packages\matplotlib\text.py", line 179, in
_get_layout
w,h = renderer.get_text_width_height(
File
"C:\PYTHON23\Lib\site-packages\matplotlib\backends\backend_agg.py", line
237, in get_text_width_height
Z = self.texmanager.get_rgba(s, size, dpi, rgb)
File "C:\PYTHON23\Lib\site-packages\matplotlib\texmanager.py", line
276, in get_rgba
pngfile = self.make_png(tex, dpi, force=False)
File "C:\PYTHON23\Lib\site-packages\matplotlib\texmanager.py", line
113, in make_png
dvifile = self.make_dvi(tex)
File "C:\PYTHON23\Lib\site-packages\matplotlib\texmanager.py", line
105, in make_dvi
shutil.move(dvitmp, dvifile)
File "C:\PYTHON23\lib\shutil.py", line 170, in move
copy2(src,dst)
File "C:\PYTHON23\lib\shutil.py", line 82, in copy2
copyfile(src, dst)
File "C:\PYTHON23\lib\shutil.py", line 37, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory:
'30565a8911a6bb487e3745c0ea3c8224.dvi'
|