Opened 14 years ago

Closed 14 years ago

#2828 closed bug (fixed)

Strange OSM Plugin Error removing layer

Reported by: aperi2007 Owned by: wonder
Priority: major: does not work as expected Milestone: Version 1.6.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: 7 Awaiting user input: no

Description

After installing the OpenStreetMap plugin I'm having this error every where open and close shapefiles.

I think it is due even to settings "Reproject On The Fly" and EPSG:3003 (not wgs84).


Errore durante l'esecuzione di codice Python: (Error executing python code)

Traceback (most recent call last):

File "C:/OSGeo4W/apps/qgis-dev/./python/plugins\osm\OsmDatabaseManager.py", line 130, in layerRemoved

if layer.type() != QgsMapLayer.VectorLayer or layer.dataProvider().name()"osm":

AttributeError: 'NoneType' object has no attribute 'VectorLayer'

Versione Python: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Versione di QGIS: 1.5.0-Tethys Tethys, 13750

Percorso Python: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:
Users
peri/.qgis/python', 'C:
Users
peri/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:
OSGeo4W
apps
gdal-16
pymod', 'C:
', 'C:
OSGeo4W
bin
python25.zip', 'C:
OSGeo4W
apps
Python25
DLLs', 'C:
OSGeo4W
apps
Python25
lib', 'C:
OSGeo4W
apps
Python25
lib
plat-win', 'C:
OSGeo4W
apps
Python25
lib
lib-tk', 'C:
OSGeo4W
apps
qgis-dev
bin', 'C:
OSGeo4W
apps
Python25', 'C:
OSGeo4W
apps
Python25
lib
site-packages', 'C:
OSGeo4W
apps
Python25
lib
site-packages
win32', 'C:
OSGeo4W
apps
Python25
lib
site-packages
win32
lib', 'C:
OSGeo4W
apps
Python25
lib
site-packages
Pythonwin', 'C:
OSGeo4W
apps
Python25
lib
site-packages
wx-2.8-msw-unicode', u'C:/Users/peri/.qgis//python/plugins', 'C:
OSGeo4W
apps
qgis-dev
python
plugins
fTools
tools']

Change History (3)

comment:1 by borysiasty, 14 years ago

Owner: changed from borysiasty to wonder

comment:2 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

Still true?

comment:3 by aperi2007, 14 years ago

Resolution: fixed
Status: newclosed

No,

I tested just now . It's all ok.

Note: See TracTickets for help on using tickets.