[Qgis-developer] QGIS Server - GetPrint with a composer containing HTML block causes segfault

Marco Hugentobler marco.hugentobler at sourcepole.ch
Wed May 22 00:47:11 PDT 2013


Hi Michael

I also encountered that problem. Unfortunately, it seems that QWebKit 
requires a running x-server. So it won't be possible to use html items 
in server projects (or you can run an x-server and set the DISPLAY 
variable in the fcgi conf).

Regards,
Marco

On 22.05.2013 09:43, kimaidou wrote:
> Hi list
>
> I have tried it with today's qgis master.
>
> I have a very simple project with one shapefile containing 3 
> polygones. I created a composer with a map. GetPrint request works 
> fine with it. If I add an HTML block in the composer (refering to one 
> HTML file or not), the getPrint request raises a segfault.
>
> Apache error log is the well-known :
> "Premature end of script headers: qgis_mapserv2.fcgi"
>
> By the way, I compiled QGIS with -DCMAKE_BUILD_TYPE=debug , but I do 
> not know where I can find complet log for QGIS Server. Is there a file 
> where I can get complete log for QGIS Server ?
>
> I can provide a sample project if needed. I have not found a ticket in 
> the hub, so I will fill one, but I would prefer to do so with a 
> self-explaining log.
>
> Michael
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130522/e00e39a2/attachment.html>


More information about the Qgis-developer mailing list