Hi Wojciech,

sorry for asking again, but its a great help for me to get this windows 
specific code tested. I've just checked in changeset 3014, which probably fix 
the issue below.

Best,


André


Am 16.12.2009 um 23:39 schrieb Wojciech Jaskowski:

> On Tue, Dec 15, 2009 at 11:53 AM, André Wobst
> <[email protected]> wrote:
>> Could you try whether changeset 3012 resolves this issue (this changeset is 
>> completely untested currently -- it would be great to get some feedback!)
> 
> Unfortunately, it (rev3012) still does not work, but the error is different:
> 
> Traceback (most recent call last):
>  File "C:\Users\Wojtek\Lab\pyx\bugreport\latex_fails.py", line 13, in <module>
>    mygraph.writetofile("plot.pdf");
>  File "C:\Python26\lib\site-packages\pyx\canvas.py", line 289, in
> wrappedindocument
>    return method(d, file)
>  File "C:\Python26\lib\site-packages\pyx\document.py", line 179, in 
> writetofile
>    self.writePDFfile(open(filename, "wb"), **kwargs)
>  File "C:\Python26\lib\site-packages\pyx\document.py", line 171, in
> writePDFfile
>    pdfwriter.PDFwriter(self, _outputstream(file, "pdf"), **kwargs)
>  File "C:\Python26\lib\site-packages\pyx\pdfwriter.py", line 316, in __init__
>    catalog = PDFcatalog(document, self, registry)
>  File "C:\Python26\lib\site-packages\pyx\pdfwriter.py", line 142, in __init__
>    self.PDFpages = PDFpages(document, writer, registry)
>  File "C:\Python26\lib\site-packages\pyx\pdfwriter.py", line 201, in __init__
>    page = PDFpage(page, pageno, self, writer, registry)
>  File "C:\Python26\lib\site-packages\pyx\pdfwriter.py", line 235, in __init__
>    self.PDFcontent = PDFcontent(page, writer, self.pageregistry)
>  File "C:\Python26\lib\site-packages\pyx\pdfwriter.py", line 267, in __init__
>    page.processPDF(contentfile, writer, acontext, registry, self.bbox)
>  File "C:\Python26\lib\site-packages\pyx\document.py", line 134, in processPDF
>    self._process("processPDF", *args)
>  File "C:\Python26\lib\site-packages\pyx\document.py", line 84, in _process
>    bbox.set(self.canvas.bbox())
>  File "C:\Python26\lib\site-packages\pyx\graph\graph.py", line 151, in bbox
>    self.finish()
>  File "C:\Python26\lib\site-packages\pyx\graph\graph.py", line 280, in finish
>    self.doaxes()
>  File "C:\Python26\lib\site-packages\pyx\graph\graph.py", line 503, in doaxes
>    self.dolayout()
>  File "C:\Python26\lib\site-packages\pyx\graph\graph.py", line 487, in 
> dolayout
>    self.doaxiscreate(axisname)
>  File "C:\Python26\lib\site-packages\pyx\graph\graph.py", line 217,
> in doaxiscreate
>    self.axes[axisname].create()
>  File "C:\Python26\lib\site-packages\pyx\graph\axis\axis.py", line
> 571, in create
>    self.canvas = self.axis.create(self.data, self.positioner,
> self.graphtexrunner, self.errorname)
>  File "C:\Python26\lib\site-packages\pyx\graph\axis\axis.py", line
> 234, in create
>    return _regularaxis._create(self, data, positioner,
> graphtexrunner, self.parter, self.rater, errorname)
>  File "C:\Python26\lib\site-packages\pyx\graph\axis\axis.py", line
> 204, in _create
>    variants[0].storedcanvas = layout(variants[0])
>  File "C:\Python26\lib\site-packages\pyx\graph\axis\axis.py", line
> 139, in layout
>    self.painter.paint(canvas, data, self, positioner)
>  File "C:\Python26\lib\site-packages\pyx\graph\axis\painter.py", line
> 192, in paint
>    t.temp_labelbox = canvas.texrunner.text_pt(t.temp_x_pt,
> t.temp_y_pt, t.label, labelattrs)
>  File "C:\Python26\lib\site-packages\pyx\text.py", line 1234, in text_pt
>    return self.text(x * unit.t_pt, y * unit.t_pt, expr, *args, **kwargs)
>  File "C:\Python26\lib\site-packages\pyx\text.py", line 1197, in text
>    self.execute("\\begin{document}", self.defaulttexmessagesbegindoc
> + self.texmessagesbegindoc)
>  File "C:\Python26\lib\site-packages\pyx\text.py", line 1001, in execute
>    self.defaulttexmessagesdocclass + self.texmessagesdocclass)
>  File "C:\Python26\lib\site-packages\pyx\text.py", line 1050, in execute
>    raise TexResultError("unhandled TeX response (might be an error)", self)
> pyx.text.TexResultError: unhandled TeX response (might be an error)
> The expression passed to TeX was:
>  \documentclass{article}%
>  \PyXInput{3}%
> The return message from TeX was:
>  *
>  *("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\article.cls"
>  Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
>  ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\size10.clo"))
>  PyXInputMarker:executeid=3:
> After parsing this message, the following was left:
>  *
>  *("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\article.cls"
>  Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
>  "C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\size10.clo)

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
   / \ \    / )   [email protected], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to