Hello,

I also got hit by this bug. The bug is present in python-wxglade
(0.3.5.cvs20050824-0.2ubuntu1) from Ubuntu Dapper but is not present
in python-wxglade (0.4.1-1) from Debian sid.

I can easily reproduce it using the attached sample project.

1. open the project
2. (try to) quit wxglade

wxglade does not quit and display on stderr:
Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/wxglade/main.py", line 732, in cleanup
   common.app_tree.clear()
 File "/usr/lib/python2.4/site-packages/wxglade/tree.py", line 348, in clear
   if c.widget: c.widget.remove()
 File "/usr/lib/python2.4/site-packages/wxglade/widgets/frame/frame.py",
line 363, in remove
   self.statusbar = self.statusbar.remove(do_nothing=True)
 File "/usr/lib/python2.4/site-packages/wxglade/widgets/frame/frame.py",
line 112, in remove
   self.widget.Reparent(EditStatusBar._hidden_frame)
AttributeError: 'NoneType' object has no attribute 'Reparent'

If you explore the project you note that the menubar has disapeared.

I think you can close the bug now.

Bye,

--
Dr. Ludovic Rousseau

Attachment: bug.wxg
Description: Binary data

Reply via email to