Hi Paolo,

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

p = QgsProject.instance()
if p.isDirty():
    p.write()


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.)

Cheers
Michaƫl

2017-03-03 9:33 GMT+01:00 Paolo Cavallini <cavall...@faunalia.it>:

> Hi all,
> while using the latest version of Lizmap plugin, I get an error on some
> machines;
> ===
> 2017-03-01T16:50:09     1       Traceback (most recent call last):
>                           File 
> "/home/paolo/.qgis2/python/plugins/lizmap/lizmap.py",
> line
> 2718, in run
>                             if not self.dlg.isVisible() and self.
> checkGlobalProjectOptions():
>                           File 
> "/home/paolo/.qgis2/python/plugins/lizmap/lizmap.py",
> line
> 2377, in checkGlobalProjectOptions
>                             p.write()
>                         TypeError: write() takes exactly 2 arguments (1
> given)
> ===
> So apparently sip bindings have a problem here.
>
> All the best, and thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
> _______________________________________________
> 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 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

Reply via email to