[PythonCAD] Twenty-fourth release of PythonCAD now available

Wilbert Knol w.knol at niwa.co.nz
Wed May 4 01:44:39 CEST 2005


On Wednesday 04 May 2005 04:39, Art Haas wrote:

> > On Fri, Apr 29, 2005 at 04:51:52PM +1200, Wilbert Knol wrote:
> > > Whilst R23 worked OK, R24 causes run-time problems:

<snip>

> Here's the trivial patch that will only call this method if it is
> found. Please let me know if this patch is all that is needed to
> get the latest PythonCAD release running on your system.

Thanks Art, for the patch.

I freshly unpacked R24, patched it, and ran su -c "python setup.py install".
This is what I get when I run it up:

[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 2289, in fill_menubar
    _menu = _make_file_menu(_group, gtkimage)
  File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkmenus.py", line 1222, in _make_file_menu
    _item = _act.create_menu_item()
  File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkactions.py", line 266, in create_menu_item
    self.connect_proxy(_item)
  File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkactions.py", line 298, in connect_proxy
    self.connect_accelerator()
  File "/home/wk/Documents/src/PythonCAD-DS1-R24/PythonCAD/Interface/Gtk/gtkactions.py", line 367, in connect_accelerator
    self.__accelgroup.connect_by_path(self.__accelpath,
AttributeError: 'gtk.AccelGroup' object has no attribute 'connect_by_path'
[wk at wk PythonCAD-DS1-R24]$


Hope this is of some use....

Wilbert.


More information about the PythonCAD mailing list