Skip to content Skip to sidebar Skip to footer

Python Typeerror: __init__() Takes Exactly 4 Arguments (1 Given)

I am working with python plugins for QGIS.I am using python2.5 and pyqt4 .My init method takes 4 argument.When i am trying to display form using window = DlgQueryBuilder() ,m pas

Solution 1:

You need to pass the db, iface and parent arguments, as defined in your __init__ method declaration.


Post a Comment for "Python Typeerror: __init__() Takes Exactly 4 Arguments (1 Given)"