Comment 4 for bug 630919

Revision history for this message
Tjelvar Olsson (tjelvaro) wrote : RE: [Bug 630919] Re: DreamPie crash on typing "for i in range("

Hi Noam,

You were right.

>>> import gtk
>>> eb = gtk.EventBox()
>>> eb.get_window()
Traceback (most recent call last):
  File "", line 1, in
AttributeError: 'gtk.EventBox' object has no attribute 'get_window'

Not sure where to report the bug. I'm running Debian 5 (Lenny). The version of gtk seems to be 2.0.

$ pydoc gtk
Help on package gtk:

NAME
    gtk

FILE
    /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py
...

Cheers,

Tjelvar

> Date: Mon, 6 Sep 2010 14:38:19 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 630919] Re: DreamPie crash on typing "for i in range("
>
> Hi Tjelvar,
>
> Thanks.
>
> Can you try to run this, and say what happens?
>
> > python
> >>> import gtk
> >>> eb = gtk.EventBox()
> >>> eb.get_window()
>
> I expect an AttributeError, where what I get on my system (Ubuntu 10.04)
> is nothing (the method returns None.) If I'm correct, this is a bug in
> PyGTK on your system, that should be reported, and perhaps worked around
> in DreamPie.
>
> --
> DreamPie crash on typing "for i in range("
> https://bugs.launchpad.net/bugs/630919
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in DreamPie - The Python shell you've always dreamed about!: Incomplete
>
> Bug description:
> Variables:
> File "/home/tolsson/source/dreampie/dreampie-1.1/dreampielib/gui/call_tip_window.py", line 184, on_resizegrip_event(self=<dreampi...x8a6a70c>, _widget=<gtk.Eve...89aaca8)>, event=<GdkEven...bf8117a0>)
> {'win': []}
>
> Traceback (most recent call last):
> File "/home/tolsson/source/dreampie/dreampie-1.1/dreampielib/gui/call_tip_window.py", line 184, in on_resizegrip_event
> win = rg.get_window()
> AttributeError: 'gtk.EventBox' object has no attribute 'get_window'
>
> Using Debian 5 (Lenny). DreamPie installed from source code using 'python setup.py install'.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/dreampie/+bug/630919/+subscribe