[Qgis-developer] error saving project with OpenLayer

Pirmin Kalberer pi_ml at sourcepole.com
Tue Jul 1 05:19:09 PDT 2014

Hi Matteo

Am Dienstag, 1. Juli 2014, 10.35:39 schrieb matteo:
> I'm trying to save a project with just 2 shapefiles (EPSG 432, but I
> noticed that the projection doesn't matter) and a OpenLayer file
> (OSMCycle, but same error for the other OpenLayer files).
> Trying to save the project it appears this error:
> Traceback (most recent call last):
>   File
> "/home/ma7730/.qgis2/python/plugins/openlayers_plugin/openlayers_layer.py",
> line 329, in writeXml
>     element.setAttribute("ol_layer_type", str(self.layerType.id))
> AttributeError: OlOpenCycleMapLayer instance has no attribute 'id'
> I'm on a debian testing machine with QGIS 2.5.
> Am I missing something? Should I open a ticket?

Looks like a plugin error. The layer identfication has been changed in the 
newest OL plugin version. Please open a ticket as a reminder.


Pirmin Kalberer
Sourcepole  -  Linux & Open Source Solutions

More information about the Qgis-developer mailing list