Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 15:30:28 +0700
From:      pirat <pirat@access.inet.co.th>
To:        doc@FreeBSD.ORG
Cc:        stable@FreeBSD.ORG
Subject:   peps: ... is not a valid EPS file error in making docs.
Message-ID:  <20021217083028.GA22570@thai-aec.org>

next in thread | raw e-mail | index | archive | help

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=tis-620
Content-Disposition: inline

hi sirs,

apologize me for disturbing and for posting to two lists since the issue seems to involve two lists.

am used to post about this kind of problem many days ago and can overcome bey the second run which i do not want to give up.

now when i make documents at my other machine, it comes again

peps: <file name> is not a valid EPS file

so i try doing the same, blindfully make agian and again.  and at the end i got all documents installed.

i look at peps.c codes and know that peps expect "%!PS-Adobe" or so and parse(filename), failing on any of this will produce such an error.

now that when i have a look at .eps file, it does not have such a string indeed even .ps file has it though.  and .eps file is generated from ps2epsi.  when i try it manually, i got an error "Unknown device: bit"

i think, ps2epsi from ghostscript-gnu-7.05_3 need to be ... correct (sorry for the very poor english).

my chaine , the recent one which face this funny error, is
%uname -a
FreeBSD bank.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE #5: Sun Dec 15 21:57:02
ICT 2002     root@bank.thai-aec.org:/usr/obj/usr/src/sys/BANK  i386
%


i have attached script file during making at /usr/doc just for your interest.
once again apologize me for disturbing the lists.

with best regards,
psr

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=tis-620
Content-Disposition: attachment; filename=MakeDoc

Script started on Sat Dec 14 14:43:38 2002
bank# make 
===> en_US.ISO8859-1
===> en_US.ISO8859-1/articles
===> en_US.ISO8859-1/articles/committers-guide
/bin/rm -f docbook.css
/bin/cat /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../share/misc/docbook.css > docbook.css
/usr/local/bin/jade -V nochunks -ioutput.html -d /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../share/sgml/default.dsl  -ioutput.html.images  -V %generate-article-toc% -D /usr/obj/usr/doc/en_US.ISO8859-1/articles/committers-guide -c /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../en_US.ISO8859-1/share/sgml/catalog -c /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../share/sgml/catalog  -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/iso8879/catalog  -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog   -t sgml /usr/doc/en_US.ISO8859-1/articles/committers-guide/article.sgml > article.html ||  (/bin/rm -f article.html && false)
/usr/local/bin/tidy -i -m -raw -preserve -f /dev/null  article.html
*** Error code 1 (ignored)
===> en_US.ISO8859-1/articles/releng
groff -p -S -Wall -mtty-char -man branches.pic > branches.ps
/usr/local/bin/ps2epsi /usr/doc/en_US.ISO8859-1/articles/releng/branches.ps /usr/doc/en_US.ISO8859-1/articles/releng/branches.eps
Unknown device: bit
/usr/local/bin/peps -p -r 100  -o branches.png  `/bin/realpath branches.eps`
peps: /usr/doc/en_US.ISO8859-1/articles/releng/branches.eps is not a valid EPS file.
*** Error code 4

Stop in /usr/doc/en_US.ISO8859-1/articles/releng.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1/articles.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1.
*** Error code 1

Stop in /usr/doc.
bank# head /usr/doc/en_US.ISO8859-1/articles/releng/branches.eps
save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def
%%EndProlog
%%Page: 1 1
%%BeginDocument: /usr/doc/en_US.ISO8859-1/articles/releng/branches.ps
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
bank# head /usr/doc/en_US.ISO8859-1/articles/releng/branches.ps
%!PS-Adobe-3.0
%%Creator: groff version 1.17.2
%%CreationDate: Sat Dec 14 14:46:43 2002
%%DocumentNeededResources: font Times-Roman
%%DocumentSuppliedResources: procset grops 1.17 2
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
bank# exit
exit

Script done on Sat Dec 14 14:48:04 2002

--wac7ysb48OaltWcw--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021217083028.GA22570>