AnsweredAssumed Answered

The Error of "TypeError: GPToolDialog() takes at most 1 argument (2 given)"

Question asked by fengchen19930820 on Jan 2, 2018
Latest reply on Jan 10, 2018 by curtvprice



I try to click a button that I created in python add-in to execute a model (this model is made of the script tool), the button1 is ok, but when I click the button2 or button3 on the toolbar, it has an error as the title. Below are the pictures of my code and error. 

Fig.1 code

Fig.2 error (look at the black part of error dialog, this error dialog repeats almost 50 times!)


Looking for your reply, thank you so much.