[QGIS-Developer] Adding WMS and WFS from Metasearch fails in Q3

Paolo Cavallini cavallini at faunalia.it
Sun Jul 16 07:38:59 PDT 2017


For WFS:

AttributeError: 'QMainWindow' object has no attribute 'addWfsLayer'
Traceback (most recent call last):
  File
"/usr/local/src/qgis/QGIS/build_qgis3/output/python/plugins/MetaSearch/dialogs/maindialog.py",
line 781, in add_to_ows
    ows_provider.addWfsLayer.connect(self.iface.mainWindow().addWfsLayer)
AttributeError: 'QMainWindow' object has no attribute 'addWfsLayer'

For WMS, the WMS dialog is opened, but a new recod is not added to the list.

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the QGIS-Developer mailing list