Opened 15 years ago

Closed 15 years ago

#1940 closed bug (invalid)

OpenStreetMap plugin - getMainWindow

Reported by: enzopolo Owned by: borysiasty
Priority: critical: causes crash or data corruption Milestone: Version 1.4.0
Component: Python plugins and bindings Version: 1.3.0
Keywords: openstreetmap Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

I would like to test the OpenStreetMap plugin with QGis 1.3.0 (11643:11644) . It occurs the following python error: Traceback (most recent call last):

File "", line 1, in File "C:/Users/enzo/.qgis//python/plugins\osm\plugin.py", line 20, in initGui

self.action = QAction(QIcon(":/plugins/osm/osm.png"), "OSM", self.iface.getMainWindow())

AttributeError: 'QgisInterface' object has no attribute 'getMainWindow'

Change History (1)

comment:1 by jef, 15 years ago

Resolution: invalid
Status: newclosed

You are trying to use an old version of the osm plugin. Remove C:/Users/enzo/.qgis//python/plugins\osm to use the one that ships with 1.3.

Note: See TracTickets for help on using tickets.