[Qgis-developer] save project via python results in segfault

Richard Duivenvoorde rdmailings at duif.net
Tue Oct 26 16:01:19 EDT 2010


Martin Dobias wrote:
> On Mon, Oct 25, 2010 at 4:13 PM, Richard Duivenvoorde
> <rdmailings at duif.net> wrote:
>> Martin Dobias wrote:
>>> Hi Richard
>>>
>>> On Sun, Oct 24, 2010 at 9:03 PM, Richard Duivenvoorde
>>> <rdmailings at duif.net> wrote:
>>>> p=QgsProject.instance()
>>>> p.setFileName(str("/home/richard/temp/bpprr.qgs"))
>>>> p.write()
> 
> I have looked into this and I think I have fixed that issue
> successfully in r14434. It seems the problem was in not acquiring the
> python global interpreter lock and thus accessing python API while in
> an inconsistent state.
> 
> Richard, Barry, please test whether it helps your plugins.

Yep Working! Great ...
Means you squashed #2870 :-)
Thanks Martin!


More information about the Qgis-developer mailing list