Opened 14 years ago
Closed 14 years ago
#3025 closed bug (fixed)
OSM Plugin: error adding a 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: | |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | 7 | Awaiting user input: | no |
Description
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']
Change History (2)
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Hi,
I had the same problem/message (see #3076) but I've just recompiled and now it all works fine. Reopen if necessary.