[QGIS-trac] [Quantum GIS] #1940: OpenStreetMap plugin - getMainWindow

Quantum GIS qgis at qgis.org
Mon Sep 21 01:12:05 EDT 2009


#1940: OpenStreetMap plugin - getMainWindow
---------------------------------------------------------+------------------
   Reporter:  enzopolo                                   |              Owner:  borysiasty   
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  Python plugins and bindings                |            Version:  1.3.0        
   Keywords:  openstreetmap                              |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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'

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