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

kimaidou kimaidou at gmail.com
Wed May 22 01:19:52 PDT 2013


Thanks for your answer Marco. I will try to use the workaround you
described and report progress here.

Michael


2013/5/22 Marco Hugentobler <marco.hugentobler at sourcepole.ch>

>  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 listQgis-developer at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerlandmarco.hugentobler at sourcepole.ch http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130522/045d1f07/attachment.html>


More information about the Qgis-developer mailing list