<div dir="ltr">Hi,<div><br></div><div>What is the version you are running.  I think that was patched by Martin at one stage.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 7, 2016 at 3:01 PM, Minoru Akagi <span dir="ltr"><<a href="mailto:akaginch@gmail.com" target="_blank">akaginch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi devs,<br>
<br>
I'm looking forward to the next wonderful release, and now testing<br>
TileLayerPlugin with qgis-dev (OSGeo4W64), I sometimes encounter the<br>
following error message while loading a project with a plugin layer.<br>
<br>
NotImplementedError: QgsPluginLayer.writeStyle() is abstract and must<br>
be overridden<br>
<br>
According to the API doc [1], QgsMapLayer.writeStyle() has been added<br>
in 2.16 and is reimplemented in QgsVectorLayer and QgsRasterLayer, but<br>
does not seem to be reimplemented in QgsPluginLayer.<br>
<br>
Can QGIS core avoid raising this error? Or should all the subclasses<br>
of QgsPluginLayer override writeStyle()?<br>
<br>
[1] <a href="https://qgis.org/api/classQgsMapLayer.html" rel="noreferrer" target="_blank">https://qgis.org/api/classQgsMapLayer.html</a><br>
<br>
Regards,<br>
Minoru<br>
_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br></div>