Hi!
Thanks Michael for you suggestions! So I downloaded and installed
basic-miktex-2.8-beta-4.exe (because I couldn't download Protext, the file is
damaged!?) and now I got this error:
basic-miktex-2.8-beta-4.exeTraceback (most recent call last):
File "C:\Dokumente und Einstellungen\lueck.IPK-GATERSLEBEN\Desktop\testing\x.p
y", line 5, in <module>
g.writeEPSfile("function")
File "C:\Python25\Lib\site-packages\pyx\canvas.py", line 330, in wrappedindocu
ment
return method(d, file)
File "C:\Python25\Lib\site-packages\pyx\document.py", line 155, in writeEPSfil
e
pswriter.epswriter(self, file, *args, **kwargs)
File "C:\Python25\Lib\site-packages\pyx\pswriter.py", line 331, in __init__
page.processPS(pagefile, self, acontext, registry, pagebbox)
File "C:\Python25\Lib\site-packages\pyx\document.py", line 138, in processPS
self._process("processPS", *args)
File "C:\Python25\Lib\site-packages\pyx\document.py", line 81, in _process
getattr(self.canvas, processMethod)(canvasfile, writer, context, registry, b
box)
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 162, in processP
S
self.finish()
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 268, in finish
self.doaxes()
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 491, in doaxes
self.dolayout()
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 475, in dolayout
self.doaxiscreate(axisname)
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 216, in doaxiscr
eate
self.axes[axisname].create()
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 594, in crea
te
self.linkedto.docreate()
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 499, in docr
eate
self._createfunction(*self._createargs, **self._createkwargs)
File "C:\Python25\Lib\site-packages\pyx\graph\graph.py", line 216, in doaxiscr
eate
self.axes[axisname].create()
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 565, in crea
te
self.canvas = self.axis.create(self.data, self.positioner, self.graphtexrunn
er, self.errorname)
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 228, in crea
te
return _regularaxis._create(self, data, positioner, graphtexrunner, self.par
ter, self.rater, errorname)
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 198, in _cre
ate
variants[0].storedcanvas = layout(variants[0])
File "C:\Python25\Lib\site-packages\pyx\graph\axis\axis.py", line 133, in layo
ut
self.painter.paint(canvas, data, self, positioner)
File "C:\Python25\Lib\site-packages\pyx\graph\axis\painter.py", line 187, in p
aint
t.temp_labelbox = canvas.texrunner.text_pt(t.temp_x_pt, t.temp_y_pt, t.label
, labelattrs)
File "C:\Python25\Lib\site-packages\pyx\text.py", line 1222, in text_pt
return self.text(x * unit.t_pt, y * unit.t_pt, expr, *args, **kwargs)
File "C:\Python25\Lib\site-packages\pyx\text.py", line 1201, in text
self.finishdvi(ignoretail=1)
File "C:\Python25\Lib\site-packages\pyx\text.py", line 1047, in finishdvi
self.dvifile = dvifile.dvifile(dvifilename, self.fontmap, debug=self.dvidebu
g)
File "C:\Python25\Lib\site-packages\pyx\dvifile.py", line 688, in __init__
self.file = binfile(self.filename, "rb")
File "C:\Python25\Lib\site-packages\pyx\dvifile.py", line 31, in __init__
self.file = open(filename, mode)
IOError: [Errno 2] No such file or directory: 'tmpaij2j8.dvi'
callingtex.py gives this output:
Platform is win32
Python installation prefix is C:\python25
Python executable is C:\python25\python.exe
PyX comes from C:\python25\lib\site-packages\pyx\__init__.pyc
PyX version 0.10
PyX pykpathsea python module used
" echo $0 \"$*\"" --> $0 \"$*\"
" echo $SHELL" --> $SHELL
" echo $BASH_SUBSHELL" --> $BASH_SUBSHELL
" echo $-" --> $-
" echo $ENV" --> $ENV
" echo $BASH_ENV" --> $BASH_ENV
" echo $TEXMFCNF" --> $TEXMFCNF
" echo $_" --> $_
" echo $PATH" --> $PATH
" which kpsewhich" --> " which tex" --> " which late
x" --> "file `which kpsewhich`" --> " file `which tex`" --> " file `whic
h latex`" -->
"psfonts.map" found at "C:/Dokumente und Einstellungen/lueck.IPK-GATERSLEBEN/Lok
ale Einstellungen/Anwendungsdaten/MiKTeX/2.8/dvips/config/psfonts.map" as format
"map"
"psfonts.map" found at "C:/Dokumente und Einstellungen/lueck.IPK-GATERSLEBEN/Lok
ale Einstellungen/Anwendungsdaten/MiKTeX/2.8/dvips/config/psfonts.map" as format
"PostScript header"
"psfonts.map" found at "C:/Dokumente und Einstellungen/lueck.IPK-GATERSLEBEN/Lok
ale Einstellungen/Anwendungsdaten/MiKTeX/2.8/dvips/config/psfonts.map" as format
"dvips config"
"psfonts.cmz" not found
>From where I can get psfonts.cmz?
Thanks for any help!
Stefanie
----- Original Message -----
From: "Michael SCHINDLER" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, July 29, 2009 8:06 PM
Subject: Re: [PyX-user] installing pyx on windows
>> Hi!
>
> Rebonjour,
>
> On 29.07.09, [email protected] wrote:
>> I would like to try out pyx and i tried to install it on windows but
>> after running hellp.py it fails with this error:
>
>> Traceback (most recent call last):
>> File "C:\Dokumente und
>> Einstellungen\Administrator\Desktop\Testing\test.py", line 6, in <module>
>> c.text(0, 0, "Hello, world!")
>> File "C:\Python25\Lib\site-packages\pyx\canvas.py", line 309, in text
>> return self.insert(self.texrunner.text(x, y, atext, *args, **kwargs))
>> File "C:\Python25\Lib\site-packages\pyx\text.py", line 1199, in text
>> self.execute(expr, self.defaulttexmessagesdefaultrun +
>> self.texmessagesdefaultrun + texmessages)
>> File "C:\Python25\Lib\site-packages\pyx\text.py", line 899, in execute
>> self.fontmap = dvifile.readfontmap(self.fontmaps.split())
>> File "C:\Python25\Lib\site-packages\pyx\dvifile.py", line 386, in
>> readfontmap
>> raise RuntimeError("cannot find font mapping file '%s'" % filename)
>> RuntimeError: cannot find font mapping file 'psfonts.map'
>
> PyX cannot find the file 'psfonts.map', which is part of your TeX
> installation. Please make sure that you have TeX installed and that
> the 'psfonts.map' does exist. If you already have this file at the
> proper place, we need to search for a different explanation. Please
> take the file
> <pyx-subversion repository>/contrib/callingtex.py
> from the development tree of pyx and run it. It will spit out a lot of
> information which could help finding out where the problem comes from.
>
> Michael
>
>------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user