Bug #5060
Fails with openlayers layer
| Status: | Closed | Start Date: | 02/20/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Patch supplied: | No |
Description
I am using QGIS 1.7.4 Wroclaw. I load a satellite image layer using the openlayers pugin. I create a simple priniting composer. I call the atlas plugin 0.2.0 which fails with the following message:
An error has occured while executing Python code:
Traceback (most recent call last): File "/home/marra/.qgis/python/plugins/atlas/atlasdialog.py", line 291, in renderMap provider = self.sLayer.dataProvider() AttributeError: 'OpenlayersLayer' object has no attribute 'dataProvider'
Python version: 2.7.2+ (default, Oct 4 2011, 20:41:12) [GCC 4.6.1]
QGIS version: 1.7.4-Wroclaw Wroclaw, exported
Python path: ['/usr/share/qgis/python', '/home/marra/.qgis/python', '/home/marra/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools']
History
Updated by Vincent Picavet over 1 year ago
- Status changed from New to Closed
It is probably because you selected the openlayers layer for coverage.
0.2.1 fixes by filtering only VectorLayers in coverage combobox.
Reopen this bug if the bug is still present, and after checking the selected layer for coverage is ok.