I was trying to …
Click Button create report
I was expecting …
Report would be created and displayed as PDF file
Instead I’ve got …
{"ClassName":"System.TypeInitializationException","Message":"The type initializer for 'FastReport.Report' threw an exception.","Data":null,"InnerException":{"ClassName":"System.TypeInitializationException","Message":"The type initializer for 'Gdip' threw an exception.","Data":null,"InnerException":{"ClassName":"System.DllNotFoundException","Message":"Unable to load shared library 'libgdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibgdiplus: cannot open shared object file: No such file or directory","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)\n at System.Drawing.SafeNativeMethods.Gdip..cctor()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233052,"Source":"System.Drawing.Common","WatsonBuckets":null,"TypeLoadClassName":null,"TypeLoadAssemblyName":null,"TypeLoadMessageArg":null,"TypeLoadResourceID":0},"HelpURL":null,"StackTraceString":" at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromScan0(Int32 width, Int32 height, Int32 stride, Int32 format, IntPtr scan0, IntPtr& bitmap)\n at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)\n at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)\n at FastReport.Utils.Config.Init()\n at FastReport.Report..cctor()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233036,"Source":"System.Drawing.Common","WatsonBuckets":null,"TypeName":"Gdip"},"HelpURL":null,"StackTraceString":" at FastReport.Report..ctor()\n at Origam.BI.FastReport.FastReportService.GetReport(Guid reportId, IXmlContainer data, String format, Hashtable parameters, String dbTransaction) in D:\\a\\1\\s\\origam-source\\Origam.BI.FastReport\\FastReportService.cs:line 44\n at Origam.Workflow.ReportServiceAgent.GetReport(Guid reportId, IXmlContainer data, String format, Hashtable parameters) in D:\\a\\1\\s\\origam-source\\Origam.Workflow\\Service Agents\\ReportServiceAgent.cs:line 55\n at Origam.Workflow.ReportServiceAgent.Run() in D:\\a\\1\\s\\origam-source\\Origam.Workflow\\Service Agents\\ReportServiceAgent.cs:line 154\n at Origam.Workbench.Services.CoreServices.ReportService.GetReport(Guid reportId, XmlDocument data, String format, Hashtable parameters, String transactionId) in D:\\a\\1\\s\\origam-source\\Origam.Workbench.Services\\CoreServices\\ReportService.cs:line 49\n at Origam.ServerCore.Controller.ReportController.HandleReport(ReportRequest reportRequest, String reportName) in D:\\a\\1\\s\\origam-source\\Origam.ServerCore\\Controller\\ReportController.cs:line 119\n at Origam.ServerCore.Controller.ReportController.Get(Guid reportRequestId) in D:\\a\\1\\s\\origam-source\\Origam.ServerCore\\Controller\\ReportController.cs:line 100","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233036,"Source":"FastReport","WatsonBuckets":null,"TypeName":"FastReport.Report"}
How to fix:
Something got broken since this issue has been implemented.
When I do:
sudo apt-get install libgdiplus
After running above command all reports start working. But the problem with č then apears again.