942,959 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 837
  • Python RSS
You are currently viewing page 1 of this multi-page discussion thread
Feb 9th, 2010
0

Visual Tkinter always showing run time error

Expand Post »
Hello

I am trying to use Visual Tkinter but it's giving an "Invalid procedure call" error each time I try to place something on the form and the program closes.

Screenshot of what I'm getting:
http://i48.tinypic.com/10zy5br.jpg

I'm not even able to add a simple button to the form & when I try to add it gives this error & closes.

How do I get this to work?

Thank you
Last edited by bharatk; Feb 9th, 2010 at 10:46 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
bharatk is offline Offline
33 posts
since Jan 2010
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
and also I am not able to select any items other than button & the arrow:

http://i47.tinypic.com/wlyxxw.jpg
Reputation Points: 10
Solved Threads: 0
Light Poster
bharatk is offline Offline
33 posts
since Jan 2010
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
You are working with a version 0.0.115 beta. You should probably consider using another IDE, unless you want to join the Visual Tkinter team.
Reputation Points: 927
Solved Threads: 666
Posting Maven
Gribouillis is offline Offline
2,653 posts
since Jul 2008
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
I tired out all their versions listed here: http://code.google.com/p/visualtkinter/downloads/list

But every version gives the same error. I think there is no stable version yet.

I just wanted a IDE in which I could develop like developing in Visual Basic.

Is there anything like that for tkinter?
Reputation Points: 10
Solved Threads: 0
Light Poster
bharatk is offline Offline
33 posts
since Jan 2010
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
IMHO, Tkinter GUI code is too simple to write to warrant a visual approach. It's so much easier to build yourself a few Tkinter code templates and go with that.

BTW, code produced by Visual Tkinter doesn't seem to follow any Python syntax guidelines.
Last edited by vegaseat; Feb 9th, 2010 at 12:00 pm.
Moderator
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
vegaseat is offline Offline
5,789 posts
since Oct 2004
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
Click to Expand / Collapse  Quote originally posted by vegaseat ...
IMHO, Tkinter GUI code is too simple to write to warrant a visual approach. It's so much easier to build yourself a few Tkinter code templates and go with that.

BTW, code produced by Visual Tkinter doesn't seem to follow any Python syntax guidelines.
ok.. I wanted an IDE like that coz I am a absolute beginner in python programming and was too used to using Visual Studio.
Guess I'd find coding in tkinter easier as I go.

Thank you for the replies.
Reputation Points: 10
Solved Threads: 0
Light Poster
bharatk is offline Offline
33 posts
since Jan 2010
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
Click to Expand / Collapse  Quote originally posted by bharatk ...
ok.. I wanted an IDE like that coz I am a absolute beginner in python programming and was too used to using Visual Studio.
Guess I'd find coding in tkinter easier as I go.

Thank you for the replies.
If you are an absolute beginner, use only robust and well known IDEs. Idle is a good first choice.
Reputation Points: 927
Solved Threads: 666
Posting Maven
Gribouillis is offline Offline
2,653 posts
since Jul 2008
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
See also this page.
Reputation Points: 927
Solved Threads: 666
Posting Maven
Gribouillis is offline Offline
2,653 posts
since Jul 2008
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
I am right now using Netbeans IDE & Wing IDE. These appear more friednly than IDLE.
I wanted an IDE where I could just drag and drop buttons & text boxes like in visual basic,instead of coding them.
I guess I'll have to only write the code for the GUI elements.
Reputation Points: 10
Solved Threads: 0
Light Poster
bharatk is offline Offline
33 posts
since Jan 2010
Feb 9th, 2010
0
Re: Visual Tkinter always showing run time error
If you want to use drag and drop to design your widget layout then the PyQT GUI toolkit comes with QTdesigner, see:
http://www.daniweb.com/forums/post11...ml#post1108430

The wxPython GUI toolkit can use BOA constructor, see:
http://www.daniweb.com/forums/post40...tml#post400296

Another nice drag and drop utility for wxPython is wxGlade.
Last edited by Ene Uran; Feb 9th, 2010 at 5:11 pm.
Reputation Points: 625
Solved Threads: 211
Posting Virtuoso
Ene Uran is offline Offline
1,704 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Reading data from .asc files starting at a specific line
Next Thread in Python Forum Timeline: Python Drawing Portion of Image When Mouse Hover





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC