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

Martin Dobias wonder.sk at gmail.com
Mon Oct 25 17:07:29 EDT 2010


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.

Regards
Martin


More information about the Qgis-developer mailing list