[Qgis-developer] openlayers plugin error with saved projects
Giovanni Manghi
giovanni.manghi at gmail.com
Sun Jul 25 12:05:46 EDT 2010
Hi,
I'm using QGIS 1.5 under Ubuntu 10.04 and if I save a project, that
include a layer downloaded with the "openlayers" plugin, when I try to
open it again qgis throws
-------------------
An error has occured while executing Python code:
Traceback (most recent call last):
File
"/home/gio/.qgis/python/plugins/openlayers/openlayers_plugin_layer_type.py", line 38, in createLayer
layer = OpenlayersLayer(self.iface, self.__coordRSGoogle)
File "/home/gio/.qgis/python/plugins/openlayers/openlayers_layer.py",
line 85, in __init__
self.setCrs(coordRSGoogle)
TypeError: QgsMapLayer.setCrs(): argument 1 has unexpected type
'instancemethod'
Python version:
2.6.5 (r265:79063, Apr 16 2010, 13:28:26)
[GCC 4.4.3]
QGIS version:
1.5.0-Tethys Tethys, exported
Python path: ['/usr/share/qgis/python', '/home/gio/.qgis/python',
'/home/gio/.qgis/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/usr/lib/pymodules/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
u'/home/gio/.qgis//python/plugins',
'/usr/share/qgis/python/plugins/fTools/tools']
-------------------
and then
-------------------
Exception
std::bad_alloc
-------------------
the project then fail to open at all.
cheers
-- Giovanni --
More information about the Qgis-developer
mailing list