<div dir="ltr"><div><div><div><div>Hi Paolo,<br><br></div>As you tested, this is not related to Lizmap plugin, because you told me you tested the following python code inside your Python console and got the same error<br><br>p = QgsProject.instance()<br>if p.isDirty():<br>    p.write()<br><br><br></div>Can anyone else test and report there is no pbm ? Paolo, could you give more information on QGIS Version / Platform and status of project file ( new not saved, saved, etc.)<br><br></div>Cheers<br></div>Michaël<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-03 9:33 GMT+01:00 Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
while using the latest version of Lizmap plugin, I get an error on some<br>
machines;<br>
===<br>
2017-03-01T16:50:09     1       Traceback (most recent call last):<br>
                          File "/home/paolo/.qgis2/python/<wbr>plugins/lizmap/lizmap.py", line<br>
2718, in run<br>
                            if not self.dlg.isVisible() and self.<wbr>checkGlobalProjectOptions():<br>
                          File "/home/paolo/.qgis2/python/<wbr>plugins/lizmap/lizmap.py", line<br>
2377, in checkGlobalProjectOptions<br>
                            p.write()<br>
                        TypeError: write() takes exactly 2 arguments (1 given)<br>
===<br>
So apparently sip bindings have a problem here.<br>
<br>
All the best, and thanks.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Paolo Cavallini - <a href="http://www.faunalia.eu" rel="noreferrer" target="_blank">www.faunalia.eu</a><br>
QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" rel="noreferrer" target="_blank">http://www.faunalia.eu/<wbr>training.html</a><br>
<a href="https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis" rel="noreferrer" target="_blank">https://www.google.com/trends/<wbr>explore?date=all&geo=IT&q=<wbr>qgis,arcgis</a><br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></font></span></blockquote></div><br></div>