with python interpreter
E:\Dropbox\Research_Study\myprojects\Batch>python Render.py

Traceback (most recent call last):                             
  File "Render.py", line 801, in <module>                      
    else: run()                                                
  File "Render.py", line 789, in run                           
    win = Window()                                             
  File "Render.py", line 66, in __init__                       
    self.createUI()                                            
  File "Render.py", line 314, in createUI                      
    self.sfEdt.setValidator(QtGui.QIntValidator())             
TypeError: arguments did not match any overloaded call:        
  QIntValidator(QObject): not enough arguments                 
  QIntValidator(int, int, QObject): not enough arguments 

with iron python interpreter..
E:\Dropbox\Research_Study\myprojects\Batch>ipython Render.py

Recommended Answers

All 5 Replies

Do you have PyQT/PySide installed on IronPython?

yes i have PyQt installed on IronPython, and thats where it works but it doesnt work with python interpreter... but if i try to run with pythonw anyPyQtApp.py it works fine..

Which version of Python are you using?

version 2.6

You may be using a very old version of PyQT/PySide?

Not sure why one would use PyQT with IronPython, since it's advantage is the use of the GUI code built into MS .NET.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.