Crashing Python interpreter! (windows XP, python2.3.4, 2.3.5rc1, 2.4.0)

Leeuw van der, Tim tim.leeuwvander at nl.unisys.com
Wed Feb 2 12:32:53 EST 2005


Hi all,

I can use this version of gtk and PyGtk to run simple programs. There seems to be no problem with the code-completion in PythonWin.
I can do: dir(gtk) without problems after importing the gtk module of PyGtk, when I use idle or console. (Python version for this test: python2.4, python 2.3.5rc1)

I already knew that I could run simple PyGtk programs with this combination of Python, PyGtk, and Gtk. Also knew already, that the code completion in the PythonWin IDE works.
The crash comes when invoked from pydev under eclipse. So I can't remove them from the equation (I mentioned the problem also on the Pydev Sourceforge-forum, but decided to post here since it's the interpreter crashing).

It's the "send/don't send" type of error box, so I choose "don't send" at that point since that will only send crash info to Microsoft... no point in that! :-)

It could of course be a problem in the GTK DLLs and I haven't yet had time to test with older GTK versions. Hopefully I can try that tomorrow.

cheers,

--Tim


-----Original Message-----
From: python-list-bounces+tim.leeuwvander=nl.unisys.com at python.org [mailto:python-list-bounces+tim.leeuwvander=nl.unisys.com at python.org]On Behalf Of Stefan Behnel
Sent: Wednesday, February 02, 2005 3:59 PM
To: python-list at python.org
Subject: Re: Crashing Python interpreter! (windows XP, python2.3.4, 2.3.5rc1, 2.4.0)



Leeuw van der, Tim schrieb:
> I'm using the following combination of software:
> - Pydev Eclipse plugin (pydev 0.8.5)
> - eclipse 3.0.1 
> - windows XP SP1
> - pygtk 2.4.1
> - GTK 2.6.1 (for windows32 native)

First of all, try tightening the field. Are all of these packages needed to 
reproduce the error? Try to start the interpreter in a command line window and 
see if it happens there, too. That eliminates Eclipse.


> When trying to get a list of possible completions for the 'gtk' import object, the python interpreter crashes. Happens with all versions listed in the subject: python 2.3.4, 2.3.5rc1, 2.4.0.

Might be a problem with GTK for Windows, I don't know.

Type
import gtk
Does that crash? Or is it something like
dir(gtk)

Try different versions of GTK and pygtk. Look at the pygtk homepage to see 
which combination is known to work.

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list