You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by FOP project-Vienna <pd...@gmx.at> on 2002/07/10 18:13:04 UTC

[ERROR] Don't know what to do with

hi there,

we are having a problem using FOP on a suse shell system.
first of all we wrote a batchfile containinng the following:

java -cp
./build/fop.jar:./lib/batik.jar:./lib/xalan-2.0.0.jar:./lib/xerces-1.2.3.jar:./lib/avalon-framework-4.0.jar:./lib/logkit-1.0.jar:./lib/jimi-1.0.jar org.apache.fop.apps.Fop $1 $2 $3 $4 $5 $6 $7 $8

when calling this batchfile e.g. with files in the same directory like:

fop.sh border.fo -pdf myfirst.pdf

we get an error message saying:
[ERROR] don't know what to do with

can anyone help? are the spacers not correct in linux? whate else can we
use? please ...

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: [ERROR] Don't know what to do with

Posted by "J.Pietschmann" <j3...@yahoo.de>.
FOP project-Vienna wrote:
> we get an error message saying:
> [ERROR] don't know what to do with
> 
> can anyone help? are the spacers not correct in linux? whate else can we
> use? please ...

The error messages indicates there is an empty parameter
or a parameter consisting of whitespace only passed to
the FOP main().
There could be any number of reasonst for it, including JVM
bugs. The most probably reason is that you prepared the
shell script on a Windows system, and it is still in DOS
format. This causes a CR passed as a parameter. Load
the file in a hex editor and check whether it contains
0x0D bytes, and run dos2unix or a similar program in this
case.

J.Pietschmann





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: [ERROR] Don't know what to do with

Posted by Oleg Tkachenko <ol...@multiconn.com>.
FOP project-Vienna wrote:

> we are having a problem using FOP on a suse shell system.
> first of all we wrote a batchfile containinng the following:
> 
> java -cp
> ./build/fop.jar:./lib/batik.jar:./lib/xalan-2.0.0.jar:./lib/xerces-1.2.3.jar:./lib/avalon-framework-4.0.jar:./lib/logkit-1.0.jar:./lib/jimi-1.0.jar org.apache.fop.apps.Fop $1 $2 $3 $4 $5 $6 $7 $8
> 
> when calling this batchfile e.g. with files in the same directory like:
> 
> fop.sh border.fo -pdf myfirst.pdf
> 
> we get an error message saying:
> [ERROR] don't know what to do with
> 
> can anyone help? are the spacers not correct in linux? whate else can we
> use? please ...

Just curious: why don't you use fop.sh script which come with fop?

-- 
Oleg Tkachenko
Multiconn International, Israel


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org