Dear Wojciech, that's weird. (La)TeX adds linebreaks in its output to not overfill the terminal. This creates various trouble when reading the console output. But I don't see how this problem here is generated. It would be of great value to learn it.
It seems that a TexResultError is generated in the first place, which is caught in line 1206. While clearing up (by line 1207) another problem is found (that no dvi file was created). Unfortunately, by that we don't see error caught in line 1206 anymore. Could you please comment out line 1207 for a try and send the other traceback, which probably includes some information about the original problem. Thanks! André Am 12.12.2009 um 14:56 schrieb Wojciech Jaskowski: > Hello, > > Recently I have come across a very weird error. I do not know if its > connected with latex or PyX, but I can only produce it using PyX. > > I use just examples/hello.py. If I run it in the directory: > > c:\aaaaa\bbbbbb\cccccccc\ddd\eeeeeee\fffffff\ggggggggggggggggggg\ > > everything is ok (this is the real name of my directory - not just an > place-holder), but when I try the same in > > c:\aaaaa\bbbbbb\cccccccc\ddd\eeeeeee\fffffff\gggggggggggggggggggg\ > > (one 'g' more), I get: > > Traceback (most recent call last): > File > "C:\aaaaa\bbbbbb\cccccccc\ddd\eeeeeee\fffffff\gggggggggggggggggggg\hello. > py", line 4, in <module> > c.text(0, 0, "Hello, world!") > File "C:\Python26\lib\site-packages\pyx\canvas.py", line 268, in text > return self.insert(self.texrunner.text(x, y, atext, *args, **kwargs)) > File "C:\Python26\lib\site-packages\pyx\text.py", line 1207, in text > self.finishdvi(ignoretail=1) > File "C:\Python26\lib\site-packages\pyx\text.py", line 1056, in finishdvi > self.dvifile = dvifile.DVIfile(dvifilename, debug=self.dvidebug) > File "C:\Python26\lib\site-packages\pyx\dvi\dvifile.py", line 135, in > __init__ > > self.file = reader.reader(self.filename) > File "C:\Python26\lib\site-packages\pyx\reader.py", line 7, in __init__ > self.file = open(filename, "rb") > IOError: [Errno 2] No such file or directory: 'tmpvs897p.dvi' > > It took me a bit to understand that this is connected with the place, > when I run the script ;-). I used PyX rev3010, MikTex 2.8, python > 2.6.4.8 > > Best regards, > Wojciech Jaskowski > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > PyX-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyx-user -- 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/
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
