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

Tim Sutton lists at linfiniti.com
Wed May 22 02:20:15 PDT 2013


Hi

You might also want to consider using Xfvb as a 'fake' xserver.

Regards

Tim

On Wed, May 22, 2013 at 10:19 AM, kimaidou <kimaidou at gmail.com> wrote:
> 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 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
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list