That rooted out the problem. A while ago, I changed the colors to kind of match my VIM color theme(ps_color). When I did idlelib.PyShell.main(), IDLE came up with my custom color theme. However, there was a bunch of warnings about my theme. From IDLE, I deleted the theme. Now IDLE will launch normally. I'll set up the color theme later. Maybe older color themes aren't compatible with the newer IDLE? The color theme must have been laying around. I didn't brute force it in or anything like that.

I appreciate the help.

Mike

Danny Yoo wrote:



Yowza; that's some bug. Danny, do you happen to know the bug number?
I can't find it on sourceforge.


It's been like that since 2.3 as far as I know. It generates a
connection to localhost to run code in a separate environment.



Hi Mike,

I wish I knew what the problem was in better detail.  IDLE is a
part of the Standard Library, so it's actually possible to try turning on
individual pieces of it, one after the other.  Maybe that will help us
debug what's going on.

Start up your console version of Python, and try:

###


import idlelib.PyShell
idlelib.PyShell.main()


###

That should start IDLE up manually, and if anything bad happens, at least
we should see some errors pop up that will help us debug the situation.
Let's make sure this doesn't fail quietly.  *grin*


Good luck to you!



_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to