[QGIS-trac] [Quantum GIS] #3025: OSM Plugin: error adding a layer

Quantum GIS qgis at qgis.org
Sun Sep 19 13:30:38 EDT 2010


#3025: OSM Plugin: error adding a layer
---------------------------------------------------------+------------------
   Reporter:  aperi2007                                  |              Owner:  borysiasty   
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings                |            Version:               
   Keywords:                                             |   Platform_version:  7            
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Adding a layer OSM using the osm plugin and the "Load OSM from file" on a
 canvas empty and with CRS set to EPSG:3003.

 It generate this error:

 ----------------------
 Errore durante l'esecuzione di codice Python:
 Traceback (most recent call last):
   File "C:/OSGeo4W/apps/qgis-dev/./python/plugins\osm\OsmPlugin.py", line
 199, in loadOsmFromFile
     self.dlgLoad=OsmLoadDlg(self)
   File "C:/OSGeo4W/apps/qgis-dev/./python/plugins\osm\OsmLoadDlg.py", line
 57, in __init__
     item.setFlags( Qt.ItemIsSelectable | Qt.ItemIsUserCheckable |
 Qt.ItemIsEnabled)
 AttributeError: 'module' object has no attribute 'ItemIsSelectable'

 Versione Python:
 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]


 Versione di QGIS:
 1.6.0-Trunk Trunk, 14244

 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-17\\pymod', 'C:\\OSGeo4W\\apps\\qgis-
 dev\\python', 'C:\\Windows\\system32\\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',
 '~/.qgis/python', 'C:\\OSGeo4W\\apps\\qgis-
 dev\\python\\plugins\\fTools\\tools']

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3025>
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