Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 19th, 2004, 01:17 AM
ryankask ryankask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 52 ryankask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 44 sec
Reputation Power: 7
IDLE will not run

When I attempt to run IDLE (on Win32), I get the standard hourglass but then it just quits on me. I have tried repairing and uninstalling but it does not fix the problem. Anyone have any idea how to solve this?

Reply With Quote
  #2  
Old June 19th, 2004, 04:18 AM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,243 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 5 h 41 m 59 sec
Reputation Power: 265
Some questions:

1) what version of Python are you running?

2) have you tried running it from the command line? It is probably throwing an exception that you won't be able to see when you double click on it.

3) can you run other Tkinter programs OK?

4) Have you installed anything that uses a different version of Tk? I had this problem after installing Ruby and had to re-install Python to get it to work.

Dave - The Developers' Coach

Reply With Quote
  #3  
Old June 19th, 2004, 09:50 AM
ryankask ryankask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 52 ryankask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 44 sec
Reputation Power: 7
It is the latest version of Python, 2.3.4. I have not run any other Tkinter programs and the command line does work. I have installed Ruby as well and the SciTE editor (I believe that is written with Tkinter) does operate just fine.

Reply With Quote
  #4  
Old June 19th, 2004, 10:36 AM
Grim Archon's Avatar
Grim Archon Grim Archon is offline
Mini me.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Cambridge, UK
Posts: 783 Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)  Folding Points: 1488 Folding Title: Novice Folder
Time spent in forums: 3 Days 2 h 15 m 57 sec
Reputation Power: 8
Send a message via MSN to Grim Archon
It was some time ago, but, the last time I installed Ruby it trashed the TCL/TK installation for my Python installation. This may be the problem you are having. (Was Ruby installed after Python?).

When you say the command line works - are you able to create a Tkinter window in the interpreter:
>>>from Tkinter import *
>>>A = Tk()

If this does not work I would recommend un-installing Ruby and re-installing python.

grim
__________________
*** Experimental Python Markup CGI V2 ***

Reply With Quote
  #5  
Old June 19th, 2004, 10:43 AM
Grim Archon's Avatar
Grim Archon Grim Archon is offline
Mini me.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Cambridge, UK
Posts: 783 Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)  Folding Points: 1488 Folding Title: Novice Folder
Time spent in forums: 3 Days 2 h 15 m 57 sec
Reputation Power: 8
Send a message via MSN to Grim Archon
SciTE is based on th Scintilla editor (you can find it bundled with wxPython) - it doesn't use Tkinter.

Last edited by Grim Archon : June 19th, 2004 at 10:46 AM.

Reply With Quote
  #6  
Old June 19th, 2004, 11:21 AM
ryankask ryankask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 52 ryankask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 44 sec
Reputation Power: 7
Grim -- I think that is in fact the problem. when I call the Tk class it gives me a bunch of errors that have paths to the Ruby installation (which was installed after Python). Thanks!

Reply With Quote
  #7  
Old June 19th, 2004, 11:26 AM
ryankask ryankask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 52 ryankask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 44 sec
Reputation Power: 7
Yup, problem solved. Thanks a lot Grim.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > IDLE will not run


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT