[QGIS-trac] [Quantum GIS] #2828: Strange OSM Plugin Error removing layer

Quantum GIS qgis at qgis.org
Mon Jun 21 13:45:13 EDT 2010


#2828: Strange OSM Plugin Error removing layer
------------------------------------------------+---------------------------
   Reporter:  aperi2007                         |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Python plugins and bindings       |            Version:  HEAD         
   Keywords:                                    |   Platform_version:  7            
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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']

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2828>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list