[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412584: texlive-pstricks: pst-map2dII causes Ghostscript ERROR: /invalidfileaccess in --file--



On Wednesday 28 February 2007, Frank Küster wrote:
> Arnout Boelens <aboelens@engin.umass.edu> wrote:
> 
> > If I move everything from ../dataII to ./data (and remove the
> > \psset{path=../dataII}) it works here. The error shows up when I perform ps2pdf.
> > However, I can neither view the dvi file nor the ps file, because they seem
> > corrupted.
> [...]
> >> Is this *REALLY* the input file you used?
> >> 
> >> Where did you get the pst-map2dII.{tex,sty} from?
> 
> tetex-extra installs it in the proper place, texlive-pstricks (at least
> in TL 2005 puts them in /usr/share/doc/.
> 
> >> Frank and teTeX guys here, can you explain all this? I am stymed. I have
> >> no idea. On my pure texlive system I can compile the document but
> >> viewing it in gv breaks...
> 
> Hm, I cannot reproduce any error with texlive alone.  This is what I
> did, using data and LaTeX file from
> http://people.debian.org/~frank/pst-geo-map.tar.gz (still uploading):

For me everything works fine too, as long as I put all my data in a directory
"data" in the directory where my latex file is. However, as soon as I put the
data in another directory (e.g. ../dataII) and I make a reference to that
directory with \psset{path=..}, I get errors..

Cheers,

Arnout

> - log into a clean pbuilder chroot (only build-essential packages
>   installed
> 
> - apt-get install texlive-pstricks texlive-latex-base
> 
> - mkdir -p /usr/local/share/texmf/tex/generic/pst-geo/
> 
> - cp /usr/share/doc/texlive-doc/generic/pst-geo/pst-map2dII.* /usr/local/share/texmf/tex/generic/pst-geo/
> 
> - gunzip /usr/local/share/texmf/tex/generic/pst-geo/pst-map2dII.tex.gz 
> 
> - mktexlsr /usr/local/share/texmf/
> 
> - copy the tarball into the chroot
> 
> - tar -xzf pst-geo-map.tar.gz
> 
> - cd pst-geo-map
> 
> - latex mapplot.tex
> 
> root@riesling:/pst-geo-map# dvips mapplot.dvi 
> This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
> ' TeX output 2007.02.28:1212' -> mapplot.ps
> <tex.pro><pstricks.pro><pst-dots.pro><pst-node.pro><texps.pro><special.pro>
> <color.pro>. <cmr12.pfb>[1] 
> root@riesling:/pst-geo-map# 
> 
> - apt-get install gs-gpl
> 
> # time ps2pdf mapplot.ps 
> 
> real	0m30.760s
> user	0m28.550s
> sys	0m0.236s
> 
> I can view the PDF and PS files fine from outside the chroot, so
> everything is included.  If I create the DVI on my normal system, even
> viewing it in xdvi works fine (although it's damn slow).
> 
> 
> Next, I try the same in a teTeX based system:
> 
> - log into a sid chroot
> 
> - apt-get install tetex-extra gs-gpl texlive-pstricks
> 
> - repeat the file moving, mktexlsr, latex, dvips, ps2pdf:
> 
> Same result (except that it takes 32 seconds...)
> 
> Regards, Frank



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


Reply to: