Package: pgf Version: 2.00-1 Severity: normal [ Sorry for the vague subject, if you can think of a better one, please ] [ change it... ]
I had a strage error of dvipdf refusing to work and cooked it down to this: ====================================================================== \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (dune) at (5, 0); \node (gmshreader) at (0, 0) {gmsh}; \draw[shading=axis] (gmshreader.east) -- (dune); \end{tikzpicture} \end{document} ====================================================================== My primary test was creating a .pdf file with the help of latex and dvipdf. With the code above, dvipdf would fail (see below for error message). Removing "[shading=axis]" would make it work. I also tried pdflatex and viewing the .pdf with evince. That worked fine, however evince gave some "matrix not invertible" warnings, which suggests a division by zero somewhere (the gs error messages might suggest that as well, but sadly I don't speak a single word of postscript). The test case tries to vertically shade a path consisting of a horizontal line, I can imagine that can lead to a division by zero. OK, so this is probably an error by the author of the document above, but a good error message would really be nice, if that is possible. Preferably at the time latex/pdflatex is run. Thanks, Jö. Here are several things I tried and their results: When I run that through "latex test.tex" I get test.dvi with no problem. Running dvipdf yields: ====================================================================== j...@paranoia:/tmp$ dvipdf test.dvi Error: /undefinedresult in --currentpoint-- Operand stack: --nostringval-- --nostringval-- --nostringval-- --nostringval-- pgfx Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1156/1684(ro)(G)-- --dict:1/20(G)-- --dict:79/200(L)-- --dict:177/300(L)-- --dict:58/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.71: Unrecoverable error, exit code 1 ====================================================================== xdvi shows the "gmsh" node, but not the line, and spews the following error messages from gs: ====================================================================== j...@paranoia:/tmp$ xdvi test.dvi gs: Error: /undefinedresult in --execute-- gs: Operand stack: gs: --nostringval-- --nostringval-- --nostringval-- --nostringval-- pgfx gs: Execution stack: gs: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- gs: 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fals gs: e 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop gs: 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- gs: %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- gs: 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --nost gs: ringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1769 gs: 1 3 %oparray_pop --nostringval-- --nostringval-- false 1 %stopped gs: _push --nostringval-- --nostringval-- gs: Dictionary stack: gs: --dict:1157/1684(ro)(G)-- --dict:1/20(G)-- --dict:107/200(L)-- --dict:25 gs: /250(L)-- --dict:34/200(L)-- gs: Current allocation mode is local gs: Last OS error: 11 ====================================================================== dvips actually works without complaints: ====================================================================== j...@paranoia:/tmp$ dvips test.dvi This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com) ' TeX output 2010.03.21:2301' -> test.ps </usr/share/texmf-texlive/dvips/base/tex.pro> </usr/share/texmf-texlive/dvips/base/texps.pro> </usr/share/texmf-texlive/dvips/base/special.pro> </usr/share/texmf-texlive/dvips/base/color.pro>. </usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1] ====================================================================== gv, when applied to the resulting .ps file will display the "gmsh" node but not the line, and display a window with the following error messages: ====================================================================== Error: /undefinedresult in --currentpoint--GPL Ghostscript 8.71: Unrecoverable error, exit code 1 Operand stack: --nostringval-- --nostringval-- --nostringval-- --nostringval-- pgfx Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1157/1684(ro)(G)-- --dict:1/20(G)-- --dict:79/200(L)-- --dict:177/300(L)-- --dict:58/200(L)-- Current allocation mode is local Last OS error: 11 ====================================================================== pstopdf results in an error as well: ====================================================================== j...@paranoia:/tmp$ pstopdf test.ps MTXrun | kpse fallback with progname 'context' initialized in 0.04 seconds PsToPdf | converting ps (ps) into pdf PsToPdf | conversion method 2 PsToPdf | converting test.ps bounded Error: /undefinedresult in --currentpoint-- Operand stack: --nostringval-- --nostringval-- --nostringval-- --nostringval-- pgfx Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1158/1684(ro)(G)-- --dict:1/20(G)-- --dict:79/200(L)-- --dict:177/300(L)-- --dict:58/200(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.71: Unrecoverable error, exit code 1 ====================================================================== So does ps2pdf: ====================================================================== j...@paranoia:/tmp$ ps2pdf test.ps Error: /undefinedresult in --currentpoint-- Operand stack: --nostringval-- --nostringval-- --nostringval-- --nostringval-- pgfx Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1157/1684(ro)(G)-- --dict:1/20(G)-- --dict:79/200(L)-- --dict:177/300(L)-- --dict:58/200(L)-- Current allocation mode is local Last OS error: 2 Current file position is 37314 GPL Ghostscript 8.71: Unrecoverable error, exit code 1 ====================================================================== The only possible way to get a working document seems to be "pdflatex test.tex". If I view the resulting document with evince, it displays fine, showing the "gmsh" node and the line. Evince writes some warnings/error messages to the terminal however: ====================================================================== j...@paranoia:/tmp$ evince test.pdf ** (evince:4842): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name ** (evince:4842): WARNING **: Error registering document: Failed to execute program /usr/lib/evince/evinced: Success matrix not invertible matrix not invertible matrix not invertible matrix not invertible ** (evince:4842): WARNING **: Error unregistering document: Failed to execute program /usr/lib/evince/evinced: Success ====================================================================== -- System Information: Debian Release: squeeze/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pgf depends on: ii latex-xcolor 2.11-1 Easy driver-independent TeX class ii texlive-latex-recommended 2009-8 TeX Live: LaTeX recommended packag pgf recommends no packages. pgf suggests no packages. -- no debconf information -- This just in: "Since 2001, there has been a 300-fold rise in terror acts worldwide". Know what would be cool? If the Bush administration declared a war on jobs. -- J.L. Grant, http://flem.comicgenesis.com/d/20040726.html
signature.asc
Description: Digital signature