Focal Point
[Solved]Compound report.Error:GIF Output is not supported by the JVM in headless mode

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3307051196

March 01, 2019, 10:53 AM
srajeevan
[Solved]Compound report.Error:GIF Output is not supported by the JVM in headless mode
Hi,

I was building a compound PDF report.I gave few reports and it works fine when i run it.
I added a graph to a new page in the JSCHART format.It didn't work ,so i tried changing to different output format as below.
  
-*ON GRAPH PCHOLD FORMAT JSCHART
-*ON GRAPH HOLD AS HOLD FORMAT SVG
-*ON GRAPH PCHOLD FORMAT GIF
-*ON GRAPH HOLD AS GIF1 FORMAT GIF
-*ON GRAPH SAVE AS GRAPH1 FORMAT GIF
-*ON GRAPH PCHOLD FORMAT GIF
-*ON GRAPH HOLD AS GRAPH2 FORMAT JPEG


I have seen several post in the forum where people use SVG/GIF format.I tried that too.
I have seen a post where ,it is mentioned to use
  -SET GRAPHSERVURL=' '; 

I tried that too.

When i use SVG/GIF format i get the below error message.
"GIF output is not supported by the JVM in headless mode"

When i use JPEG/PNG i get the error message that
"Not enough points to draw the graph."

What am i missing.?

This message has been edited. Last edited by: srajeevan,


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
March 01, 2019, 11:26 AM
Addy
Hi,
Is the graph working as a standalone report?
If yes then you can use
ON GRAPH PCHOLD FORMAT PDF

This works perfectly for me. I generally parameterise the format so that when the user wants to download PDF then it is applied else it is a JSCHART (ON GRAPH PCHOLD FORMAT &OP_FORMAT)


WF 8.2.04
Windows/Unix
All Formats
In Focus since 2006
March 01, 2019, 01:18 PM
srajeevan
Yes.The graph works as a standalone chart in JSCHART format.When i give PDF format and runs as a standalone graph i get empty pdf page.


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
March 01, 2019, 02:55 PM
MartinY
You probably have some JSCHART functionalities that are not supported by the IBI PDF graph format.
PDF graph format is limited.

Try this : open your fex with Application Studio and Save As with another name.
Then select PDF format from the ribbon and see how your graph will change...
Save it,then edit in text.
Compare original JSCHART report and PDF one, you will see many differences.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
March 01, 2019, 04:26 PM
srajeevan
@MartinY : When i save and open again in App Studio,i don't have an option for PDF.

There is a Format tab and under than there is chart.Other option is File and it is grayed out and cannot be selected.

I know that when i open reports in GUI,i can select PDF etc.But for charts i don't see such an option.


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
March 01, 2019, 04:29 PM
srajeevan
Hey..I found it.Format ribbon was at the bottom.Didn't notice it.


WF8206,Windows 7,8,10
HTM,PDF,EXCEL