Hello List, (Support)
I installed the Genero Reports Engine + Genero 2.20 on a Linux-Server and the Designer on my Windows-Client.
I want to test it with a simple Report-Program, but I have trouble with compiling the program correctly.
I use a simple Script to set my enviroment and compile the program:
export FGLDIR=/opt/genero
export GREDIR=/opt/generorw
export JAVA_HOME=/opt/jdk1.6.0_01
PATH=$JAVA_HOME/bin:$PATH
export PATH=$FGLDIR/bin:$PATH
export APIDIR=$GREDIR/lib/api
export OVERLOADABLESDIR=$GREDIR/lib/overloadables
export SAXSTYLESDIR=$GREDIR/lib/saxstyles
FGLLDPATH=$APIDIR:$OVERLOADABLESDIR:$SAXSTYLESDIR
cd /programme/public/genero-rw
fglform maske.per
fglcomp testreport.4gl
fglcomp --build-rdd testreport.4gl #erstellt aus dem 42m eine report-schema datei
fgllink -o testreport.42r testreport.42m $APIDIR/helpers.42m $APIDIR/isotools.42m $OVERLOADABLESDIR/CompatCustom.42m $OVERLOADABLESDIR/CaptionCustom.42m $OVERLOADABLESDIR/EncodingCustom.42m
############################################
I have no errors when I compile this program, but if I start the program I have the following error message:
FORMS statement error number -6206.
The dynamic loader can not open module 'helpers'.So I copied some files in my program directory:
AddCaptionsToReportStyleSheet.42m fgldraw1.42m
CaptionCustom.42m helpers.42m
CompatCustom.42m isotools.42m
CompatibilityStyleSheet.42m LoaderStyleSheet.42m
CompatToHlPxml.42m PrettyPrinterStyleSheet.42m
EncodingCustom.42m
and started again.
now I have the following error:
[lutz5 /programme/public/genero-rw]$fglrun testreport.42r
Program stopped at 'testreport.4gl', line number 42.
FORMS statement error number -1260.
It is not possible to convert between the specified types.
[lutz5 /programme/public/genero-rw]$Exception at document location :
publicId=-//FOURJS//any XML stdin//EN systemId=file:/programme/public/genero-rw/report.4rp line no=1
LoaderStyleSheet: element no 0 path=
Parse error:
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at com.fourjs.pxml.stylesheet.StyleSheetPipe.c(StyleSheetPipe.java:147)
at com.fourjs.pxml.stylesheet.StyleSheetPipe.run(StyleSheetPipe.java:153)############
Is this an installation-Problem, or is something wrong with the compilation ?
I attached the program an report-files to this mail.
Thanks in advance
Stefan