[PythonCAD] Twenty-fourth release of PythonCAD now available

Art Haas ahaas at airmail.net
Mon May 2 23:50:07 CEST 2005

On Fri, Apr 29, 2005 at 04:51:52PM +1200, Wilbert Knol wrote:
> Whilst R23 worked OK, R24 causes run-time problems:
> (best viewed without word-wrap..)
> [wk at wk PythonCAD-DS1-R24]$ ./gtkpycad.py
> Traceback (most recent call last):
>   File "./gtkpycad.py", line 350, in ?
>     main()
>   File "./gtkpycad.py", line 328, in main
>     _image = GTKImage()
>   File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkimage.py", line 419, in __init__
>     self.__mdict = fill_menubar(self.__mb, self)
>   File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkmenus.py", line 2287, in fill_menubar
>     _act.connect_proxy(_item)
>   File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkactions.py", line 294, in connect_proxy
>     widget.set_no_show_all(True)
> AttributeError: 'gtk.MenuItem' object has no attribute 'set_no_show_all'
> [wk at wk PythonCAD-DS1-R24]$
> My system is probably to blame; it has been butchered around a bit.


No, this is a bug in that the code uses the 'set_no_show_all' method
which is not available in older PyGTK releases. I'll fix this up
probably with a hasattr() test and post a simple patch, but it will need
testing, and possibly/probably other bugs of this nature may turn up.

Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822

More information about the PythonCAD mailing list