[PythonCAD] R25 bug

Art Haas ahaas at airmail.net
Thu Jun 2 15:30:15 CEST 2005


On Fri, May 27, 2005 at 07:59:20PM +0200, Michele Petrazzo wrote:
> I have just download the release 25, and I found these three bugs:
> 
> - when I print:
>    File 
> "/home/michele/PythonCAD-DS1-R25/PythonCAD/Interface/Gtk/gtkmenus.py", 
> line 320, in file_print_screen_cb
>      gtkprinting.print_dialog(gtkimage, _plot)
>    File 
> "/home/michele/PythonCAD-DS1-R25/PythonCAD/Interface/Gtk/gtkprinting.py", 
> line 152, in print_dialog
>      if isinstance(_size_widget, gtk.ComboBox):
> AttributeError: 'module' object has no attribute 'ComboBox'

The fix is to change this line to look like ...

if hasattr(gtk, 'ComboBox') and isinstance(_size_widget, gtk.ComboBox):

> 
> - into PythonCAD/Interface/Gtk/gtkmodify.py at line 393 there is a 
> Truee, not True

Arrgghh!!! Obviously remove the extra 'e' ...

> - I draw an object (line, circle, etc..), I select move (one of the 
> three), I select the first point to move, the second and after I select 
> no objects then the program ask me for select an object (I click two 
> times into the canvas). After I re-click for the distance (first and 
> second point), but now I click over the object, and I receive this error:
> [ ... snip ... ]

I'll try and track this down today.

After making the release last week I went out of town and was away from
my computer.

Art
-- 
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