We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,478 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

why ipython doesnt show this error ?

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

2
Contributors
5
Replies
1 Day
Discussion Span
3 Months Ago
Last Updated
6
Views
krystosan
Junior Poster
116 posts since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Do you have PyQT/PySide installed on IronPython?

vegaseat
DaniWeb's Hypocrite
Moderator
6,478 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,612
Skill Endorsements: 37

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..

krystosan
Junior Poster
116 posts since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Which version of Python are you using?

vegaseat
DaniWeb's Hypocrite
Moderator
6,478 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,612
Skill Endorsements: 37

version 2.6

krystosan
Junior Poster
116 posts since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

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.

vegaseat
DaniWeb's Hypocrite
Moderator
6,478 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,612
Skill Endorsements: 37

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0722 seconds using 2.72MB