Re: [QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-26 Thread René-Luc Dhont

Hi Devs,

The QGIS Server refactoring is facing a segfault  in layer tree:

/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x31371c)[0x7fd33114071c]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x451f39)[0x7fd33127ef39]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x44fcf2)[0x7fd33127ccf2]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(_ZNK25QgsObjectCustomProperties5valueERK7QStringRK8QVariant+0x2c)[0x7fd3315fbe5c]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(_ZNK16QgsLayerTreeNode14customPropertyERK7QStringRK8QVariant+0x3b)[0x7fd3312e80db]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(_ZN19QgsSymbolLegendNode11updateLabelEv+0x74)[0x7fd3312df7e4]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x4b925a)[0x7fd3312e625a]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x4b91d0)[0x7fd3312e61d0]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(+0x4b9106)[0x7fd3312e6106]
/home/travis/osgeo4travis/lib/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x2cb)[0x7fd3367f992b]
/home/travis/osgeo4travis/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xf6)[0x7fd330836486]
/home/travis/osgeo4travis/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x25f4)[0x7fd330839dc4]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_core.so.2.99.0(_ZN14QgsApplication6notifyEP7QObjectP6QEvent+0x94)[0x7fd33146ea84]
/home/travis/build/qgis/QGIS/build/output/python/qgis/_core.so(_ZN17sipQgsApplication6notifyEP7QObjectP6QEvent+0x8f)[0x7fd332ad0b0f]
/home/travis/osgeo4travis/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x37a)[0x7fd3367d18da]
/home/travis/osgeo4travis/lib/libQt5Core.so.5(+0x292803)[0x7fd336821803]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7fd334113d13]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48060)[0x7fd334114060]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fd334114124]
/home/travis/osgeo4travis/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5c)[0x7fd336820dcc]
/home/travis/build/qgis/QGIS/build/output/lib/libqgis_server.so.2.99.0(_ZN9QgsServer13handleRequestER16QgsServerRequestR17QgsServerResponse+0x67)[0x7fd325655bd7]
/home/travis/build/qgis/QGIS/build/output/python/qgis/_server.so(+0x5c0fa)[0x7fd32596f0fa]

https://github.com/qgis/QGIS/pull/4959#issuecomment-324875586

So I need some help to fix it and finally ending the refactoring!

Regards,
René-Luc


Le 05/08/2017 à 11:33, Martin Dobias a écrit :

Hi René-Luc

On Fri, Aug 4, 2017 at 7:00 PM, René-Luc Dhont  wrote:

The good news for QGIS Server is that when this PR will be merged, we'll be
able to definitely remove all the old project parser codes from the server.

That's awesome news - woohoo!! :-)

Cheers
Martin


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-06 Thread René-Luc Dhont

Hi devs,

I have updated the PR with Highlight layers and more tests.

Regards,
René-Luc

Le 05/08/2017 à 11:33, Martin Dobias a écrit :

Hi René-Luc

On Fri, Aug 4, 2017 at 7:00 PM, René-Luc Dhont  wrote:

The good news for QGIS Server is that when this PR will be merged, we'll be
able to definitely remove all the old project parser codes from the server.

That's awesome news - woohoo!! :-)

Cheers
Martin


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-05 Thread Martin Dobias
Hi René-Luc

On Fri, Aug 4, 2017 at 7:00 PM, René-Luc Dhont  wrote:
>
> The good news for QGIS Server is that when this PR will be merged, we'll be
> able to definitely remove all the old project parser codes from the server.

That's awesome news - woohoo!! :-)

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-04 Thread René-Luc Dhont

Hi Devs,

I just created a PR for QGIS Server concerning GetPrint.
Because of the lack of test on the different GetPrint specific 
parameters in the precedent versions, I don't know if the refactoring 
gives exactly the same features. So I need reviews and tests to add new 
tests.


The good news for QGIS Server is that when this PR will be merged, we'll 
be able to definitely remove all the old project parser codes from the 
server.


Good Hackfest!
Regards,
René-Luc
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer